@flarenetwork/flare-periphery-contract-artifacts
Version:
Smart contract artifacts for all Flare chains
412 lines (411 loc) • 11 kB
JSON
[
{
"inputs": [],
"name": "AlreadyInitialized",
"type": "error"
},
{
"inputs": [],
"name": "ComposerOnly",
"type": "error"
},
{
"inputs": [],
"name": "InvalidAddress",
"type": "error"
},
{
"inputs": [],
"name": "OwnerOnly",
"type": "error"
},
{
"inputs": [],
"name": "RedeemWithTagNotSupported",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "amountToRedeemUBA",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "redeemerUnderlyingAddress",
"type": "string"
},
{
"indexed": false,
"internalType": "bool",
"name": "redeemWithTag",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "destinationTag",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "executor",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "executorFee",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "redeemedAmountUBA",
"type": "uint256"
}
],
"name": "FAssetRedeemed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IERC20",
"name": "fAsset",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IERC20",
"name": "stableCoin",
"type": "address"
},
{
"indexed": false,
"internalType": "contract IERC20",
"name": "wNat",
"type": "address"
}
],
"name": "MaxAllowancesSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "redemptionRequestId",
"type": "uint256"
}
],
"name": "RedemptionPaymentDefaulted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "redemptionRequestId",
"type": "uint256"
}
],
"name": "XrpRedemptionPaymentDefaulted",
"type": "event"
},
{
"inputs": [],
"name": "composer",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"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": "bytes32",
"name": "standardPaymentReference",
"type": "bytes32"
},
{
"internalType": "bool",
"name": "checkSourceAddresses",
"type": "bool"
},
{
"internalType": "bytes32",
"name": "sourceAddressesRoot",
"type": "bytes32"
}
],
"internalType": "struct IReferencedPaymentNonexistence.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 IReferencedPaymentNonexistence.ResponseBody",
"name": "responseBody",
"type": "tuple"
}
],
"internalType": "struct IReferencedPaymentNonexistence.Response",
"name": "data",
"type": "tuple"
}
],
"internalType": "struct IReferencedPaymentNonexistence.Proof",
"name": "_proof",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "_redemptionRequestId",
"type": "uint256"
}
],
"name": "redemptionPaymentDefault",
"outputs": [],
"stateMutability": "nonpayable",
"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"
}
]