UNPKG

@flarenetwork/flare-periphery-contract-artifacts

Version:

Smart contract artifacts for all Flare chains

150 lines (149 loc) 4.48 kB
[ { "inputs": [ { "components": [ { "internalType": "bytes32[]", "name": "merkleProof", "type": "bytes32[]" }, { "components": [ { "internalType": "bytes32", "name": "attestationType", "type": "bytes32" }, { "internalType": "bytes32", "name": "sourceId", "type": "bytes32" }, { "internalType": "uint64", "name": "votingRound", "type": "uint64" }, { "internalType": "uint64", "name": "lowestUsedTimestamp", "type": "uint64" }, { "components": [ { "internalType": "bytes32", "name": "transactionId", "type": "bytes32" }, { "internalType": "uint256", "name": "inUtxo", "type": "uint256" }, { "internalType": "uint256", "name": "utxo", "type": "uint256" } ], "internalType": "struct IPayment.RequestBody", "name": "requestBody", "type": "tuple" }, { "components": [ { "internalType": "uint64", "name": "blockNumber", "type": "uint64" }, { "internalType": "uint64", "name": "blockTimestamp", "type": "uint64" }, { "internalType": "bytes32", "name": "sourceAddressHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "sourceAddressesRoot", "type": "bytes32" }, { "internalType": "bytes32", "name": "receivingAddressHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "intendedReceivingAddressHash", "type": "bytes32" }, { "internalType": "int256", "name": "spentAmount", "type": "int256" }, { "internalType": "int256", "name": "intendedSpentAmount", "type": "int256" }, { "internalType": "int256", "name": "receivedAmount", "type": "int256" }, { "internalType": "int256", "name": "intendedReceivedAmount", "type": "int256" }, { "internalType": "bytes32", "name": "standardPaymentReference", "type": "bytes32" }, { "internalType": "bool", "name": "oneToOne", "type": "bool" }, { "internalType": "uint8", "name": "status", "type": "uint8" } ], "internalType": "struct IPayment.ResponseBody", "name": "responseBody", "type": "tuple" } ], "internalType": "struct IPayment.Response", "name": "data", "type": "tuple" } ], "internalType": "struct IPayment.Proof", "name": "_proof", "type": "tuple" } ], "name": "verifyPayment", "outputs": [ { "internalType": "bool", "name": "_proved", "type": "bool" } ], "stateMutability": "view", "type": "function" } ]