UNPKG

@flarenetwork/flare-periphery-contract-artifacts

Version:

Smart contract artifacts for all Flare chains

581 lines (580 loc) 15.6 kB
[ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "redeemer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "remainingAmountUBA", "type": "uint256" } ], "name": "RedemptionAmountIncomplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "agentVault", "type": "address" }, { "indexed": true, "internalType": "address", "name": "redeemer", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "paymentAddress", "type": "string" }, { "indexed": false, "internalType": "uint256", "name": "valueUBA", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "feeUBA", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "firstUnderlyingBlock", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "lastUnderlyingBlock", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "lastUnderlyingTimestamp", "type": "uint256" }, { "indexed": false, "internalType": "bytes32", "name": "paymentReference", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "executor", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "executorFeeNatWei", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "destinationTag", "type": "uint256" } ], "name": "RedemptionWithTagRequested", "type": "event" }, { "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": "address", "name": "proofOwner", "type": "address" } ], "internalType": "struct IXRPPayment.RequestBody", "name": "requestBody", "type": "tuple" }, { "components": [ { "internalType": "uint64", "name": "blockNumber", "type": "uint64" }, { "internalType": "uint64", "name": "blockTimestamp", "type": "uint64" }, { "internalType": "string", "name": "sourceAddress", "type": "string" }, { "internalType": "bytes32", "name": "sourceAddressHash", "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": "bool", "name": "hasMemoData", "type": "bool" }, { "internalType": "bytes", "name": "firstMemoData", "type": "bytes" }, { "internalType": "bool", "name": "hasDestinationTag", "type": "bool" }, { "internalType": "uint256", "name": "destinationTag", "type": "uint256" }, { "internalType": "uint8", "name": "status", "type": "uint8" } ], "internalType": "struct IXRPPayment.ResponseBody", "name": "responseBody", "type": "tuple" } ], "internalType": "struct IXRPPayment.Response", "name": "data", "type": "tuple" } ], "internalType": "struct IXRPPayment.Proof", "name": "_payment", "type": "tuple" }, { "internalType": "uint256", "name": "_redemptionRequestId", "type": "uint256" } ], "name": "confirmXRPRedemptionPayment", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amountUBA", "type": "uint256" }, { "internalType": "string", "name": "_redeemerUnderlyingAddressString", "type": "string" }, { "internalType": "address payable", "name": "_executor", "type": "address" } ], "name": "redeemAmount", "outputs": [ { "internalType": "uint256", "name": "_redeemedAmountUBA", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amountUBA", "type": "uint256" }, { "internalType": "string", "name": "_redeemerUnderlyingAddressString", "type": "string" }, { "internalType": "address payable", "name": "_executor", "type": "address" }, { "internalType": "uint256", "name": "_destinationTag", "type": "uint256" } ], "name": "redeemWithTag", "outputs": [ { "internalType": "uint256", "name": "_redeemedAmountUBA", "type": "uint256" } ], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "redeemWithTagSupported", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_redemptionRequestId", "type": "uint256" } ], "name": "redemptionRequestInfoExt", "outputs": [ { "components": [ { "internalType": "uint64", "name": "redemptionRequestId", "type": "uint64" }, { "internalType": "enum RedemptionRequestInfo.Status", "name": "status", "type": "uint8" }, { "internalType": "address", "name": "agentVault", "type": "address" }, { "internalType": "address", "name": "redeemer", "type": "address" }, { "internalType": "string", "name": "paymentAddress", "type": "string" }, { "internalType": "bytes32", "name": "paymentReference", "type": "bytes32" }, { "internalType": "uint128", "name": "valueUBA", "type": "uint128" }, { "internalType": "uint128", "name": "feeUBA", "type": "uint128" }, { "internalType": "uint16", "name": "poolFeeShareBIPS", "type": "uint16" }, { "internalType": "uint64", "name": "firstUnderlyingBlock", "type": "uint64" }, { "internalType": "uint64", "name": "lastUnderlyingBlock", "type": "uint64" }, { "internalType": "uint64", "name": "lastUnderlyingTimestamp", "type": "uint64" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "bool", "name": "poolSelfClose", "type": "bool" }, { "internalType": "bool", "name": "transferToCoreVault", "type": "bool" }, { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "uint256", "name": "executorFeeNatWei", "type": "uint256" }, { "internalType": "bool", "name": "requiresDestinationTag", "type": "bool" }, { "internalType": "uint256", "name": "destinationTag", "type": "uint256" } ], "internalType": "struct RedemptionRequestInfo.DataExt", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "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": "uint64", "name": "minimalBlockNumber", "type": "uint64" }, { "internalType": "uint64", "name": "deadlineBlockNumber", "type": "uint64" }, { "internalType": "uint64", "name": "deadlineTimestamp", "type": "uint64" }, { "internalType": "bytes32", "name": "destinationAddressHash", "type": "bytes32" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bool", "name": "checkFirstMemoData", "type": "bool" }, { "internalType": "bytes32", "name": "firstMemoDataHash", "type": "bytes32" }, { "internalType": "bool", "name": "checkDestinationTag", "type": "bool" }, { "internalType": "uint256", "name": "destinationTag", "type": "uint256" }, { "internalType": "address", "name": "proofOwner", "type": "address" } ], "internalType": "struct IXRPPaymentNonexistence.RequestBody", "name": "requestBody", "type": "tuple" }, { "components": [ { "internalType": "uint64", "name": "minimalBlockTimestamp", "type": "uint64" }, { "internalType": "uint64", "name": "firstOverflowBlockNumber", "type": "uint64" }, { "internalType": "uint64", "name": "firstOverflowBlockTimestamp", "type": "uint64" } ], "internalType": "struct IXRPPaymentNonexistence.ResponseBody", "name": "responseBody", "type": "tuple" } ], "internalType": "struct IXRPPaymentNonexistence.Response", "name": "data", "type": "tuple" } ], "internalType": "struct IXRPPaymentNonexistence.Proof", "name": "_proof", "type": "tuple" }, { "internalType": "uint256", "name": "_redemptionRequestId", "type": "uint256" } ], "name": "xrpRedemptionPaymentDefault", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]