tezos-checker / checker

An in-development "robocoin" system for the Tezos blockchain
25 stars 16 forks source link

Add FA2 contract which wraps ctez #286

Closed dorranh closed 2 years ago

dorranh commented 2 years ago

Addresses #279 by implementing an FA2 contract which issues wrapped ctez tokens (wctez). This can then be used directly in Checker's CFMM to enable uniform internal operations for both the tez collateral case (which will use wctez) and general FA2 collateral.

github-actions[bot] commented 2 years ago
Gas costs f0f5ed5c2d40a09d0da87ac83eb0565402ba0735 0db17523510f8fb18b437455eb3666ebd29a4414 Diff
wctez%mint None 9021 9021
wctez%redeem None 8550 8550
wctez%transfer None 4797 4797
wctez%update_operators None 3339 3339

Entrypoint sizes: No change. Test coverage: No change.