Skip to content

A collection of Solidity wrapper contracts emulating common ERC interfaces to grant access to runtime features on Pendulum.

License

Notifications You must be signed in to change notification settings

pendulum-chain/pendulum-solidity-wrapper

Repository files navigation

Pendulum-Solidity Wrappers

A collection of contracts written in Solidity and compiled to WASM using Solang compiler for deployment on the Contracts pallet.

These contracts implement well know interfaces (IERC20, IPriceOracleGetter), but the novel feature is the ability to call Pendulum's chain extensions which allows them to interact with the logic of the pallets. Notably, fetching latest price of assets from the chain and interactions with the tokens pallet.

Please see 'docs' for a more information.

For information about compiling the contracts, see the README file on each contract directory.

About

A collection of Solidity wrapper contracts emulating common ERC interfaces to grant access to runtime features on Pendulum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published