UNPKG

@blockbolt/monad-wallet

Version:
548 lines 13.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BLOCKBOLT_MONAD_ABI = void 0; exports.BLOCKBOLT_MONAD_ABI = [ { inputs: [ { internalType: "address", name: "initialOwner", type: "address", }, { internalType: "string", name: "_protocolName", type: "string", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "FeeTooHigh", type: "error", }, { inputs: [], name: "InsufficientAllowance", type: "error", }, { inputs: [], name: "InvalidAmount", type: "error", }, { inputs: [], name: "NoFeesToWithdraw", type: "error", }, { inputs: [], name: "OrderAlreadyProcessed", type: "error", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, ], name: "OwnableInvalidOwner", type: "error", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, ], name: "OwnableUnauthorizedAccount", type: "error", }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error", }, { inputs: [ { internalType: "address", name: "token", type: "address", }, ], name: "SafeERC20FailedOperation", type: "error", }, { inputs: [], name: "TransferFailed", type: "error", }, { inputs: [], name: "WithdrawalFailed", type: "error", }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "newFeePercentage", type: "uint256", }, ], name: "FeeUpdated", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address", }, ], name: "Paused", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "orderId", type: "string", }, { indexed: false, internalType: "string", name: "merchantName", type: "string", }, { indexed: false, internalType: "address", name: "merchantAddress", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: false, internalType: "uint256", name: "fee", type: "uint256", }, ], name: "PaymentProcessed", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "from", type: "address", }, { indexed: false, internalType: "address", name: "to", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: false, internalType: "string", name: "merchantName", type: "string", }, { indexed: false, internalType: "string", name: "orderId", type: "string", }, ], name: "TokenTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address", }, ], name: "Unpaused", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "WithdrawalCompleted", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "WithdrawalRequested", type: "event", }, { inputs: [], name: "completeWithdrawal", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "feePercentage", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "_orderId", type: "string", }, ], name: "getOrder", outputs: [ { components: [ { internalType: "string", name: "orderId", type: "string", }, { internalType: "string", name: "merchantName", type: "string", }, { internalType: "string", name: "protocolName", type: "string", }, { internalType: "address", name: "merchantAddress", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "bool", name: "processed", type: "bool", }, ], internalType: "struct BlockBolt.Order", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "", type: "string", }, ], name: "orders", outputs: [ { internalType: "string", name: "orderId", type: "string", }, { internalType: "string", name: "merchantName", type: "string", }, { internalType: "string", name: "protocolName", type: "string", }, { internalType: "address", name: "merchantAddress", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "bool", name: "processed", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "pendingWithdrawals", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "protocolName", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "requestWithdrawal", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "_orderId", type: "string", }, { internalType: "string", name: "_merchantName", type: "string", }, { internalType: "address", name: "_merchantAddress", type: "address", }, ], name: "transfer", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "tokenAddress", type: "address", }, { internalType: "address", name: "recipient", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "string", name: "merchant_name", type: "string", }, { internalType: "string", name: "order_id", type: "string", }, ], name: "transferToken", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "_newFeePercentage", type: "uint256", }, ], name: "updateFeePercentage", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=blockboltABI.js.map