Smart Contracts

Smart contracts for RenVM deployed on Ethereum.

For links to darknode contracts and all contract ABIs, click here.

Contracts can be used a node project by importing @renproject/sol.

Please note thatbalanceOfUnderlyingonRenERC20contracts returns the balance of the underlying asset for a given address. Minting accepts the underlying amount of an asset and mints a scaled amount of RenERC20. Burning accepts a scaled amount of RenERC20 and outputs a burn event with the underlying asset amount.

This mechanism exists for the purposes of implementing continuous fees if and when Darknode governance chooses to enact the feature at some point in the future.