Skip to content

Instantly share code, notes, and snippets.

@critesjosh
Created June 6, 2022 19:15
Show Gist options
  • Select an option

  • Save critesjosh/7bbcae0195bab600863e16930b712cd7 to your computer and use it in GitHub Desktop.

Select an option

Save critesjosh/7bbcae0195bab600863e16930b712cd7 to your computer and use it in GitHub Desktop.
aztec rollup processor abi
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_escapeBlockLowerBound",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_escapeBlockUpperBound",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "ARRAY_OVERFLOW",
"type": "error"
},
{
"inputs": [],
"name": "BRIDGE_ID_IS_INCONSISTENT",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "inputAssetId",
"type": "uint256"
}
],
"name": "BRIDGE_WITH_IDENTICAL_INPUT_ASSETS",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "outputAssetId",
"type": "uint256"
}
],
"name": "BRIDGE_WITH_IDENTICAL_OUTPUT_ASSETS",
"type": "error"
},
{
"inputs": [],
"name": "DEPOSIT_TOKENS_WRONG_PAYMENT_TYPE",
"type": "error"
},
{
"inputs": [],
"name": "ENCODING_BYTE_INVALID",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "providedIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expectedIndex",
"type": "uint256"
}
],
"name": "INCORRECT_DATA_START_INDEX",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "providedDefiInteractionHash",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "expectedDefiInteractionHash",
"type": "bytes32"
}
],
"name": "INCORRECT_PREVIOUS_DEFI_INTERACTION_HASH",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "oldStateHash",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "newStateHash",
"type": "bytes32"
}
],
"name": "INCORRECT_STATE_HASH",
"type": "error"
},
{
"inputs": [],
"name": "INSUFFICIENT_DEPOSIT",
"type": "error"
},
{
"inputs": [],
"name": "INSUFFICIENT_ETH_PAYMENT",
"type": "error"
},
{
"inputs": [],
"name": "INSUFFICIENT_TOKEN_APPROVAL",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_ASSET_ADDRESS",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_ASSET_ID",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_BRIDGE_ADDRESS",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_BRIDGE_ID",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_LINKED_BRIDGE_ADDRESS",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_LINKED_TOKEN_ADDRESS",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_PROVIDER",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_ROLLUP_TOPOLOGY",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_SIGNATURE",
"type": "error"
},
{
"inputs": [],
"name": "LOCKED_NO_REENTER",
"type": "error"
},
{
"inputs": [],
"name": "MSG_VALUE_WRONG_AMOUNT",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "outputValue",
"type": "uint256"
}
],
"name": "NONZERO_OUTPUT_VALUE_ON_NOT_USED_ASSET",
"type": "error"
},
{
"inputs": [],
"name": "NOT_PAUSED",
"type": "error"
},
{
"inputs": [],
"name": "PAUSED",
"type": "error"
},
{
"inputs": [],
"name": "PROOF_VERIFICATION_FAILED",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "PUBLIC_INPUTS_HASH_VERIFICATION_FAILED",
"type": "error"
},
{
"inputs": [],
"name": "SIGNATURE_ADDRESS_IS_ZERO",
"type": "error"
},
{
"inputs": [],
"name": "SIGNATURE_RECOVERY_FAILED",
"type": "error"
},
{
"inputs": [],
"name": "THIRD_PARTY_CONTRACTS_FLAG_NOT_SET",
"type": "error"
},
{
"inputs": [],
"name": "WITHDRAW_TO_ZERO_ADDRESS",
"type": "error"
},
{
"inputs": [],
"name": "ZERO_TOTAL_INPUT_VALUE",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "assetId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "assetAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "assetGasLimit",
"type": "uint256"
}
],
"name": "AssetAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "bridgeId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalInputValue",
"type": "uint256"
}
],
"name": "AsyncDefiBridgeProcessed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "bridgeAddressId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "bridgeAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "bridgeGasLimit",
"type": "uint256"
}
],
"name": "BridgeAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "bridgeId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalInputValue",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalOutputValueA",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalOutputValueB",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "result",
"type": "bool"
},
{
"indexed": false,
"internalType": "bytes",
"name": "errorReason",
"type": "bytes"
}
],
"name": "DefiBridgeProcessed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "assetId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "depositorAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "depositValue",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "rollupId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "chunk",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalChunks",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "OffchainData",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "rollupId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes32[]",
"name": "nextExpectedDefiHashes",
"type": "bytes32[]"
},
{
"indexed": false,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RollupProcessed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "providerAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "bool",
"name": "valid",
"type": "bool"
}
],
"name": "RollupProviderUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Unpaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "verifierAddress",
"type": "address"
}
],
"name": "VerifierUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes",
"name": "errorReason",
"type": "bytes"
}
],
"name": "WithdrawError",
"type": "event"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "EMERGENCY_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "OWNER_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "allowThirdPartyContracts",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_proofHash",
"type": "bytes32"
}
],
"name": "approveProof",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "assetGasLimits",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "asyncDefiInteractionHashes",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "bridgeGasLimits",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "defiBridgeProxy",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "defiInteractionHashes",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "assetId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "bytes32",
"name": "proofHash",
"type": "bytes32"
}
],
"name": "depositPendingFunds",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "assetId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "depositorAddress",
"type": "address"
},
{
"internalType": "bytes32",
"name": "proofHash",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
}
],
"name": "depositPendingFundsPermit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "assetId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "depositorAddress",
"type": "address"
},
{
"internalType": "bytes32",
"name": "proofHash",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
}
],
"name": "depositPendingFundsPermitNonStandard",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "depositProofApprovals",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "escapeBlockLowerBound",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "escapeBlockUpperBound",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "ethPayments",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAsyncDefiInteractionHashes",
"outputs": [
{
"internalType": "bytes32[]",
"name": "res",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAsyncDefiInteractionHashesLength",
"outputs": [
{
"internalType": "uint256",
"name": "res",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "bridgeAddressId",
"type": "uint256"
}
],
"name": "getBridgeGasLimit",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getDataSize",
"outputs": [
{
"internalType": "uint256",
"name": "dataSize",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getDefiInteractionHashes",
"outputs": [
{
"internalType": "bytes32[]",
"name": "res",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getDefiInteractionHashesLength",
"outputs": [
{
"internalType": "uint256",
"name": "res",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getEscapeHatchStatus",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getImplementationVersion",
"outputs": [
{
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getPendingDefiInteractionHashesLength",
"outputs": [
{
"internalType": "uint256",
"name": "res",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "assetId",
"type": "uint256"
}
],
"name": "getSupportedAsset",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSupportedAssets",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSupportedAssetsLength",
"outputs": [
{
"internalType": "uint256",
"name": "res",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "bridgeAddressId",
"type": "uint256"
}
],
"name": "getSupportedBridge",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSupportedBridges",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSupportedBridgesLength",
"outputs": [
{
"internalType": "uint256",
"name": "res",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_verifierAddress",
"type": "address"
},
{
"internalType": "address",
"name": "_defiBridgeProxy",
"type": "address"
},
{
"internalType": "address",
"name": "_contractOwner",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_initDataRoot",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "_initNullRoot",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "_initRootRoot",
"type": "bytes32"
},
{
"internalType": "uint32",
"name": "_initDatasize",
"type": "uint32"
},
{
"internalType": "bool",
"name": "_allowThirdPartyContracts",
"type": "bool"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "rollupId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "chunk",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalChunks",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"name": "offchainData",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "paused",
"outputs": [
{
"internalType": "bool",
"name": "isPaused",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "pendingDefiInteractions",
"outputs": [
{
"internalType": "uint256",
"name": "bridgeId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalInputValue",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "prevDefiInteractionsHash",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "interactionNonce",
"type": "uint256"
}
],
"name": "processAsyncDefiInteraction",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "signatures",
"type": "bytes"
}
],
"name": "processRollup",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "interactionNonce",
"type": "uint256"
}
],
"name": "receiveEthFromBridge",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "rollupProviders",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "rollupStateHash",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "_flag",
"type": "bool"
}
],
"name": "setAllowThirdPartyContracts",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "defiBridgeProxyAddress",
"type": "address"
}
],
"name": "setDefiBridgeProxy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "providerAddress",
"type": "address"
},
{
"internalType": "bool",
"name": "valid",
"type": "bool"
}
],
"name": "setRollupProvider",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "linkedToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "gasLimit",
"type": "uint256"
}
],
"name": "setSupportedAsset",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "linkedBridge",
"type": "address"
},
{
"internalType": "uint256",
"name": "gasLimit",
"type": "uint256"
}
],
"name": "setSupportedBridge",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_verifierAddress",
"type": "address"
}
],
"name": "setVerifier",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "unpause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "userPendingDeposits",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "verifier",
"outputs": [
{
"internalType": "address",
"name": "verifierAddress",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment