OFTReceipt
OFT receipt: amountSentLD is the amount ACTUALLY debited from the sender (OFTs truncate
amountLD to shared decimals — dust removal), amountReceivedLD what the destination credits
(Stargate pools additionally deduct pool fees here).
struct OFTReceipt {
uint256 amountSentLD; // Amount of tokens ACTUALLY debited from the sender in local decimals.
// @dev In non-default implementations, the amountReceivedLD COULD differ from this value.
uint256 amountReceivedLD; // Amount of tokens to be received on the remote side.
}Properties
| Name | Type | Description |
|---|---|---|
| amountSentLD | uint256 | |
| amountReceivedLD | uint256 |