Read

chevron-rightApprovedTokenshashtag
ApprovedTokens() returns(address[])

Returns the list of tokens which can be exchanged against 1XMM, directly via the smart contract.

chevron-rightETHDepositIsAllowedhashtag
ETHDepositIsAllowed() returns(bool)

Returns whether deposits of ETH against 1XMM is allowed or not.

chevron-rightETHExchangeIsAllowedhashtag
ETHExchangeIsAllowed() returns(bool)

Returns whether it is allowed to exchange 1XMM tokens against ETH, directly via the smart contract.

chevron-rightEthExchangeRatehashtag
EthExchangeRate() returns(uint64)

Returns the exchange ETH/1XMM rate for users who want to convert their 1XMM tokens into ETH.

The rate is provided in basis points (bp)

chevron-rightallowancehashtag
allowance(address owner, address spender) returns(uint256)

Returns the allowance provided by owner to spender .

chevron-rightavailableTokenshashtag
availableTokens() returns(uint256)

Returns the number of 1XMM tokens which have not been allocated yet.

availableTokens = cap() - totalSupply()

chevron-rightbalanceOfhashtag

Returns the number of 1XMM tokens held by account .

1XMM has 18 decimals

chevron-rightcaphashtag

Returns the maximum number of tokens which can be allocated. When tokens are burnt, cap is decreased and can never be increased again.

chevron-rightdecimalshashtag

Returns the number of decimals used by 1XMM tokens; decimals field is immutable and always equal to 18.

chevron-rightgetApprovedTokenshashtag

Returns the list of tokens which have been approved for exchange against 1XMM tokens.

chevron-rightgetAvailableQuantityOfETHhashtag

Returns the amount of ETH which is available for exchange against 1XMM tokens, at ETHExchangeRate price.

chevron-rightgetAvailableQuantityOfTokenhashtag

Returns the amount of tokenToBeReceived which are available for exchange against 1XMM tokens, at rate price.

chevron-rightgetCCIPAdminhashtag

Returns the address of the ChainLink CCIPAdmin in charge of cross-chain transfers for 1XMM tokens.

chevron-rightgetExchangeInfoForTokenhashtag

Returns the exchange status for tokenToBeReceived against 1XMM tokens, and the rate of exchange. If isAllowed is false, exchange of tokenToBeReceived against 1XMM is not possible, even if a rate is indicated.

chevron-rightgetReleasableAmounthashtag

Returns the amount of vested tokens owned by msg.sender which are available for trading.

chevron-rightgetRemainingVestedAmounthashtag

Returns the amount of 1XMM tokens which are still vested.

chevron-rightownerhashtag

Returns the address of the 1XMM contract owner.

chevron-righttotalSupplyhashtag

Returns the amount of 1XMM tokens which have been allocated.

Last updated