IOceanToken.sol
Github Link: https://github.com/Shell-Protocol/Shell-Protocol/blob/main/src/ocean/IOceanToken.sol
registerNewTokens()
Parameter Name | Type | Description |
---|---|---|
currentNumberOfTokens | unit256 | current number of tokens as a starting nonce |
numberOfAdditionalTokens | unit256 | the number of new tokens to be registered |
This function creates native tokens for Ocean Primitives. It can be invoked anytime, but Ocean Primitives always invoke it upon creation first.
It is implemented by the OceanERC1155.sol
which is inherited by the actual Ocean implementation Ocean.sol
. In order to call it you should pass Ocean address to the interface like in the example below:
Last updated