|
| 1 | +[ |
| 2 | + { |
| 3 | + "inputs": [ |
| 4 | + { |
| 5 | + "components": [ |
| 6 | + { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, |
| 7 | + { "internalType": "bytes32", "name": "to", "type": "bytes32" }, |
| 8 | + { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, |
| 9 | + { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, |
| 10 | + { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, |
| 11 | + { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, |
| 12 | + { "internalType": "bytes", "name": "oftCmd", "type": "bytes" } |
| 13 | + ], |
| 14 | + "internalType": "struct SendParam", |
| 15 | + "name": "_sendParam", |
| 16 | + "type": "tuple" |
| 17 | + }, |
| 18 | + { "internalType": "bool", "name": "_payInLzToken", "type": "bool" } |
| 19 | + ], |
| 20 | + "name": "quoteSend", |
| 21 | + "outputs": [ |
| 22 | + { |
| 23 | + "components": [ |
| 24 | + { "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, |
| 25 | + { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" } |
| 26 | + ], |
| 27 | + "internalType": "struct MessagingFee", |
| 28 | + "name": "msgFee", |
| 29 | + "type": "tuple" |
| 30 | + } |
| 31 | + ], |
| 32 | + "stateMutability": "view", |
| 33 | + "type": "function" |
| 34 | + }, |
| 35 | + { |
| 36 | + "inputs": [ |
| 37 | + { |
| 38 | + "components": [ |
| 39 | + { "internalType": "uint32", "name": "dstEid", "type": "uint32" }, |
| 40 | + { "internalType": "bytes32", "name": "to", "type": "bytes32" }, |
| 41 | + { "internalType": "uint256", "name": "amountLD", "type": "uint256" }, |
| 42 | + { "internalType": "uint256", "name": "minAmountLD", "type": "uint256" }, |
| 43 | + { "internalType": "bytes", "name": "extraOptions", "type": "bytes" }, |
| 44 | + { "internalType": "bytes", "name": "composeMsg", "type": "bytes" }, |
| 45 | + { "internalType": "bytes", "name": "oftCmd", "type": "bytes" } |
| 46 | + ], |
| 47 | + "internalType": "struct SendParam", |
| 48 | + "name": "_sendParam", |
| 49 | + "type": "tuple" |
| 50 | + }, |
| 51 | + { |
| 52 | + "components": [ |
| 53 | + { "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, |
| 54 | + { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" } |
| 55 | + ], |
| 56 | + "internalType": "struct MessagingFee", |
| 57 | + "name": "_fee", |
| 58 | + "type": "tuple" |
| 59 | + }, |
| 60 | + { "internalType": "address", "name": "_refundAddress", "type": "address" } |
| 61 | + ], |
| 62 | + "name": "send", |
| 63 | + "outputs": [ |
| 64 | + { |
| 65 | + "components": [ |
| 66 | + { "internalType": "bytes32", "name": "guid", "type": "bytes32" }, |
| 67 | + { "internalType": "uint64", "name": "nonce", "type": "uint64" }, |
| 68 | + { |
| 69 | + "components": [ |
| 70 | + { "internalType": "uint256", "name": "nativeFee", "type": "uint256" }, |
| 71 | + { "internalType": "uint256", "name": "lzTokenFee", "type": "uint256" } |
| 72 | + ], |
| 73 | + "internalType": "struct MessagingFee", |
| 74 | + "name": "fee", |
| 75 | + "type": "tuple" |
| 76 | + } |
| 77 | + ], |
| 78 | + "internalType": "struct MessagingReceipt", |
| 79 | + "name": "msgReceipt", |
| 80 | + "type": "tuple" |
| 81 | + }, |
| 82 | + { |
| 83 | + "components": [ |
| 84 | + { "internalType": "uint256", "name": "amountSentLD", "type": "uint256" }, |
| 85 | + { "internalType": "uint256", "name": "amountReceivedLD", "type": "uint256" } |
| 86 | + ], |
| 87 | + "internalType": "struct OFTReceipt", |
| 88 | + "name": "oftReceipt", |
| 89 | + "type": "tuple" |
| 90 | + } |
| 91 | + ], |
| 92 | + "stateMutability": "payable", |
| 93 | + "type": "function" |
| 94 | + }, |
| 95 | + { |
| 96 | + "inputs": [], |
| 97 | + "name": "token", |
| 98 | + "outputs": [{ "internalType": "address", "name": "", "type": "address" }], |
| 99 | + "stateMutability": "view", |
| 100 | + "type": "function" |
| 101 | + }, |
| 102 | + { |
| 103 | + "inputs": [], |
| 104 | + "name": "approvalRequired", |
| 105 | + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], |
| 106 | + "stateMutability": "view", |
| 107 | + "type": "function" |
| 108 | + } |
| 109 | +] |
0 commit comments