MasaToken
MasaToken
MasaToken is a LayerZero OFT contract for Masa Token on Ethereum chain
Methods
DEFAULT_ADMIN_ROLE
function DEFAULT_ADMIN_ROLE() external view returns (bytes32)
Returns
Name | Type | Description |
---|
_0 | bytes32 | undefined |
MINTER_ROLE
function MINTER_ROLE() external view returns (bytes32)
Returns
Name | Type | Description |
---|
_0 | bytes32 | undefined |
PAUSER_ROLE
function PAUSER_ROLE() external view returns (bytes32)
Returns
Name | Type | Description |
---|
_0 | bytes32 | undefined |
SEND
function SEND() external view returns (uint16)
Returns
Name | Type | Description |
---|
_0 | uint16 | undefined |
SEND_AND_CALL
function SEND_AND_CALL() external view returns (uint16)
Returns
Name | Type | Description |
---|
_0 | uint16 | undefined |
allowInitializePath
function allowInitializePath(Origin origin) external view returns (bool)
Parameters
Name | Type | Description |
---|
origin | Origin | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
allowance
function allowance(address owner, address spender) external view returns (uint256)
See {IERC20-allowance}.
Parameters
Name | Type | Description |
---|
owner | address | undefined |
spender | address | undefined |
Returns
Name | Type | Description |
---|
_0 | uint256 | undefined |
approvalRequired
function approvalRequired() external pure returns (bool)
Indicates whether the OFT contract requires approval of the 'token()' to send.
In the case of OFT where the contract IS the token, approval is NOT required.
Returns
Name | Type | Description |
---|
_0 | bool | requiresApproval Needs approval of the underlying token implementation. |
approve
function approve(address spender, uint256 amount) external nonpayable returns (bool)
See {IERC20-approve}. NOTE: If amount
is the maximum uint256
, the allowance is not updated on transferFrom
. This is semantically equivalent to an infinite approval. Requirements: - spender
cannot be the zero address.
Parameters
Name | Type | Description |
---|
spender | address | undefined |
amount | uint256 | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
balanceOf
function balanceOf(address account) external view returns (uint256)
See {IERC20-balanceOf}.
Parameters
Name | Type | Description |
---|
account | address | undefined |
Returns
Name | Type | Description |
---|
_0 | uint256 | undefined |
burn
function burn(uint256 amount) external nonpayable
Destroys amount
tokens from the caller. See {ERC20-_burn}.
Parameters
Name | Type | Description |
---|
amount | uint256 | undefined |
burnFrom
function burnFrom(address account, uint256 amount) external nonpayable
Destroys amount
tokens from account
, deducting from the caller's allowance. See {ERC20-_burn} and {ERC20-allowance}. Requirements: - the caller must have allowance for accounts
's tokens of at least amount
.
Parameters
Name | Type | Description |
---|
account | address | undefined |
amount | uint256 | undefined |
combineOptions
function combineOptions(uint32 _eid, uint16 _msgType, bytes _extraOptions) external view returns (bytes)
Combines options for a given endpoint and message type.
If there is an enforced lzReceive option: - {gasLimit: 200k, msg.value: 1 ether} AND a caller supplies a lzReceive option: {gasLimit: 100k, msg.value: 0.5 ether} - The resulting options will be {gasLimit: 300k, msg.value: 1.5 ether} when the message is executed on the remote lzReceive() function.This presence of duplicated options is handled off-chain in the verifier/executor.
Parameters
Name | Type | Description |
---|
_eid | uint32 | The endpoint ID. |
_msgType | uint16 | The OAPP message type. |
_extraOptions | bytes | Additional options passed by the caller. |
Returns
Name | Type | Description |
---|
_0 | bytes | options The combination of caller specified options AND enforced options. |
decimalConversionRate
function decimalConversionRate() external view returns (uint256)
Returns
Name | Type | Description |
---|
_0 | uint256 | undefined |
decimals
function decimals() external view returns (uint8)
Returns the number of decimals used to get its user representation. For example, if decimals
equals 2
, a balance of 505
tokens should be displayed to a user as 5.05
(505 / 10 ** 2
). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for display purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.
Returns
Name | Type | Description |
---|
_0 | uint8 | undefined |
decreaseAllowance
function decreaseAllowance(address spender, uint256 subtractedValue) external nonpayable returns (bool)
Atomically decreases the allowance granted to spender
by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - spender
cannot be the zero address. - spender
must have allowance for the caller of at least subtractedValue
.
Parameters
Name | Type | Description |
---|
spender | address | undefined |
subtractedValue | uint256 | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
endpoint
function endpoint() external view returns (contract ILayerZeroEndpointV2)
Retrieves the LayerZero endpoint associated with the OApp.
Returns
Name | Type | Description |
---|
_0 | contract ILayerZeroEndpointV2 | undefined |
enforcedOptions
function enforcedOptions(uint32 eid, uint16 msgType) external view returns (bytes enforcedOption)
Parameters
Name | Type | Description |
---|
eid | uint32 | undefined |
msgType | uint16 | undefined |
Returns
Name | Type | Description |
---|
enforcedOption | bytes | undefined |
getRoleAdmin
function getRoleAdmin(bytes32 role) external view returns (bytes32)
Returns the admin role that controls role
. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.
Parameters
Name | Type | Description |
---|
role | bytes32 | undefined |
Returns
Name | Type | Description |
---|
_0 | bytes32 | undefined |
getRoleMember
function getRoleMember(bytes32 role, uint256 index) external view returns (address)
Returns one of the accounts that have role
. index
must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.
Parameters
Name | Type | Description |
---|
role | bytes32 | undefined |
index | uint256 | undefined |
Returns
Name | Type | Description |
---|
_0 | address | undefined |
getRoleMemberCount
function getRoleMemberCount(bytes32 role) external view returns (uint256)
Returns the number of accounts that have role
. Can be used together with {getRoleMember} to enumerate all bearers of a role.
Parameters
Name | Type | Description |
---|
role | bytes32 | undefined |
Returns
Name | Type | Description |
---|
_0 | uint256 | undefined |
grantRole
function grantRole(bytes32 role, address account) external nonpayable
Grants role
to account
. If account
had not been already granted role
, emits a {RoleGranted} event. Requirements: - the caller must have role
's admin role. May emit a {RoleGranted} event.
Parameters
Name | Type | Description |
---|
role | bytes32 | undefined |
account | address | undefined |
hasRole
function hasRole(bytes32 role, address account) external view returns (bool)
Returns true
if account
has been granted role
.
Parameters
Name | Type | Description |
---|
role | bytes32 | undefined |
account | address | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
increaseAllowance
function increaseAllowance(address spender, uint256 addedValue) external nonpayable returns (bool)
Atomically increases the allowance granted to spender
by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - spender
cannot be the zero address.
Parameters
Name | Type | Description |
---|
spender | address | undefined |
addedValue | uint256 | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
isComposeMsgSender
function isComposeMsgSender(Origin, bytes, address _sender) external view returns (bool)
Parameters
Name | Type | Description |
---|
_0 | Origin | undefined |
_1 | bytes | undefined |
_sender | address | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
isPeer
function isPeer(uint32 _eid, bytes32 _peer) external view returns (bool)
Check if the peer is considered 'trusted' by the OApp.Enables OAppPreCrimeSimulator to check whether a potential Inbound Packet is from a trusted source.
Parameters
Name | Type | Description |
---|
_eid | uint32 | The endpoint ID to check. |
_peer | bytes32 | The peer to check. |
Returns
Name | Type | Description |
---|
_0 | bool | Whether the peer passed is considered 'trusted' by the OApp. |
lzReceive
function lzReceive(Origin _origin, bytes32 _guid, bytes _message, address _executor, bytes _extraData) external payable
Parameters
Name | Type | Description |
---|
_origin | Origin | undefined |
_guid | bytes32 | undefined |
_message | bytes | undefined |
_executor | address | undefined |
_extraData | bytes | undefined |
lzReceiveAndRevert
function lzReceiveAndRevert(InboundPacket[] _packets) external payable
Parameters
Name | Type | Description |
---|
_packets | InboundPacket[] | undefined |
lzReceiveSimulate
function lzReceiveSimulate(Origin _origin, bytes32 _guid, bytes _message, address _executor, bytes _extraData) external payable
Parameters
Name | Type | Description |
---|
_origin | Origin | undefined |
_guid | bytes32 | undefined |
_message | bytes | undefined |
_executor | address | undefined |
_extraData | bytes | undefined |
mint
function mint(address to, uint256 amount) external nonpayable
Creates amount
new tokens for to
. See {ERC20-_mint}. Requirements: - the caller must have the MINTER_ROLE
.
Parameters
Name | Type | Description |
---|
to | address | undefined |
amount | uint256 | undefined |
msgInspector
function msgInspector() external view returns (address)
Returns
Name | Type | Description |
---|
_0 | address | undefined |
name
function name() external view returns (string)
Returns the name of the token.
Returns
Name | Type | Description |
---|
_0 | string | undefined |
nextNonce
function nextNonce(uint32, bytes32) external view returns (uint64 nonce)
Retrieves the next nonce for a given source endpoint and sender address.
_srcEid The source endpoint ID._sender The sender address.The path nonce starts from 1. If 0 is returned it means that there is NO nonce ordered enforcement.Is required by the off-chain executor to determine the OApp expects msg execution is ordered.This is also enforced by the OApp.By default this is NOT enabled. ie. nextNonce is hardcoded to return 0.
Parameters
Name | Type | Description |
---|
_0 | uint32 | undefined |
_1 | bytes32 | undefined |
Returns
Name | Type | Description |
---|
nonce | uint64 | The next nonce. |
oApp
function oApp() external view returns (address)
Retrieves the address of the OApp contract.The simulator contract is the base contract for the OApp by default.If the simulator is a separate contract, override this function.
Returns
Name | Type | Description |
---|
_0 | address | The address of the OApp contract. |
oAppVersion
function oAppVersion() external pure returns (uint64 senderVersion, uint64 receiverVersion)
Retrieves the OApp version information.
Returns
Name | Type | Description |
---|
senderVersion | uint64 | The version of the OAppSender.sol implementation. |
receiverVersion | uint64 | The version of the OAppReceiver.sol implementation. |
oftVersion
function oftVersion() external pure returns (bytes4 interfaceId, uint64 version)
Retrieves interfaceID and the version of the OFT.
interfaceId: This specific interface ID is '0x02e49c2c'.version: Indicates a cross-chain compatible msg encoding with other OFTs.If a new feature is added to the OFT cross-chain msg encoding, the version will be incremented. ie. localOFT version(x,1) CAN send messages to remoteOFT version(x,1)
Returns
Name | Type | Description |
---|
interfaceId | bytes4 | The interface ID. |
version | uint64 | The version. |
owner
function owner() external view returns (address)
Returns the address of the current owner.
Returns
Name | Type | Description |
---|
_0 | address | undefined |
pause
function pause() external nonpayable
Pauses all token transfers. See {ERC20Pausable} and {Pausable-_pause}. Requirements: - the caller must have the PAUSER_ROLE
.
paused
function paused() external view returns (bool)
Returns true if the contract is paused, and false otherwise.
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
peers
function peers(uint32 eid) external view returns (bytes32 peer)
Retrieves the peer (OApp) associated with a corresponding endpoint.
Parameters
Name | Type | Description |
---|
eid | uint32 | undefined |
Returns
Name | Type | Description |
---|
peer | bytes32 | undefined |
preCrime
function preCrime() external view returns (address)
Returns
Name | Type | Description |
---|
_0 | address | undefined |
quoteOFT
function quoteOFT(SendParam _sendParam) external view returns (struct OFTLimit oftLimit, struct OFTFeeDetail[] oftFeeDetails, struct OFTReceipt oftReceipt)
Parameters
Name | Type | Description |
---|
_sendParam | SendParam | undefined |
Returns
Name | Type | Description |
---|
oftLimit | OFTLimit | undefined |
oftFeeDetails | OFTFeeDetail[] | undefined |
oftReceipt | OFTReceipt | undefined |
quoteSend
function quoteSend(SendParam _sendParam, bool _payInLzToken) external view returns (struct MessagingFee msgFee)
Parameters
Name | Type | Description |
---|
_sendParam | SendParam | undefined |
_payInLzToken | bool | undefined |
Returns
Name | Type | Description |
---|
msgFee | MessagingFee | undefined |
renounceOwnership
function renounceOwnership() external nonpayable
Leaves the contract without owner. It will not be possible to call onlyOwner
functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.
renounceRole
function renounceRole(bytes32 role, address account) external nonpayable
Revokes role
from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked role
, emits a {RoleRevoked} event. Requirements: - the caller must be account
. May emit a {RoleRevoked} event.
Parameters
Name | Type | Description |
---|
role | bytes32 | undefined |
account | address | undefined |
revokeRole
function revokeRole(bytes32 role, address account) external nonpayable
Revokes role
from account
. If account
had been granted role
, emits a {RoleRevoked} event. Requirements: - the caller must have role
's admin role. May emit a {RoleRevoked} event.
Parameters
Name | Type | Description |
---|
role | bytes32 | undefined |
account | address | undefined |
send
function send(SendParam _sendParam, MessagingFee _fee, address _refundAddress) external payable returns (struct MessagingReceipt msgReceipt, struct OFTReceipt oftReceipt)
Parameters
Name | Type | Description |
---|
_sendParam | SendParam | undefined |
_fee | MessagingFee | undefined |
_refundAddress | address | undefined |
Returns
Name | Type | Description |
---|
msgReceipt | MessagingReceipt | undefined |
oftReceipt | OFTReceipt | undefined |
setDelegate
function setDelegate(address _delegate) external nonpayable
Sets the delegate address for the OApp.
Only the owner/admin of the OApp can call this function.Provides the ability for a delegate to set configs, on behalf of the OApp, directly on the Endpoint contract.
Parameters
Name | Type | Description |
---|
_delegate | address | The address of the delegate to be set. |
setEnforcedOptions
function setEnforcedOptions(EnforcedOptionParam[] _enforcedOptions) external nonpayable
Parameters
Name | Type | Description |
---|
_enforcedOptions | EnforcedOptionParam[] | undefined |
setMsgInspector
function setMsgInspector(address _msgInspector) external nonpayable
Sets the message inspector address for the OFT.This is an optional contract that can be used to inspect both 'message' and 'options'.Set it to address(0) to disable it, or set it to a contract address to enable it.
Parameters
Name | Type | Description |
---|
_msgInspector | address | The address of the message inspector. |
setPeer
function setPeer(uint32 _eid, bytes32 _peer) external nonpayable
Sets the peer address (OApp instance) for a corresponding endpoint.
Only the owner/admin of the OApp can call this function.Indicates that the peer is trusted to send LayerZero messages to this OApp.Set this to bytes32(0) to remove the peer address.Peer is a bytes32 to accommodate non-evm chains.
Parameters
Name | Type | Description |
---|
_eid | uint32 | The endpoint ID. |
_peer | bytes32 | The address of the peer to be associated with the corresponding endpoint. |
setPreCrime
function setPreCrime(address _preCrime) external nonpayable
Sets the preCrime contract address.
Parameters
Name | Type | Description |
---|
_preCrime | address | The address of the preCrime contract. |
sharedDecimals
function sharedDecimals() external view returns (uint8)
Retrieves the shared decimals of the OFT.Sets an implicit cap on the amount of tokens, over uint64.max() will need some sort of outbound cap / totalSupply cap Lowest common decimal denominator between chains. Defaults to 6 decimal places to provide up to 18,446,744,073,709.551615 units (max uint64). For tokens exceeding this totalSupply(), they will need to override the sharedDecimals function with something smaller. ie. 4 sharedDecimals would be 1,844,674,407,370,955.1615
Returns
Name | Type | Description |
---|
_0 | uint8 | The shared decimals of the OFT. |
supportsInterface
function supportsInterface(bytes4 interfaceId) external view returns (bool)
See {IERC165-supportsInterface}.
Parameters
Name | Type | Description |
---|
interfaceId | bytes4 | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
symbol
function symbol() external view returns (string)
Returns the symbol of the token, usually a shorter version of the name.
Returns
Name | Type | Description |
---|
_0 | string | undefined |
token
function token() external view returns (address)
Retrieves the address of the underlying ERC20 implementation.In the case of OFT, address(this) and erc20 are the same contract.
Returns
Name | Type | Description |
---|
_0 | address | The address of the OFT token. |
totalSupply
function totalSupply() external view returns (uint256)
See {IERC20-totalSupply}.
Returns
Name | Type | Description |
---|
_0 | uint256 | undefined |
transfer
function transfer(address to, uint256 amount) external nonpayable returns (bool)
See {IERC20-transfer}. Requirements: - to
cannot be the zero address. - the caller must have a balance of at least amount
.
Parameters
Name | Type | Description |
---|
to | address | undefined |
amount | uint256 | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
transferFrom
function transferFrom(address from, address to, uint256 amount) external nonpayable returns (bool)
See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum uint256
. Requirements: - from
and to
cannot be the zero address. - from
must have a balance of at least amount
. - the caller must have allowance for from
's tokens of at least amount
.
Parameters
Name | Type | Description |
---|
from | address | undefined |
to | address | undefined |
amount | uint256 | undefined |
Returns
Name | Type | Description |
---|
_0 | bool | undefined |
transferOwnership
function transferOwnership(address newOwner) external nonpayable
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Name | Type | Description |
---|
newOwner | address | undefined |
unpause
function unpause() external nonpayable
Unpauses all token transfers. See {ERC20Pausable} and {Pausable-_unpause}. Requirements: - the caller must have the PAUSER_ROLE
.
Events
Approval
event Approval(address indexed owner, address indexed spender, uint256 value)
Emitted when the allowance of a spender
for an owner
is set by a call to {approve}. value
is the new allowance.
Parameters
Name | Type | Description |
---|
owner indexed | address | undefined |
spender indexed | address | undefined |
value | uint256 | undefined |
EnforcedOptionSet
event EnforcedOptionSet(EnforcedOptionParam[] _enforcedOptions)
Parameters
Name | Type | Description |
---|
_enforcedOptions | EnforcedOptionParam[] | undefined |
MsgInspectorSet
event MsgInspectorSet(address inspector)
Parameters
Name | Type | Description |
---|
inspector | address | undefined |
OFTReceived
event OFTReceived(bytes32 indexed guid, uint32 srcEid, address indexed toAddress, uint256 amountReceivedLD)
Parameters
Name | Type | Description |
---|
guid indexed | bytes32 | undefined |
srcEid | uint32 | undefined |
toAddress indexed | address | undefined |
amountReceivedLD | uint256 | undefined |
OFTSent
event OFTSent(bytes32 indexed guid, uint32 dstEid, address indexed fromAddress, uint256 amountSentLD, uint256 amountReceivedLD)
Parameters
Name | Type | Description |
---|
guid indexed | bytes32 | undefined |
dstEid | uint32 | undefined |
fromAddress indexed | address | undefined |
amountSentLD | uint256 | undefined |
amountReceivedLD | uint256 | undefined |
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Parameters
Name | Type | Description |
---|
previousOwner indexed | address | undefined |
newOwner indexed | address | undefined |
Paused
event Paused(address account)
Emitted when the pause is triggered by account
.
Parameters
Name | Type | Description |
---|
account | address | undefined |
PeerSet
event PeerSet(uint32 eid, bytes32 peer)
Parameters
Name | Type | Description |
---|
eid | uint32 | undefined |
peer | bytes32 | undefined |
PreCrimeSet
event PreCrimeSet(address preCrimeAddress)
Emitted when the preCrime contract address is set.
Parameters
Name | Type | Description |
---|
preCrimeAddress | address | The address of the preCrime contract. |
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
Emitted when newAdminRole
is set as role
's admin role, replacing previousAdminRole
DEFAULT_ADMIN_ROLE
is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. Available since v3.1.
Parameters
Name | Type | Description |
---|
role indexed | bytes32 | undefined |
previousAdminRole indexed | bytes32 | undefined |
newAdminRole indexed | bytes32 | undefined |
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
Emitted when account
is granted role
. sender
is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.
Parameters
Name | Type | Description |
---|
role indexed | bytes32 | undefined |
account indexed | address | undefined |
sender indexed | address | undefined |
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Emitted when account
is revoked role
. sender
is the account that originated the contract call: - if using revokeRole
, it is the admin role bearer - if using renounceRole
, it is the role bearer (i.e. account
)
Parameters
Name | Type | Description |
---|
role indexed | bytes32 | undefined |
account indexed | address | undefined |
sender indexed | address | undefined |
Transfer
event Transfer(address indexed from, address indexed to, uint256 value)
Emitted when value
tokens are moved from one account (from
) to another (to
). Note that value
may be zero.
Parameters
Name | Type | Description |
---|
from indexed | address | undefined |
to indexed | address | undefined |
value | uint256 | undefined |
Unpaused
event Unpaused(address account)
Emitted when the pause is lifted by account
.
Parameters
Name | Type | Description |
---|
account | address | undefined |
Errors
InvalidDelegate
InvalidEndpointCall
error InvalidEndpointCall()
InvalidLocalDecimals
error InvalidLocalDecimals()
InvalidOptions
error InvalidOptions(bytes options)
Parameters
Name | Type | Description |
---|
options | bytes | undefined |
LzTokenUnavailable
error LzTokenUnavailable()
NoPeer
Parameters
Name | Type | Description |
---|
eid | uint32 | undefined |
NotEnoughNative
error NotEnoughNative(uint256 msgValue)
Parameters
Name | Type | Description |
---|
msgValue | uint256 | undefined |
OnlyEndpoint
error OnlyEndpoint(address addr)
Parameters
Name | Type | Description |
---|
addr | address | undefined |
OnlyPeer
error OnlyPeer(uint32 eid, bytes32 sender)
Parameters
Name | Type | Description |
---|
eid | uint32 | undefined |
sender | bytes32 | undefined |
OnlySelf
SimulationResult
error SimulationResult(bytes result)
Parameters
Name | Type | Description |
---|
result | bytes | undefined |
SlippageExceeded
error SlippageExceeded(uint256 amountLD, uint256 minAmountLD)
Parameters
Name | Type | Description |
---|
amountLD | uint256 | undefined |
minAmountLD | uint256 | undefined |