"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/contracts/aap_reward_proxy.ts var abi = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var AAP_REWARD_PROXY = { name: "AAP Reward Proxy", address: "0xa5cb85d2910e7b384afa3121e7d0a6f623b05da3", is_deprecated: false, created_at: 1701768142, abi }; var aap_reward_proxy_default = AAP_REWARD_PROXY; // src/contracts/achievement_minter_proxy.ts var abi2 = [ { 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: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "achievementSettingsForId", outputs: [ { internalType: "bool", name: "isRepeatable", type: "bool" }, { internalType: "bool", name: "isPaused", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address", name: "_newMinter", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "addMinterForId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokens", type: "address[]" }, { internalType: "address[]", name: "_newMinters", type: "address[]" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "addMinters", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "disableRepeatForId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "enableRepeatForId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address", name: "_minter", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "isMinterForId", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address", name: "_minter", type: "address" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "isMinterForIdsBatch", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address", name: "_account", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "mintAchievement", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address[]", name: "_accounts", type: "address[]" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "mintAchievementBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokens", type: "address[]" }, { internalType: "address[]", name: "_accounts", type: "address[]" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "mintAchievements", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pauseAllMinting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "pauseMintingForId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "pauseMintingForMany", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address", name: "_oldMinter", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "removeMinterForId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokens", type: "address[]" }, { internalType: "address[]", name: "_oldMinters", type: "address[]" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "removeMinters", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "bool", name: "_isRepeatable", type: "bool" }, { internalType: "bool", name: "_isPaused", type: "bool" }, { internalType: "address", name: "_newMinter", type: "address" } ], name: "setAchievementSettingsForId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpauseAllMinting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "unpauseMintingForId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "unpauseMintingForMany", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ACHIEVEMENT_MINTER_PROXY = { name: "Achievement Minter Proxy", address: "0x700ec85fcac3c8b6e62a7549ea5b40dd28026def", is_deprecated: false, created_at: 1727131646, abi: abi2 }; var achievement_minter_proxy_default = ACHIEVEMENT_MINTER_PROXY; // src/contracts/acknowledgement.ts var abi3 = [ { inputs: [ { internalType: "address", name: "_validator", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { constant: true, inputs: [], name: "DEPOSIT_CHANNEL", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "VALIDATOR_CHANNEL", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "WITHDRAWAL_CHANNEL", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes32", name: "", type: "bytes32" } ], name: "ackCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes32", name: "", type: "bytes32" } ], name: "ackStatus", outputs: [ { internalType: "enum Acknowledgement.Status", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_channelName", type: "string" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "bytes32", name: "_hash", type: "bytes32" }, { internalType: "address", name: "_validator", type: "address" } ], name: "acknowledge", outputs: [ { internalType: "enum Acknowledgement.Status", name: "", type: "uint8" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_name", type: "string" } ], name: "addChannel", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "enabledChannels", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "string", name: "_channelName", type: "string" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "bytes32", name: "_hash", type: "bytes32" } ], name: "getAcknowledgementStatus", outputs: [ { internalType: "enum Acknowledgement.Status", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "string", name: "_name", type: "string" } ], name: "getChannelHash", outputs: [ { internalType: "bytes32", name: "_channel", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "string", name: "_channelName", type: "string" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "address", name: "_validator", type: "address" } ], name: "hasValidatorAcknowledged", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_name", type: "string" } ], name: "removeChannel", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_validator", type: "address" } ], name: "updateValidator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "validator", outputs: [ { internalType: "contract Validator", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "validatorAck", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" } ]; var ACKNOWLEDGEMENT = { name: "Acknowledgement", address: "0x0000000000000000000000000000000000000022", is_deprecated: true, created_at: 1718826033, abi: abi3 }; var acknowledgement_default = ACKNOWLEDGEMENT; // src/contracts/action_event_proxy.ts var abi4 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ACTION_EVENT_PROXY = { name: "Action Event Proxy", address: "0x5e769454d244c7bb955cc4b673334c9b4aeefb94", is_deprecated: false, created_at: 1714838016, abi: abi4 }; var action_event_proxy_default = ACTION_EVENT_PROXY; // src/contracts/affiliate_router.ts var abi5 = [ { inputs: [ { internalType: "address", name: "owner_", type: "address" }, { internalType: "address", name: "affiliate", type: "address" }, { internalType: "address", name: "factory_", type: "address" }, { internalType: "address", name: "wron", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "taker", type: "address" }, { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "FeeTaken", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "affiliate", type: "address" }, { indexed: true, internalType: "uint256", name: "feeRatio", type: "uint256" } ], name: "NewAffiliateInfo", 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" }, { inputs: [], name: "DEFAULT_FEE_RATIO", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "WRON", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "tokenA", type: "address" }, { internalType: "address", name: "tokenB", type: "address" }, { internalType: "uint256", name: "amountADesired", type: "uint256" }, { internalType: "uint256", name: "amountBDesired", type: "uint256" }, { internalType: "uint256", name: "amountAMin", type: "uint256" }, { internalType: "uint256", name: "amountBMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "addLiquidity", outputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "amountB", type: "uint256" }, { internalType: "uint256", name: "liquidity", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amountTokenDesired", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "addLiquidityRON", outputs: [ { internalType: "uint256", name: "amountToken", type: "uint256" }, { internalType: "uint256", name: "amountRON", type: "uint256" }, { internalType: "uint256", name: "liquidity", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "factory", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "feeFraction", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAffiliate", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "uint256", name: "reserveIn", type: "uint256" }, { internalType: "uint256", name: "reserveOut", type: "uint256" } ], name: "getAmountIn", outputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "reserveIn", type: "uint256" }, { internalType: "uint256", name: "reserveOut", type: "uint256" } ], name: "getAmountOut", outputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "getAmountsIn", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "getAmountsOut", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getGovernance", outputs: [ { internalType: "contract IKatanaGovernance", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "reserveA", type: "uint256" }, { internalType: "uint256", name: "reserveB", type: "uint256" } ], name: "quote", outputs: [ { internalType: "uint256", name: "amountB", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "tokenA", type: "address" }, { internalType: "address", name: "tokenB", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountAMin", type: "uint256" }, { internalType: "uint256", name: "amountBMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "removeLiquidity", outputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "amountB", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "removeLiquidityRON", outputs: [ { internalType: "uint256", name: "amountToken", type: "uint256" }, { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "removeLiquidityRONSupportingFeeOnTransferTokens", outputs: [ { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bool", name: "approveMax", type: "bool" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "removeLiquidityRONWithPermit", outputs: [ { internalType: "uint256", name: "amountToken", type: "uint256" }, { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bool", name: "approveMax", type: "bool" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "removeLiquidityRONWithPermitSupportingFeeOnTransferTokens", outputs: [ { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "tokenA", type: "address" }, { internalType: "address", name: "tokenB", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountAMin", type: "uint256" }, { internalType: "uint256", name: "amountBMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bool", name: "approveMax", type: "bool" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "removeLiquidityWithPermit", outputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "amountB", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "affiliate", type: "address" }, { internalType: "uint256", name: "feeRatio", type: "uint256" } ], name: "setAffiliateInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactRONForTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactRONForTokensSupportingFeeOnTransferTokens", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForRON", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForRONSupportingFeeOnTransferTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForTokensSupportingFeeOnTransferTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapRONForExactTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "uint256", name: "amountInMax", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapTokensForExactRON", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "uint256", name: "amountInMax", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapTokensForExactTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner_", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var AFFILIATE_ROUTER = { name: "Affiliate Router", address: "0x77f96cf7b98b963fb8a9b84787806d396d953b2b", is_deprecated: false, created_at: 1716265937, abi: abi5 }; var affiliate_router_default = AFFILIATE_ROUTER; // src/contracts/agg_token.ts var abi6 = [ { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], 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: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var AGG_TOKEN = { name: "AGG Token", address: "0x294311a8c37f0744f99eb152c419d4d3d6fec1c7", is_deprecated: false, created_at: 1702606905, abi: abi6 }; var agg_token_default = AGG_TOKEN; // src/contracts/allowlist_stage_logic.ts var abi7 = [ { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [], name: "ErrDuplicatedAllowedUser", type: "error" }, { inputs: [], name: "ErrEnforcedLaunchPause", type: "error" }, { inputs: [], name: "ErrExpectedLaunchPause", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrFallbackFailed", type: "error" }, { inputs: [], name: "ErrFeeExceedsMintPrice", type: "error" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "ErrHasValueWhileMintByERC20", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectConditionalType", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "actual", type: "uint8" }, { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectStageType", type: "error" }, { inputs: [ { internalType: "uint256", name: "actual", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "ErrInsufficientTxValue", type: "error" }, { inputs: [], name: "ErrInvalidAllowedUser", type: "error" }, { inputs: [], name: "ErrInvalidAmountMintablePerReqToken", type: "error" }, { inputs: [], name: "ErrInvalidCreator", type: "error" }, { inputs: [], name: "ErrInvalidCurrency", type: "error" }, { inputs: [], name: "ErrInvalidFeeBasicPoint", type: "error" }, { inputs: [], name: "ErrInvalidFeeParty", type: "error" }, { inputs: [], name: "ErrInvalidFeeRecipient", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumSuppliesCondStg", type: "uint256" }, { internalType: "uint256", name: "launchSupply", type: "uint256" } ], name: "ErrInvalidLaunchSupply", type: "error" }, { inputs: [], name: "ErrInvalidMaxMintablePerWallet", type: "error" }, { inputs: [], name: "ErrInvalidMaxSupply", type: "error" }, { inputs: [], name: "ErrInvalidRequirementToken", type: "error" }, { inputs: [], name: "ErrInvalidSignerAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageIndex", type: "error" }, { inputs: [], name: "ErrInvalidStageLogicAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageTime", type: "error" }, { inputs: [], name: "ErrInvalidStageType", type: "error" }, { inputs: [], name: "ErrInvalidTierId", type: "error" }, { inputs: [], name: "ErrInvalidTokenStandard", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "uint256", name: "limitPerWallet", type: "uint256" }, { internalType: "uint256", name: "remainMintable", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrLimitPerWalletExceeded", type: "error" }, { inputs: [ { internalType: "uint256", name: "remainingSupply", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrMaxSupplyExceeded", type: "error" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "ErrMinterNotAllowed", type: "error" }, { inputs: [], name: "ErrMismatchMintQtyAndSumReqQty", type: "error" }, { inputs: [], name: "ErrNFTContractExisted", type: "error" }, { inputs: [], name: "ErrNFTContractNotExisted", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrNotAllowedCallingAccessControl", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrNotOwnRequirementToken", type: "error" }, { inputs: [], name: "ErrNotZeroSupplyForPublicStage", type: "error" }, { inputs: [], name: "ErrStageEnded", type: "error" }, { inputs: [], name: "ErrStageNotStarted", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumReqQuantities", type: "uint256" }, { internalType: "uint256", name: "actualQuantity", type: "uint256" } ], name: "ErrSumReqQuantitiesInsufficient", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrTokenIdRedeemed", type: "error" }, { inputs: [], name: "ErrTooMuchConditionalStages", type: "error" }, { inputs: [], name: "ErrUnsupportedNFTInterface", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [], name: "ErrZeroLaunchSupply", type: "error" }, { inputs: [], name: "ErrZeroMintQuantity", type: "error" }, { inputs: [], name: "ErrZeroReqQuantity", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "MathOverflowedMulDiv", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchUnpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" } ], indexed: false, internalType: "struct ILaunchpadStructs.PublicStage", name: "publicStage", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "stageIndexes", type: "uint8[]" } ], name: "LaunchpadDataAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" } ], name: "LaunchpadDataUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "total", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalMintedPerWallet", type: "uint256" } ], name: "MintQuantityRecorded", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], indexed: false, internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType", name: "stageType", type: "uint8" }, { indexed: false, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "address", name: "minter", type: "address" }, { indexed: false, internalType: "uint256", name: "actualPrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "actualMintQuantity", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "mintedIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "mintedAmounts", type: "uint256[]" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], indexed: false, internalType: "struct ILaunchpadStructs.PaymentShare[]", name: "shares", type: "tuple[]" } ], name: "MintSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "launchId", type: "uint256" }, { indexed: false, internalType: "address", name: "oldAddress", type: "address" }, { indexed: false, internalType: "address", name: "newAddress", type: "address" } ], name: "NFTContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "newStageIndexes", type: "uint8[]" } ], name: "NewStageInfoAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "NewTierAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "reqToken", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "requestRedeemPerIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "actualRedeemedPerIds", type: "uint256[]" } ], name: "RequirementTokenRedeemed", 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: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "bytes", name: "stageData", type: "bytes" } ], name: "StageInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "address[]", name: "logicAddrs", type: "address[]" } ], name: "StageLogicUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newSwapForwarder", type: "address" } ], name: "SwapForwarderUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "TierInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "uint8[]", name: "tierIds", type: "uint8[]" }, { indexed: false, internalType: "address[][]", name: "usersByTier", type: "address[][]" } ], name: "UsersAssignedToTier", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "wron", type: "address" }, { indexed: false, internalType: "address", name: "wronHelper", type: "address" } ], name: "WronConfigUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { internalType: "address", name: "minter", type: "address" } ], name: "getPriceOf", outputs: [ { internalType: "uint256", name: "actualPrice", type: "uint256" }, { internalType: "uint256", name: "requestedPrice", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "forwarder", type: "address" } ], name: "isTrustedForwarder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" } ], name: "mintAllowList", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "pausedOf", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "trustedForwarder", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ALLOWLIST_STAGE_LOGIC = { name: "Allowlist Stage Logic", address: "0xe318c092cd60b3f7b3194b6155a13e1594b5dad2", is_deprecated: false, created_at: 1719561138, abi: abi7 }; var allowlist_stage_logic_default = ALLOWLIST_STAGE_LOGIC; // src/contracts/alpha_kdr.ts var abi8 = [ { inputs: [ { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_burner", type: "address" }, { indexed: false, internalType: "bool", name: "_status", type: "bool" } ], name: "burnerUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_manager", type: "address" }, { indexed: false, internalType: "bool", name: "_status", type: "bool" } ], name: "managerUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" }, { indexed: false, internalType: "bool", name: "_status", type: "bool" } ], name: "minterUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_burner", type: "address" }, { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "soulboundTokenBurnt", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "soulboundTokenMinted", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_accounts", type: "address[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "batchBurnSoulboundToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_accounts", type: "address[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "batchMintSoulboundToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burnSoulboundToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "burner", type: "address" } ], name: "burners", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "manager", type: "address" } ], name: "managers", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mintSoulboundToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "minters", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_burner", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "setBurner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_manager", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "setManager", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_minter", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "setMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ALPHA_KDR = { name: "AlphaKDR", address: "0xe3c587e40e9b89b3f2af526c9d468d49a66e3c2d", is_deprecated: false, created_at: 1724356873, abi: abi8 }; var alpha_kdr_default = ALPHA_KDR; // src/contracts/anima.ts var abi9 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "AnimaCheckpoint", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_dailyAnimaLimit", type: "uint256" } ], name: "DailyAnimaLimitUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "addMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "adminMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "dailyAnimaLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "getCheckpoint", outputs: [ { components: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], internalType: "struct Anima.Checkpoint", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "mintAnima", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "_addr", type: "address" } ], name: "removeMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_dailyAnimaLimit", type: "uint256" } ], name: "setDailyAnimaLimit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ANIMA = { name: "Anima", address: "0xf80132fc0a86add011bffce3aedd60a86e3d704d", is_deprecated: false, created_at: 1709724139, abi: abi9 }; var anima_default = ANIMA; // src/contracts/apeiron_apostle.ts var abi10 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_gene", type: "uint256" } ], name: "UpdateGene", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_iv", type: "uint256" } ], name: "UpdateIV", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "_baseURI", type: "string" } ], name: "UpdateURI", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "blacklist", outputs: [ { internalType: "contract IBlacklist", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "checkTokenExist", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentOriginTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentOtherTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentZombieTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApostleData", outputs: [ { components: [ { internalType: "uint256", name: "gene", type: "uint256" }, { internalType: "uint256", name: "iv", type: "uint256" }, { internalType: "uint256", name: "createTime", type: "uint256" } ], internalType: "struct ApostleMeta.ApostleData", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApostleGeneAttributes", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_gene", type: "uint256" }, { internalType: "uint256", name: "_iv", type: "uint256" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "address", name: "_to", type: "address" } ], name: "reserve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_gene", type: "uint256" }, { internalType: "uint256", name: "_iv", type: "uint256" }, { internalType: "enum ApeironApostle.MINT_TYPE", name: "_mintType", type: "uint8" }, { internalType: "address", name: "_to", type: "address" } ], name: "safeMint", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_baseURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_createTime", type: "uint256" } ], name: "updateApostleCreateTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_gene", type: "uint256" } ], name: "updateApostleGene", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_iv", type: "uint256" } ], name: "updateApostleIV", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_blacklistAddress", type: "address" } ], name: "updateBlacklistContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_originalTokenId", type: "uint256" }, { internalType: "uint256", name: "_zombieTokenId", type: "uint256" }, { internalType: "uint256", name: "_otherTokenId", type: "uint256" } ], name: "updateTokenId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var APEIRON_APOSTLE = { name: "Apeiron Apostle", address: "0xca5825f1b8c5472879421c34883207ecc3e66f36", is_deprecated: false, created_at: 1701710697, abi: abi10 }; var apeiron_apostle_default = APEIRON_APOSTLE; // src/contracts/apeiron_apostle_extension_proxy.ts var abi11 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_APOSTLE_EXTENSION_PROXY = { name: "Apeiron Apostle Extension Proxy", address: "0xe0cac03294e61549d43a407f6f734a7e8f35ff0b", is_deprecated: false, created_at: 1724227896, abi: abi11 }; var apeiron_apostle_extension_proxy_default = APEIRON_APOSTLE_EXTENSION_PROXY; // src/contracts/apeiron_apostle_proxy.ts var abi12 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_APOSTLE_PROXY = { name: "Apeiron Apostle Proxy", address: "0xcedb8e5c29dc498b8d805852b531849af91dfae3", is_deprecated: false, created_at: 1701710706, abi: abi12 }; var apeiron_apostle_proxy_default = APEIRON_APOSTLE_PROXY; // src/contracts/apeiron_apostle_season_minting_caller_proxy.ts var abi13 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_APOSTLE_SEASON_MINTING_CALLER_PROXY = { name: "Apeiron Apostle Season Minting Caller Proxy", address: "0x078eb21f0b25f3c0bb532057b2f07ce20307d533", is_deprecated: false, created_at: 1701710727, abi: abi13 }; var apeiron_apostle_season_minting_caller_proxy_default = APEIRON_APOSTLE_SEASON_MINTING_CALLER_PROXY; // src/contracts/apeiron_apostle_season_minting_proxy.ts var abi14 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_APOSTLE_SEASON_MINTING_PROXY = { name: "Apeiron Apostle Season Minting Proxy", address: "0x19acb6cd971359865cf0358b29c389ecc968fb6f", is_deprecated: false, created_at: 1701710745, abi: abi14 }; var apeiron_apostle_season_minting_proxy_default = APEIRON_APOSTLE_SEASON_MINTING_PROXY; // src/contracts/apeiron_apostle_ticket_minting.ts var abi15 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", 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: true, internalType: "bytes32", name: "_requestHash", type: "bytes32" } ], name: "RequestTicketMinting", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE", name: "_mintType", type: "uint8" }, { indexed: false, internalType: "uint256", name: "_saleSchedule", type: "uint256" } ], name: "SaleScheduleUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_userAddress", type: "address" }, { indexed: true, internalType: "bytes32", name: "_requestHash", type: "bytes32" }, { indexed: false, internalType: "uint256[]", name: "_successApostleIdArray", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_failTicketIdArray", type: "uint256[]" } ], name: "TicketMintSummary", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_userAddress", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_gene", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_iv", type: "uint256" } ], name: "TicketMintingSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "TicketMintingRequestStructMap", outputs: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "bool", name: "isDone", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "addonGasPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" } ], name: "adminProcessTicketMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "apostleContract", outputs: [ { internalType: "contract ApeironApostle", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "callbackGaslimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE", name: "_mintType", type: "uint8" } ], name: "getSkillIds", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" } ], name: "getTicketMintingStructsByRequestId", outputs: [ { components: [ { internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE", name: "mintType", type: "uint8" }, { internalType: "address", name: "ticketContractAddress", type: "address" }, { internalType: "uint256", name: "ticketId", type: "uint256" }, { internalType: "uint256", name: "gene", type: "uint256" }, { internalType: "uint256", name: "apostleId", type: "uint256" } ], internalType: "struct ApeironApostleTicketMinting.TicketMintingStruct[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_userAddress", type: "address" } ], name: "getUserUnfinishedRequestedHash", outputs: [ { internalType: "bytes32[]", name: "", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "isEnabled", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_ticketContractAddressArray", type: "address[]" }, { internalType: "uint256[]", name: "_ticketIdArray", type: "uint256[]" }, { internalType: "uint256[]", name: "_ticketCountArray", type: "uint256[]" } ], name: "requestTicketMinting", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "_isEnabled", type: "bool" } ], name: "setEnabled", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE", name: "_mintType", type: "uint8" }, { internalType: "uint256", name: "_time", type: "uint256" } ], name: "setForSaleSchedule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_vrfCoordinator", type: "address" }, { internalType: "uint256", name: "_callbackGaslimit", type: "uint256" }, { internalType: "uint256", name: "_addonGasPrice", type: "uint256" } ], name: "setupVRFCoordinator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "ticketContractIdToApostleClassMapping", outputs: [ { internalType: "enum ApostleMeta.ApostleClass", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "ticketContractIdToMintTypeMapping", outputs: [ { internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE", name: "", type: "uint8" } ], name: "ticketMintTypeGeneMapping", outputs: [ { internalType: "uint256", name: "minIV", type: "uint256" }, { internalType: "uint256", name: "maxIV", type: "uint256" }, { internalType: "uint256", name: "minSkillLevel", type: "uint256" }, { internalType: "uint256", name: "maxSkillLevel", type: "uint256" }, { internalType: "uint256", name: "totalSkillLevel", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_nftAddress", type: "address" }, { internalType: "uint256", name: "_ronToUseInRandomness", type: "uint256" } ], name: "updateContractSetting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ApostleMeta.ApostleClass[]", name: "_classArray", type: "uint8[]" }, { internalType: "address[]", name: "_ticketContractAddressArray", type: "address[]" }, { internalType: "uint256[]", name: "_ticketIdArray", type: "uint256[]" } ], name: "updateTicketContractIdToApostleClassMapping", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE[]", name: "_mintTypeArray", type: "uint8[]" }, { internalType: "address[]", name: "_ticketContractAddressArray", type: "address[]" }, { internalType: "uint256[]", name: "_ticketIdArray", type: "uint256[]" } ], name: "updateTicketContractIdToMintTypeMapping", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ApeironApostleTicketMinting.TICKET_MINT_TYPE", name: "_mintType", type: "uint8" }, { components: [ { internalType: "uint256[]", name: "classArray", type: "uint256[]" }, { internalType: "uint256", name: "minIV", type: "uint256" }, { internalType: "uint256", name: "maxIV", type: "uint256" }, { internalType: "uint256", name: "minSkillLevel", type: "uint256" }, { internalType: "uint256", name: "maxSkillLevel", type: "uint256" }, { internalType: "uint256[]", name: "skillIds", type: "uint256[]" }, { internalType: "uint256", name: "totalSkillLevel", type: "uint256" } ], internalType: "struct ApeironApostleTicketMinting.TicketMintTypeGeneStruct", name: "_ticketMintTypeGeneStruct", type: "tuple" } ], name: "updateTicketMintTypeInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "userRequestedHashMap", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_APOSTLE_TICKET_MINTING = { name: "Apeiron Apostle Ticket Minting", address: "0xbc0aa2f6ddef4e2f8b87d2a829bb60a153b7ed5e", is_deprecated: false, created_at: 1702972150, abi: abi15 }; var apeiron_apostle_ticket_minting_default = APEIRON_APOSTLE_TICKET_MINTING; // src/contracts/apeiron_apostle_ticket_minting_proxy.ts var abi16 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_APOSTLE_TICKET_MINTING_PROXY = { name: "Apeiron Apostle Ticket Minting Proxy", address: "0xa81dfb118569533e094819014f39ef50d4c83edb", is_deprecated: false, created_at: 1701710763, abi: abi16 }; var apeiron_apostle_ticket_minting_proxy_default = APEIRON_APOSTLE_TICKET_MINTING_PROXY; // src/contracts/apeiron_bridge_minter.ts var abi17 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "uint256", name: "_fromNetworkChainId", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "_requestIDs", type: "uint256[]" }, { indexed: false, internalType: "enum ApeironBridgeMinter.NFT_TYPE", name: "_nftType", type: "uint8" }, { indexed: false, internalType: "uint256[]", name: "_tokenIDs", type: "uint256[]" } ], name: "MintAsset", 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: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "apostleContract", outputs: [ { internalType: "contract IApeironApostle", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "blacklistContract", outputs: [ { internalType: "contract IBlacklist", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "godiverseCollectionContract", outputs: [ { internalType: "contract IApeironGodiverseCollection", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_targetWallet", type: "address" }, { internalType: "uint256", name: "_fromNetworkChainId", type: "uint256" }, { internalType: "uint256[]", name: "_requestIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "_tokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "_genes", type: "uint256[]" }, { internalType: "uint256[]", name: "_IVs", type: "uint256[]" }, { internalType: "uint256[]", name: "_createTimes", type: "uint256[]" }, { internalType: "uint256", name: "_time", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "mintApostle", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_targetWallet", type: "address" }, { internalType: "uint256", name: "_fromNetworkChainId", type: "uint256" }, { internalType: "uint256[]", name: "_requestIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "_tokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" }, { internalType: "uint256", name: "_time", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "mintGodiverse", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_targetWallet", type: "address" }, { internalType: "uint256", name: "_fromNetworkChainId", type: "uint256" }, { internalType: "uint256[]", name: "_requestIDs", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "tokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "genes", type: "uint256[]" }, { internalType: "uint256[]", name: "breedCounts", type: "uint256[]" }, { internalType: "uint256[]", name: "breedCountMaxs", type: "uint256[]" }, { internalType: "uint256[]", name: "createTimes", type: "uint256[]" }, { internalType: "uint256[]", name: "bornTimes", type: "uint256[]" }, { internalType: "uint256[]", name: "lastBreedTimes", type: "uint256[]" }, { internalType: "uint256[]", name: "parents", type: "uint256[]" }, { internalType: "uint256[]", name: "children", type: "uint256[]" } ], internalType: "struct ApeironBridgeMinter.MintPlanetStruct", name: "_mintPlanetStructs", type: "tuple" }, { internalType: "uint256", name: "_time", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "mintPlanet", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_targetWallet", type: "address" }, { internalType: "uint256", name: "_fromNetworkChainId", type: "uint256" }, { internalType: "uint256[]", name: "_requestIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "_tokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "_genes", type: "uint256[]" }, { internalType: "uint256", name: "_time", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "mintStar", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "mintedTokenMapping", outputs: [ { internalType: "bool", name: "", 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: [], name: "planetContract", outputs: [ { internalType: "contract IApeironPlanet", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "primevalPlanetId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "starContract", outputs: [ { internalType: "contract IApeironStar", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "starDataContract", outputs: [ { internalType: "contract IApeironStarData", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_planetContractAddress", type: "address" }, { internalType: "address", name: "_starContractAddress", type: "address" }, { internalType: "address", name: "_starDataContractAddress", type: "address" }, { internalType: "address", name: "_apostleContractAddress", type: "address" }, { internalType: "address", name: "_godiverseCollectionContractAddress", type: "address" }, { internalType: "address", name: "_systemAddress", type: "address" } ], name: "updateContractSetting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_primevalPlanetId", type: "uint256" } ], name: "updatePrimevalPlanetId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var APEIRON_BRIDGE_MINTER = { name: "Apeiron Bridge Minter", address: "0xb85a5d588e88bba273b47704e3ce5ff0c8a36ab3", is_deprecated: false, created_at: 1702606635, abi: abi17 }; var apeiron_bridge_minter_default = APEIRON_BRIDGE_MINTER; // src/contracts/apeiron_bridge_minter_proxy.ts var abi18 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_BRIDGE_MINTER_PROXY = { name: "Apeiron Bridge Minter Proxy", address: "0x5553054bf3ec1d02ad4d76d1a7617a0144d2a2b0", is_deprecated: false, created_at: 1702607187, abi: abi18 }; var apeiron_bridge_minter_proxy_default = APEIRON_BRIDGE_MINTER_PROXY; // src/contracts/apeiron_godiverse_collection.ts var abi19 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", 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: 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: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "burnBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mintBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mintTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newuri", type: "string" } ], name: "setURI", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var APEIRON_GODIVERSE_COLLECTION = { name: "Apeiron Godiverse Collection", address: "0xf055f7d74b201ba042ec101ffa6e84c4d3f6f40e", is_deprecated: false, created_at: 1701751801, abi: abi19 }; var apeiron_godiverse_collection_default = APEIRON_GODIVERSE_COLLECTION; // src/contracts/apeiron_marketplace_gateway_proxy.ts var abi20 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_MARKETPLACE_GATEWAY_PROXY = { name: "Apeiron Marketplace Gateway Proxy", address: "0xe98650347c5ae0fc803716a676dc7c5b3d445f46", is_deprecated: false, created_at: 1701758455, abi: abi20 }; var apeiron_marketplace_gateway_proxy_default = APEIRON_MARKETPLACE_GATEWAY_PROXY; // src/contracts/apeiron_planet.ts var abi21 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "UpdatePlanet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "blacklist", outputs: [ { internalType: "contract IBlacklist", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "_gene", type: "uint256" }, { internalType: "uint256", name: "_breedCount", type: "uint256" }, { internalType: "uint256", name: "_breedCountMax", type: "uint256" }, { internalType: "uint256", name: "_createTime", type: "uint256" }, { internalType: "uint256", name: "_bornTime", type: "uint256" }, { internalType: "uint256", name: "_lastBreedTime", type: "uint256" }, { internalType: "uint256[]", name: "_parent", type: "uint256[]" }, { internalType: "uint256[]", name: "_children", type: "uint256[]" } ], name: "bridgeMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getPlanetData", outputs: [ { components: [ { internalType: "uint256", name: "gene", type: "uint256" }, { internalType: "uint256", name: "baseAge", type: "uint256" }, { internalType: "uint256", name: "evolve", type: "uint256" }, { internalType: "uint256", name: "breedCount", type: "uint256" }, { internalType: "uint256", name: "breedCountMax", type: "uint256" }, { internalType: "uint256", name: "createTime", type: "uint256" }, { internalType: "uint256", name: "bornTime", type: "uint256" }, { internalType: "uint256", name: "lastBreedTime", type: "uint256" }, { internalType: "uint256[]", name: "relicsTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "parents", type: "uint256[]" }, { internalType: "uint256[]", name: "children", type: "uint256[]" } ], internalType: "struct PlanetMeta.PlanetData", name: "", type: "tuple" }, { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "baseURI_", type: "string" }, { internalType: "bool", name: "pause", type: "bool" }, { internalType: "address", name: "_blacklist", type: "address" } ], name: "ownerSetting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "gene", type: "uint256" }, { internalType: "uint256[]", name: "parents", type: "uint256[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "gene", type: "uint256" }, { internalType: "uint256", name: "addAge", type: "uint256" }, { internalType: "uint256", name: "addEvolve", type: "uint256" }, { internalType: "uint256", name: "addBreedCountMax", type: "uint256" }, { internalType: "bool", name: "setBornTime", type: "bool" } ], name: "updatePlanetData", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var APEIRON_PLANET = { name: "Apeiron Planet", address: "0xbaab8289e96ced54570d72f30de9d7df6c4ad3e7", is_deprecated: false, created_at: 1702693750, abi: abi21 }; var apeiron_planet_default = APEIRON_PLANET; // src/contracts/apeiron_planet_proxy.ts var abi22 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_PLANET_PROXY = { name: "Apeiron Planet Proxy", address: "0x3672f99418ac1dfd71147dbd7c05d4a7aab7aae4", is_deprecated: false, created_at: 1702561152, abi: abi22 }; var apeiron_planet_proxy_default = APEIRON_PLANET_PROXY; // src/contracts/apeiron_star_data_proxy.ts var abi23 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_STAR_DATA_PROXY = { name: "Apeiron Star Data Proxy", address: "0xa939f431f6319516364f329533b371a06a6084d6", is_deprecated: false, created_at: 1702561668, abi: abi23 }; var apeiron_star_data_proxy_default = APEIRON_STAR_DATA_PROXY; // src/contracts/apeiron_star_orbital_track_data_proxy.ts var abi24 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_STAR_ORBITAL_TRACK_DATA_PROXY = { name: "Apeiron Star Orbital Track Data Proxy", address: "0x079eafbc1b4808163fbd55fb4e460cc8fe556230", is_deprecated: false, created_at: 1702561740, abi: abi24 }; var apeiron_star_orbital_track_data_proxy_default = APEIRON_STAR_ORBITAL_TRACK_DATA_PROXY; // src/contracts/apeiron_star_proxy.ts var abi25 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_STAR_PROXY = { name: "Apeiron Star Proxy", address: "0xa1d7b6d5d9d6749a17e5c9411b1be90e0f2738e1", is_deprecated: false, created_at: 1702561653, abi: abi25 }; var apeiron_star_proxy_default = APEIRON_STAR_PROXY; // src/contracts/apeiron_token_converter_proxy.ts var abi26 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_TOKEN_CONVERTER_PROXY = { name: "Apeiron Token Converter Proxy", address: "0x11b0f217ce6aea68d76bab3c0e449fb3241483b9", is_deprecated: false, created_at: 1730457343, abi: abi26 }; var apeiron_token_converter_proxy_default = APEIRON_TOKEN_CONVERTER_PROXY; // src/contracts/apeiron_vesting.ts var abi27 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", 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: true, internalType: "address", name: "beneficiary", type: "address" } ], name: "RevokeVesting", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "FDVFactor", type: "uint256" } ], name: "SetFDVFactor", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "percentageBase", type: "uint256" } ], name: "SetPercentageBase", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beneficiary", type: "address" }, { components: [ { internalType: "uint256", name: "initialUnlockPercentage", type: "uint256" }, { internalType: "uint256", name: "cliff", type: "uint256" }, { internalType: "uint256", name: "start", type: "uint256" }, { internalType: "uint256", name: "duration", type: "uint256" }, { internalType: "uint256", name: "released", type: "uint256" }, { internalType: "uint256", name: "totalAmount", type: "uint256" }, { internalType: "bool", name: "affectedByFDV", type: "bool" } ], indexed: false, internalType: "struct ApeironVesting.VestingStruct", name: "vesting", type: "tuple" } ], name: "SetVesting", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address" } ], name: "SetVestingToken", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beneficiary", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "VestingAmountAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "successBeneficiaries", type: "address[]" }, { indexed: false, internalType: "address[]", name: "failureBeneficiaries", type: "address[]" } ], name: "VestingCliffAndDurationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beneficiary", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "VestingReleased", type: "event" }, { inputs: [], name: "FDVFactor", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_beneficiaries", type: "address[]" }, { internalType: "uint256[]", name: "_initialUnlockPercentages", type: "uint256[]" }, { internalType: "uint256[]", name: "_cliffs", type: "uint256[]" }, { internalType: "uint256[]", name: "_starts", type: "uint256[]" }, { internalType: "uint256[]", name: "_durations", type: "uint256[]" }, { internalType: "uint256[]", name: "_releaseds", type: "uint256[]" }, { internalType: "uint256[]", name: "_totalAmounts", type: "uint256[]" }, { internalType: "bool[]", name: "_affectedByFDVs", type: "bool[]" } ], name: "addMultiVestingAccount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" }, { internalType: "uint256", name: "_initialUnlockPercentage", type: "uint256" }, { internalType: "uint256", name: "_cliff", type: "uint256" }, { internalType: "uint256", name: "_start", type: "uint256" }, { internalType: "uint256", name: "_duration", type: "uint256" }, { internalType: "uint256", name: "_released", type: "uint256" }, { internalType: "uint256", name: "_totalAmount", type: "uint256" }, { internalType: "bool", name: "_affectedByFDV", type: "bool" } ], name: "addVestingAccount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "aprsToken", outputs: [ { internalType: "contract IERC20Upgradeable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "contractAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" } ], name: "getAccountClaimableAndReleasedAmount", outputs: [ { internalType: "uint256", name: "totalClaimable", type: "uint256" }, { internalType: "uint256", name: "totalReleased", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" } ], name: "getAccountTotalAmount", outputs: [ { internalType: "uint256", name: "totalAmount", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" } ], name: "getCurrentVestedAmount", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" }, { internalType: "uint256", name: "_blockNum", type: "uint256" } ], name: "getVestedAmount", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" } ], name: "getVestingAccount", outputs: [ { components: [ { internalType: "uint256", name: "initialUnlockPercentage", type: "uint256" }, { internalType: "uint256", name: "cliff", type: "uint256" }, { internalType: "uint256", name: "start", type: "uint256" }, { internalType: "uint256", name: "duration", type: "uint256" }, { internalType: "uint256", name: "released", type: "uint256" }, { internalType: "uint256", name: "totalAmount", type: "uint256" }, { internalType: "bool", name: "affectedByFDV", type: "bool" } ], internalType: "struct ApeironVesting.VestingStruct[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "percentageBase", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_releaseAmount", type: "uint256" } ], name: "release", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" } ], name: "revokeVestingAccount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_FDVFactor", type: "uint256" } ], name: "setFDVFactor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_percentageBase", type: "uint256" } ], name: "setPercentageBase", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" } ], name: "setVestingToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_beneficiaries", type: "address[]" }, { internalType: "uint256[]", name: "_cliffs", type: "uint256[]" }, { internalType: "uint256[]", name: "_durations", type: "uint256[]" } ], name: "updateMultiVestingCliffAndDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_beneficiary", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "uint256", name: "_cliff", type: "uint256" }, { internalType: "uint256", name: "_duration", type: "uint256" } ], name: "updateVestingCliffAndDuration", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "vestingMap", outputs: [ { internalType: "uint256", name: "initialUnlockPercentage", type: "uint256" }, { internalType: "uint256", name: "cliff", type: "uint256" }, { internalType: "uint256", name: "start", type: "uint256" }, { internalType: "uint256", name: "duration", type: "uint256" }, { internalType: "uint256", name: "released", type: "uint256" }, { internalType: "uint256", name: "totalAmount", type: "uint256" }, { internalType: "bool", name: "affectedByFDV", type: "bool" } ], stateMutability: "view", type: "function" } ]; var APEIRON_VESTING = { name: "Apeiron Vesting", address: "0x679a9dff43e71b31983c8c216e968948238cc71e", is_deprecated: false, created_at: 1716884074, abi: abi27 }; var apeiron_vesting_default = APEIRON_VESTING; // src/contracts/apeiron_vesting_proxy.ts var abi28 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_VESTING_PROXY = { name: "Apeiron Vesting Proxy", address: "0x2d9c6e76d366ae72f8a22d7b3ed30886856f2286", is_deprecated: false, created_at: 1711010060, abi: abi28 }; var apeiron_vesting_proxy_default = APEIRON_VESTING_PROXY; // src/contracts/apeiron_vip_token_staking_proxy.ts var abi29 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APEIRON_VIP_TOKEN_STAKING_PROXY = { name: "Apeiron Vip Token Staking Proxy", address: "0x311b7bc9c5811f20b741934c8b63ff17fdf07ad1", is_deprecated: false, created_at: 1730457250, abi: abi29 }; var apeiron_vip_token_staking_proxy_default = APEIRON_VIP_TOKEN_STAKING_PROXY; // src/contracts/apostle_bounty.ts var abi30 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_bountyId", type: "uint256" } ], name: "CancelBounty", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_bountyId", type: "uint256" }, { indexed: false, internalType: "address", name: "_bountyCreator", type: "address" }, { indexed: false, internalType: "uint256", name: "_classId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_mainSkillId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_otherSkillId_1", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_otherSkillId_2", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "_minSkillLevels", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "_minIV", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_reforgeCount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_numberToBuy", type: "uint256" }, { indexed: false, internalType: "address", name: "_tokenAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "_pricePerApostle", type: "uint256" } ], name: "CreateBounty", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_bountyId", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "_apostleIds", type: "uint256[]" }, { indexed: false, internalType: "address", name: "_fulfiller", type: "address" } ], name: "FulfillBounty", 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: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "apostleContract", outputs: [ { internalType: "contract ApeironApostle", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_bountyId", type: "uint256" } ], name: "cancelBounty", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "cancelTimeMap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_classId", type: "uint256" }, { internalType: "uint256", name: "_mainSkillId", type: "uint256" }, { internalType: "uint256", name: "_otherSkillId_1", type: "uint256" }, { internalType: "uint256", name: "_otherSkillId_2", type: "uint256" }, { internalType: "uint256[]", name: "_minSkillLevels", type: "uint256[]" }, { internalType: "uint256", name: "_minIV", type: "uint256" }, { internalType: "uint256", name: "_numberToBuy", type: "uint256" }, { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_pricePerApostle", type: "uint256" } ], name: "createBounty", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "currentBountyId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "earningAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "earningPercentage", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_bountyId", type: "uint256" }, { internalType: "uint256[]", name: "_apostleIds", type: "uint256[]" } ], name: "fulfillBounty", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_bountyId", type: "uint256" } ], name: "getBountyData", outputs: [ { components: [ { internalType: "address", name: "bountyCreator", type: "address" }, { internalType: "uint256", name: "classId", type: "uint256" }, { internalType: "uint256", name: "mainSkillId", type: "uint256" }, { internalType: "uint256", name: "otherSkillId_1", type: "uint256" }, { internalType: "uint256", name: "otherSkillId_2", type: "uint256" }, { internalType: "uint256[]", name: "minSkillLevels", type: "uint256[]" }, { internalType: "uint256", name: "minIV", type: "uint256" }, { internalType: "uint256", name: "reforgeCount", type: "uint256" }, { internalType: "uint256", name: "initialBountyNumber", type: "uint256" }, { internalType: "uint256", name: "remainingBountyNumber", type: "uint256" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "pricePerApostle", type: "uint256" }, { internalType: "bool", name: "isCancelled", type: "bool" } ], internalType: "struct ApostleBounty.BountyApostleData", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "isWhitelistedToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "lastFulfillTimeMap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "percentageBase", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_apostleAddress", type: "address" }, { internalType: "address", name: "_earningAddress", type: "address" }, { internalType: "uint256", name: "_percentageBase", type: "uint256" }, { internalType: "uint256", name: "_earningPercentage", type: "uint256" } ], name: "updateContractSetting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokenAddressArray", type: "address[]" }, { internalType: "bool", name: "_isWhitelisted", type: "bool" } ], name: "updateWhitelistTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var APOSTLE_BOUNTY = { name: "Apostle Bounty", address: "0x36b28d5d41dcc0068361219df1376d1f7fbb3c97", is_deprecated: false, created_at: 1724227656, abi: abi30 }; var apostle_bounty_default = APOSTLE_BOUNTY; // src/contracts/apostle_bounty_proxy.ts var abi31 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var APOSTLE_BOUNTY_PROXY = { name: "Apostle Bounty Proxy", address: "0x0b3ef6d18c191c25a7eaac0486e640ad0781a1a4", is_deprecated: false, created_at: 1724227665, abi: abi31 }; var apostle_bounty_proxy_default = APOSTLE_BOUNTY_PROXY; // src/contracts/app_axie_order_exchange.ts var abi32 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "maker", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "MakerNonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "", type: "bytes32" }, { indexed: false, internalType: "address", name: "requester", type: "address" } ], name: "OrderCancelled", type: "event" }, { anonymous: false, inputs: [ { components: [ { components: [ { internalType: "address", name: "maker", type: "address" }, { internalType: "enum OrderKind", name: "kind", type: "uint8" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "baseUnitPrice", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" }, { internalType: "uint256", name: "endedUnitPrice", type: "uint256" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bool", name: "verified", type: "bool" } ], internalType: "struct GenericOrder", name: "info", type: "tuple" }, { internalType: "uint256", name: "realPrice", type: "uint256" }, { internalType: "bytes", name: "extraData", type: "bytes" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], indexed: false, internalType: "struct GenericOrderExtended", name: "order", type: "tuple" }, { indexed: false, internalType: "uint256", name: "settlePrice", type: "uint256" }, { indexed: false, internalType: "address", name: "settleToken", type: "address" }, { indexed: false, internalType: "address", name: "matcher", type: "address" }, { indexed: false, internalType: "uint256", name: "acceptedSettlePrice", type: "uint256" }, { components: [ { internalType: "enum IMarketCommission.AllocType", name: "allocType", type: "uint8" }, { internalType: "address payable", name: "recipient", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "ratio", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], indexed: false, internalType: "struct IMarketCommission.Allocation[]", name: "receivedAllocs", type: "tuple[]" } ], name: "OrderMatched", 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" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MARKET_OPERATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "orderData", type: "bytes" } ], name: "cancelOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" } ], name: "getState", outputs: [ { internalType: "uint256", name: "", 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: [], name: "increaseNonceMaker", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "interfaceName", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "maker", type: "address" } ], name: "makerNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], name: "orderFinalized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bytes", name: "orderData", type: "bytes" } ], name: "orderValid", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", 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: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "settlePrice", type: "uint256" } ], name: "settleOrder", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "swapRONAndSettleOrder", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "settlePrice", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "swapTokensAndSettleOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "hashList", type: "bytes32[]" } ], name: "tryBulkCancelOrderByHash", outputs: [ { internalType: "bool[]", name: "orderAlreadyFinalized", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" } ]; var APP_AXIE_ORDER_EXCHANGE = { name: "App Axie Order Exchange", address: "0xe35cbc0a0f2025e3bd9ec8e1f30644df333c820f", is_deprecated: false, created_at: 1700712603, abi: abi32 }; var app_axie_order_exchange_default = APP_AXIE_ORDER_EXCHANGE; // src/contracts/appraisal_oracle.ts var abi33 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { constant: true, inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "_isAppraiser", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newAppraiser", type: "address" } ], name: "_setAppraiser", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "setAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "wire", type: "tuple" } ], name: "verifyAppraisals", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "verifySignature", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var APPRAISAL_ORACLE = { name: "Appraisal Oracle", address: "0x4f6da48bf7b065634995c5d177e6beb162a5602f", is_deprecated: false, created_at: 1672169499, abi: abi33 }; var appraisal_oracle_default = APPRAISAL_ORACLE; // src/contracts/aprs.ts var abi34 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "cap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var APRS = { name: "Aprs", address: "0x9f871d16a328584a90df00f92f1d7cffb70e874a", is_deprecated: false, created_at: 1710492922, abi: abi34 }; var aprs_default = APRS; // src/contracts/arm_proxy.ts var abi35 = [ { inputs: [ { internalType: "address", name: "arm", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ZeroAddressNotAllowed", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "arm", type: "address" } ], name: "ARMSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" } ], name: "OwnershipTransferRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [], stateMutability: "nonpayable", type: "fallback" }, { inputs: [], name: "acceptOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getARM", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "arm", type: "address" } ], name: "setARM", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "typeAndVersion", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var ARM_PROXY = { name: "ARM Proxy", address: "0xcea253a8c2bb995054524d071498281e89aacd59", is_deprecated: false, created_at: 1730294304, abi: abi35 }; var arm_proxy_default = ARM_PROXY; // src/contracts/armory_1155.ts var abi36 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "_supplies", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "authorisedCallers", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseUri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_for", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burnFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_uri_", type: "string" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "locked", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "mintFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mintFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tos", type: "address[]" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "mintFor", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_caller", type: "address" }, { internalType: "bool", name: "_value", type: "bool" } ], name: "setCaller", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "bool", name: "_lock", type: "bool" } ], name: "setLock", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "string", name: "_uri_", type: "string" } ], name: "setUri", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_uri_", type: "string" } ], name: "updateBaseUri", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "uris", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var ARMORY_1155 = { name: "Armory 1155", address: "0xd1b327f392cceb73a54f42e15e2a0a043eeed002", is_deprecated: false, created_at: 1711056782, abi: abi36 }; var armory_1155_default = ARMORY_1155; // src/contracts/armory_1155_proxy.ts var abi37 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var ARMORY_1155_PROXY = { name: "Armory 1155 Proxy", address: "0x02286d77425ae3287335ff28b264109225ed6991", is_deprecated: false, created_at: 1710932381, abi: abi37 }; var armory_1155_proxy_default = ARMORY_1155_PROXY; // src/contracts/atia_shrine.ts var abi38 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrActivateBeforeStartingBlock", type: "error" }, { inputs: [], name: "ErrAlreadyActivatedStreak", type: "error" }, { inputs: [], name: "ErrInvalidActiveStreakLifeTime", type: "error" }, { inputs: [], name: "ErrInvalidResetDuration", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "streakLifeTime", type: "uint256" } ], name: "ActiveStreakLifeTimeChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "newResetDuration", type: "uint256" } ], name: "ResetDurationUpdated", 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: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "newAmount", type: "uint256" }, { indexed: true, internalType: "uint256", name: "newLastUpdated", type: "uint256" } ], name: "StreakUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "activateStreak", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "activeStreakLifeTime", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "getStreak", outputs: [ { internalType: "uint256", name: "_streakAmount", type: "uint256" }, { internalType: "uint256", name: "_lastActivated", 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: "address", name: "_user", type: "address" } ], name: "hasCurrentlyActivated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", 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: "uint256", name: "_streakLifeTime", type: "uint256" }, { internalType: "uint256", name: "_startAtBlock", type: "uint256" }, { internalType: "address", name: "_admin", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_streakLifeTime", type: "uint256" }, { internalType: "uint256", name: "_resetTime", type: "uint256" } ], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "resetDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "addresses", type: "address[]" }, { internalType: "uint256[]", name: "streaks", type: "uint256[]" } ], name: "restoreStreak", 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: "uint256", name: "newResetDuration", type: "uint256" } ], name: "setResetDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "startedAtBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var ATIA_SHRINE = { name: "Atia Shrine", address: "0x2b0a41dcd9d6c520774daff8f64afb5431707c10", is_deprecated: false, created_at: 1692185616, abi: abi38 }; var atia_shrine_default = ATIA_SHRINE; // src/contracts/atias_blessing.ts var abi39 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ATIAS_BLESSING = { name: "Atias Blessing", address: "0x9d3936dbd9a794ee31ef9f13814233d435bd806c", is_deprecated: false, created_at: 1686041020, abi: abi39 }; var atias_blessing_default = ATIAS_BLESSING; // src/contracts/axie.ts var abi40 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" }, { internalType: "enum IAxie.AxieStage", name: "stage", type: "uint8" }, { internalType: "uint256", name: "neededDuration", type: "uint256" } ], name: "AxieStageNotReadyToGrow", type: "error" }, { inputs: [], name: "EmptyGenes", type: "error" }, { inputs: [ { internalType: "uint256", name: "hoppingAxieId", type: "uint256" } ], name: "HoppingAxieAlreadyOwned", type: "error" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" }, { internalType: "uint256", name: "hoppingAxieId", type: "uint256" } ], name: "InvalidHoppingAxieId", type: "error" }, { inputs: [ { internalType: "bytes4", name: "sig", type: "bytes4" } ], name: "InvalidLength", type: "error" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "NonExistentAxie", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "NonExistentToken", type: "error" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "NotAxieAdult", type: "error" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "NotAxiegg", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15AlreadyAttachedContext", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], name: "REP15AlreadyDelegatedOwnership", type: "error" }, { inputs: [ { internalType: "uint64", name: "detachingDuration", type: "uint64" } ], name: "REP15ExceededMaxDetachingDuration", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], name: "REP15ExistentContext", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15InactiveOwnershipDelegation", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "delegatee", type: "address" } ], name: "REP15InsufficientApproval", type: "error" }, { inputs: [ { internalType: "bytes4", name: "sig", type: "bytes4" } ], name: "REP15InvalidBatchLength", type: "error" }, { inputs: [ { internalType: "address", name: "controller", type: "address" } ], name: "REP15InvalidController", type: "error" }, { inputs: [ { internalType: "address", name: "delegatee", type: "address" } ], name: "REP15InvalidDelegatee", type: "error" }, { inputs: [ { internalType: "uint64", name: "until", type: "uint64" } ], name: "REP15InvalidDelegationExpiration", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15NonexistentAttachedContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], name: "REP15NonexistentContext", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15NonexistentPendingOwnershipDelegation", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15NotRequestedForDetachment", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15RequestedForDetachment", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint64", name: "current", type: "uint64" }, { internalType: "uint64", name: "readyAt", type: "uint64" } ], name: "REP15UnreadyForDetachment", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "sig", type: "bytes4" } ], name: "UnauthorizedOperator", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], indexed: false, internalType: "struct AxieGenetics.Genes", name: "_genes", type: "tuple" } ], name: "AxieEvolved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "level", type: "uint256" } ], name: "AxieLevelUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], indexed: false, internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" } ], name: "AxieMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], indexed: false, internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" }, { components: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], indexed: false, internalType: "struct IAxie.Axiegg", name: "_axiegg", type: "tuple" } ], name: "AxieggMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "sireId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "matronId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" }, { indexed: false, internalType: "uint8", name: "sireBreedCount", type: "uint8" }, { indexed: false, internalType: "uint8", name: "matronBreedCount", type: "uint8" }, { components: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], indexed: false, internalType: "struct IAxie.Axiegg", name: "axiegg", type: "tuple" } ], name: "BreedingInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ContextAttached", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ContextDetached", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ContextDetachmentRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "bool", name: "locked", type: "bool" } ], name: "ContextLockUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "controller", type: "address" }, { indexed: false, internalType: "uint64", name: "detachingDuration", type: "uint64" } ], name: "ContextUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "user", type: "address" } ], name: "ContextUserAssigned", 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: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "delegatee", type: "address" }, { indexed: false, internalType: "uint64", name: "until", type: "uint64" } ], name: "OwnershipDelegationAccepted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "delegatee", type: "address" }, { indexed: false, internalType: "uint64", name: "until", type: "uint64" } ], name: "OwnershipDelegationStarted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "delegatee", type: "address" } ], name: "OwnershipDelegationStopped", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSetAll", 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: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenOperatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenPermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "SEEDER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "acceptOwnershipDelegation", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "attachContext", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axie", outputs: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axiegg", outputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "ctxHashes", type: "bytes32[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "bytes[]", name: "data", type: "bytes[]" } ], name: "batchAttachContexts", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_axieIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_seeds", type: "uint256[]" } ], name: "batchGrowAxieggsToAdults", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "bytes[]", name: "_axiePackages", type: "bytes[]" }, { internalType: "bytes[]", name: "_axieggPackages", type: "bytes[]" }, { internalType: "address", name: "_owner", type: "address" } ], name: "batchMintAxieggs", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "bytes[]", name: "_packages", type: "bytes[]" }, { internalType: "address", name: "_owner", type: "address" } ], name: "batchMintAxies", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "controller", type: "address" }, { internalType: "uint64", name: "detachingDuration", type: "uint64" }, { internalType: "bytes", name: "ctxMsg", type: "bytes" } ], name: "createContext", outputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "currentAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_genes", type: "tuple" } ], name: "evolveAxie", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "execDetachContext", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "geneBrewerContract", outputs: [ { internalType: "contract IAxieGeneBrewer", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "getAxie", outputs: [ { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], internalType: "struct IAxie.Axie", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "getAxiegg", outputs: [ { components: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], internalType: "struct IAxie.Axiegg", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], name: "getContext", outputs: [ { internalType: "address", name: "controller", type: "address" }, { internalType: "uint64", name: "detachingDuration", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getContextUser", outputs: [ { internalType: "address", name: "user", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getOwnershipDelegatee", outputs: [ { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getOwnershipManager", outputs: [ { internalType: "address", name: "manager", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { internalType: "uint256", name: "_seed", type: "uint256" } ], name: "growAxieggToAdult", 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: "uint256", name: "", type: "uint256" } ], name: "hoppingAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "isAttachedWithContext", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isAuthorized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isFunctionOperatorOfToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isPermissionSet", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isPermissionSetAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "isTokenContextLocked", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isTokenOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxDetachingDuration", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" } ], name: "mintAxie", outputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { internalType: "uint256", name: "_hoppingAxieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" }, { internalType: "address", name: "_to", type: "address" } ], name: "mintPromoAxie", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "operatorPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "pendingOwnershipDelegatee", outputs: [ { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "requestDetachContext", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "seeder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "seeders", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_toAdultDuration", type: "uint256" } ], name: "setAdultDuration", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setAllPermissionFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" }, { internalType: "uint16", name: "level", type: "uint16" } ], name: "setAxieLevel", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "newGene", type: "tuple" } ], name: "setAxiePartsStage", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "setBreedingInfo", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bool", name: "lock", type: "bool" } ], name: "setContextLock", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "user", type: "address" } ], name: "setContextUser", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_currentAxieId", type: "uint256" } ], name: "setCurrentAxieId", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setFunctionOperatorForToken", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IAxieGeneBrewer", name: "_geneBrewerContract", type: "address" } ], name: "setGeneBrewerContract", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_axieIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_hoppingAxieIds", type: "uint256[]" } ], name: "setHoppingAxieIds", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setPermissionFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setTokenOperator", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "stageOf", outputs: [ { internalType: "enum IAxie.AxieStage", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], name: "startDelegateOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "stopOwnershipDelegation", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "toAdultDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "tokenPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenPermissionInfos", outputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "funcSig", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "address", name: "newController", type: "address" }, { internalType: "uint64", name: "newDetachingDuration", type: "uint64" } ], name: "updateContext", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var AXIE = { name: "Axie", address: "0x861f56cd7069d200f7c4fcb25e66670aa2780434", is_deprecated: false, created_at: 1728656609, abi: abi40 }; var axie_default = AXIE; // src/contracts/axie_accessory_collection.ts var abi41 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_ACCESSORY_COLLECTION = { name: "Axie Accessory Collection", address: "0xbd1f28aabe799df4735d8da3841007580e509f08", is_deprecated: false, created_at: 1671444433, abi: abi41 }; var axie_accessory_collection_default = AXIE_ACCESSORY_COLLECTION; // src/contracts/axie_ascend_logic.ts var abi42 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract IERC20", name: "ascendLevelFeeToken", type: "address" }, { indexed: true, internalType: "contract IERC20", name: "baseToken", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ascendLevelFees", type: "uint256[]" }, { indexed: false, internalType: "uint16", name: "levelMilestone", type: "uint16" } ], name: "AscendFeeInfoConfigUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "axieContractAddress", type: "address" } ], name: "AxieContractAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "level", type: "uint256" }, { indexed: true, internalType: "uint256", name: "deadline", type: "uint256" } ], name: "AxieLevelAscended", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "feeReceiverAddress", type: "address" } ], name: "FeeReceiverAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "materialContractAddress", type: "address" } ], name: "MaterialContractAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "milestoneCount", type: "uint256" } ], name: "MysticAxieAscended", 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: false, internalType: "address", name: "routerContractAddress", type: "address" } ], name: "RouterContractAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_ascendLevelFeeToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "_ascendLevelFees", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_axieContract", outputs: [ { internalType: "contract IAxie", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_baseToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_feeReceiver", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_levelMilestone", outputs: [ { internalType: "uint16", name: "", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_materialContract", outputs: [ { internalType: "contract IMaterial", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_routerContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" }, { internalType: "uint16", name: "targetLevel", type: "uint16" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "ascendLevel", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getAscendLevelFees", outputs: [ { internalType: "uint256[]", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "contract IAxie", name: "axieContract", type: "address" }, { internalType: "contract IMaterial", name: "materialContract", type: "address" }, { internalType: "address", name: "routerContract", type: "address" }, { internalType: "address", name: "feeReceiver_", type: "address" }, { internalType: "contract IERC20", name: "baseToken", type: "address" }, { internalType: "contract IERC20", name: "ascendLevelFeeToken", type: "address" }, { internalType: "uint256[]", name: "ascendLevelFees", type: "uint256[]" }, { internalType: "uint16", name: "levelMilestone", type: "uint16" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "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: "uint256[]", name: "ascendLevelFees", type: "uint256[]" }, { internalType: "contract IERC20", name: "ascendLevelFeeToken", type: "address" }, { internalType: "contract IERC20", name: "baseToken", type: "address" }, { internalType: "uint16", name: "levelMilestone", type: "uint16" } ], name: "setAscendLevelFeesInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IAxie", name: "addr", type: "address" } ], name: "setAxieContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "setFeeReceiver", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IMaterial", name: "addr", type: "address" } ], name: "setMaterialContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "setRouterContract", 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" } ]; var AXIE_ASCEND_LOGIC = { name: "AxieAscendLogic", address: "0xff3c4d02128fb0976a27bfa1a2b7940ca48a53d8", is_deprecated: false, created_at: 1701253653, abi: abi42 }; var axie_ascend_logic_default = AXIE_ASCEND_LOGIC; // src/contracts/axie_ascend_proxy.ts var abi43 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_ASCEND_PROXY = { name: "AxieAscendProxy", address: "0xdd1cf28ab12413501ea6750083dc027c5857f4d0", is_deprecated: false, created_at: 1701253653, abi: abi43 }; var axie_ascend_proxy_default = AXIE_ASCEND_PROXY; // src/contracts/axie_badge_proxy.ts var abi44 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_BADGE_PROXY = { name: "Axie Badge Proxy", address: "0x1cdb9c49ffc178356cffc0db31a94fb41168a734", is_deprecated: false, created_at: 1692609747, abi: abi44 }; var axie_badge_proxy_default = AXIE_BADGE_PROXY; // src/contracts/axie_breeding_proxy.ts var abi45 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var AXIE_BREEDING_PROXY = { name: "Axie Breeding Proxy", address: "0x74d1ca99f9ed20f1b9ed4297ffe245ceaacf519e", is_deprecated: false, created_at: 1728656609, abi: abi45 }; var axie_breeding_proxy_default = AXIE_BREEDING_PROXY; // src/contracts/axie_chat_premium_2023.ts var abi46 = [ { inputs: [ { internalType: "string", name: "_tokenURL", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_tokenURL", type: "string" } ], name: "setTokenURL", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "tokenURL", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var AXIE_CHAT_PREMIUM_2023 = { name: "Axie Chat Premium 2023", address: "0x793bf8e05ebf5082baf944f20b1ae8fa14ab677f", is_deprecated: false, created_at: 1690172587, abi: abi46 }; var axie_chat_premium_2023_default = AXIE_CHAT_PREMIUM_2023; // src/contracts/axie_consumable_consumer_logic.ts var abi47 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrInvalidCocoId", type: "error" }, { inputs: [], name: "ErrUnauthorizedSender", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IAxie", name: "axieContract", type: "address" } ], name: "AxieContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IAxieConsumableERC1155", name: "consumableContract", type: "address" } ], name: "ConsumableContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amountConsumed", type: "uint256" } ], name: "Consumed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" }, { internalType: "uint256", name: "consumableId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "consume", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" }, { internalType: "contract IAxieConsumableERC1155", name: "consumableContract", type: "address" }, { internalType: "contract IAxie", name: "axieContract", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "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: "contract IAxie", name: "axieContract", type: "address" } ], name: "setAxieContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IAxieConsumableERC1155", name: "consumableContract", type: "address" } ], name: "setConsumableContract", 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" } ]; var AXIE_CONSUMABLE_CONSUMER_LOGIC = { name: "AxieConsumableConsumerLogic", address: "0x51e4438cf5b943db417c44b3b64855ad43b3a41a", is_deprecated: false, created_at: 1702268420, abi: abi47 }; var axie_consumable_consumer_logic_default = AXIE_CONSUMABLE_CONSUMER_LOGIC; // src/contracts/axie_consumable_consumer_proxy.ts var abi48 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_CONSUMABLE_CONSUMER_PROXY = { name: "AxieConsumableConsumerProxy", address: "0xeaa3d9af9c9c218dae63922c97eeee6c3f770e15", is_deprecated: false, created_at: 1702268420, abi: abi48 }; var axie_consumable_consumer_proxy_default = AXIE_CONSUMABLE_CONSUMER_PROXY; // src/contracts/axie_consumable_erc1155_proxy.ts var abi49 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_CONSUMABLE_ERC1155_PROXY = { name: "AxieConsumableERC1155Proxy", address: "0x737b80335a9396a8658405d7adcbc57343ff0558", is_deprecated: false, created_at: 1702268420, abi: abi49 }; var axie_consumable_erc1155_proxy_default = AXIE_CONSUMABLE_ERC1155_PROXY; // src/contracts/axie_delegation_proxy.ts var abi50 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var AXIE_DELEGATION_PROXY = { name: "Axie Delegation Proxy", address: "0xd6d11474eb323521ada927f14a4b839b90009ac8", is_deprecated: false, created_at: 1729065086, abi: abi50 }; var axie_delegation_proxy_default = AXIE_DELEGATION_PROXY; // src/contracts/axie_egg_coin.ts var abi51 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var AXIE_EGG_COIN = { name: "Axie Egg Coin", address: "0x173a2d4fa585a63acd02c107d57f932be0a71bcc", is_deprecated: false, created_at: 1622180492, abi: abi51 }; var axie_egg_coin_default = AXIE_EGG_COIN; // src/contracts/axie_erc1155_logic.ts var abi52 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "burnBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "address[]", name: "_minters", type: "address[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mintBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var AXIE_ERC1155_LOGIC = { name: "Axie ERC1155 Logic", address: "0x31cf8adebe491a53c732c34506ea162c731e6c68", is_deprecated: false, created_at: 1660119394, abi: abi52 }; var axie_erc1155_logic_default = AXIE_ERC1155_LOGIC; // src/contracts/axie_gene_brewer.ts var abi53 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { constant: false, inputs: [ { internalType: "contract IAxieBreedingEvent", name: "_breedingEvent", type: "address" } ], name: "addBreedingEvent", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "breedingEvents", outputs: [ { internalType: "contract IAxieBreedingEvent", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { internalType: "uint256", name: "_birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_matronGenes", type: "tuple" }, { internalType: "uint256", name: "_initialSeed", type: "uint256" } ], name: "brew", outputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_genes", type: "tuple" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_genes", type: "tuple" } ], name: "isAgamoGenes", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mutableBodies", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "partDetailRandomRatio", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "partGeneDetails", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { internalType: "uint256", name: "_birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_matronGenes", type: "tuple" }, { internalType: "uint256", name: "_initialSeed", type: "uint256" } ], name: "peekOffspringGenes", outputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_genes", type: "tuple" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "removeBreedingEvent", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_bodies", type: "uint256[]" }, { internalType: "bool", name: "_approve", type: "bool" } ], name: "setMutableBodies", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_partDetailRandomRatio", type: "uint256" } ], name: "setPartDetailRandomRatio", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_partType", type: "uint256" }, { internalType: "uint256[]", name: "_partGeneDetails", type: "uint256[]" } ], name: "setPartGeneDetails", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var AXIE_GENE_BREWER = { name: "Axie Gene Brewer", address: "0x54e91daf9362900f94d32bd084beff4bdb73ea62", is_deprecated: false, created_at: 1619683208, abi: abi53 }; var axie_gene_brewer_default = AXIE_GENE_BREWER; // src/contracts/axie_infinity_shard.ts var abi54 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "cappedSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var AXIE_INFINITY_SHARD = { name: "Axie Infinity Shard", address: "0x97a9107c1793bc407d6f527b77e7fff4d812bece", is_deprecated: false, created_at: 1619582027, abi: abi54 }; var axie_infinity_shard_default = AXIE_INFINITY_SHARD; // src/contracts/axie_initializer.ts var abi55 = [ { inputs: [ { internalType: "address", name: "axieImpl", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "NonExistentToken", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15AlreadyAttachedContext", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], name: "REP15AlreadyDelegatedOwnership", type: "error" }, { inputs: [ { internalType: "uint64", name: "detachingDuration", type: "uint64" } ], name: "REP15ExceededMaxDetachingDuration", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], name: "REP15ExistentContext", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15InactiveOwnershipDelegation", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "delegatee", type: "address" } ], name: "REP15InsufficientApproval", type: "error" }, { inputs: [ { internalType: "bytes4", name: "sig", type: "bytes4" } ], name: "REP15InvalidBatchLength", type: "error" }, { inputs: [ { internalType: "address", name: "controller", type: "address" } ], name: "REP15InvalidController", type: "error" }, { inputs: [ { internalType: "address", name: "delegatee", type: "address" } ], name: "REP15InvalidDelegatee", type: "error" }, { inputs: [ { internalType: "uint64", name: "until", type: "uint64" } ], name: "REP15InvalidDelegationExpiration", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15NonexistentAttachedContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], name: "REP15NonexistentContext", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15NonexistentPendingOwnershipDelegation", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15NotRequestedForDetachment", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "REP15RequestedForDetachment", type: "error" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint64", name: "current", type: "uint64" }, { internalType: "uint64", name: "readyAt", type: "uint64" } ], name: "REP15UnreadyForDetachment", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "sig", type: "bytes4" } ], name: "UnauthorizedOperator", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ContextAttached", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ContextDetached", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ContextDetachmentRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "bool", name: "locked", type: "bool" } ], name: "ContextLockUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "controller", type: "address" }, { indexed: false, internalType: "uint64", name: "detachingDuration", type: "uint64" } ], name: "ContextUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "user", type: "address" } ], name: "ContextUserAssigned", 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: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "delegatee", type: "address" }, { indexed: false, internalType: "uint64", name: "until", type: "uint64" } ], name: "OwnershipDelegationAccepted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "delegatee", type: "address" }, { indexed: false, internalType: "uint64", name: "until", type: "uint64" } ], name: "OwnershipDelegationStarted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "delegatee", type: "address" } ], name: "OwnershipDelegationStopped", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSetAll", 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: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenOperatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenPermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "IMPLEMENTATION", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "SEEDER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "acceptOwnershipDelegation", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "attachContext", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axie", outputs: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axiegg", outputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "ctxHashes", type: "bytes32[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "bytes[]", name: "data", type: "bytes[]" } ], name: "batchAttachContexts", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "controller", type: "address" }, { internalType: "uint64", name: "detachingDuration", type: "uint64" }, { internalType: "bytes", name: "ctxMsg", type: "bytes" } ], name: "createContext", outputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "currentAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "execDetachContext", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "geneBrewerContract", outputs: [ { internalType: "contract IAxieGeneBrewer", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" } ], name: "getContext", outputs: [ { internalType: "address", name: "controller", type: "address" }, { internalType: "uint64", name: "detachingDuration", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getContextUser", outputs: [ { internalType: "address", name: "user", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getOwnershipDelegatee", outputs: [ { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getOwnershipManager", outputs: [ { internalType: "address", name: "manager", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", 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: "uint256", name: "", type: "uint256" } ], name: "hoppingAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "axieAscendContract", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "initializeV2", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "axieBreedContract", type: "address" } ], name: "initializeV3", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "isAttachedWithContext", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isAuthorized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isFunctionOperatorOfToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isPermissionSet", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isPermissionSetAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "isTokenContextLocked", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isTokenOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxDetachingDuration", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "operatorPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "pendingOwnershipDelegatee", outputs: [ { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "requestDetachContext", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "seeder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "seeders", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_toAdultDuration", type: "uint256" } ], name: "setAdultDuration", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setAllPermissionFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bool", name: "lock", type: "bool" } ], name: "setContextLock", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "user", type: "address" } ], name: "setContextUser", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_currentAxieId", type: "uint256" } ], name: "setCurrentAxieId", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setFunctionOperatorForToken", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IAxieGeneBrewer", name: "_geneBrewerContract", type: "address" } ], name: "setGeneBrewerContract", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setPermissionFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setTokenOperator", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint64", name: "until", type: "uint64" } ], name: "startDelegateOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "stopOwnershipDelegation", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "toAdultDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "tokenPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenPermissionInfos", outputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "funcSig", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "ctxHash", type: "bytes32" }, { internalType: "address", name: "newController", type: "address" }, { internalType: "uint64", name: "newDetachingDuration", type: "uint64" } ], name: "updateContext", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var AXIE_INITIALIZER = { name: "Axie Initializer", address: "0x1db83f3cb28780b2394e8313ffe5a8d6803fdefd", is_deprecated: false, created_at: 1728656609, abi: abi55 }; var axie_initializer_default = AXIE_INITIALIZER; // src/contracts/axie_logic.ts var abi56 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_breedCount", type: "uint256" } ], name: "AxieBreedCountUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], indexed: false, internalType: "struct AxieGenetics.Genes", name: "_genes", type: "tuple" } ], name: "AxieEvolved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], indexed: false, internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" } ], name: "AxieMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "AxieSpawn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], indexed: false, internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" }, { components: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], indexed: false, internalType: "struct IAxie.Axiegg", name: "_axiegg", type: "tuple" } ], name: "AxieggMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_sireId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_matronId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], indexed: false, internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], indexed: false, internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], name: "AxieggSpawned", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSetAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_seeder", type: "address" } ], name: "SeederAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_seeder", type: "address" } ], name: "SeederRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenOperatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenPermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedSeeders", type: "address[]" } ], name: "addSeeders", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_sireId", type: "uint256" }, { internalType: "uint256", name: "_matronId", type: "uint256" } ], name: "areAxiesEligibleForPairing", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axie", outputs: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "axieBreedLimit", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axiegg", outputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_axieIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_seeds", type: "uint256[]" } ], name: "batchGrowAxieggsToAdults", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "bytes[]", name: "_axiePackages", type: "bytes[]" }, { internalType: "bytes[]", name: "_axieggPackages", type: "bytes[]" }, { internalType: "address", name: "_owner", type: "address" } ], name: "batchMintAxieggs", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "bytes[]", name: "_packages", type: "bytes[]" }, { internalType: "address", name: "_owner", type: "address" } ], name: "batchMintAxies", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_sireId", type: "uint256" }, { internalType: "uint256", name: "_matronId", type: "uint256" } ], name: "breedAxies", outputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "breedingFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "breedingFeeToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "breedingPotion", outputs: [ { internalType: "contract IERC20Burnable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "currentAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "_genes", type: "tuple" } ], name: "evolveAxie", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "geneBrewerContract", outputs: [ { internalType: "contract IAxieGeneBrewer", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "getAxie", outputs: [ { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], internalType: "struct IAxie.Axie", name: "", type: "tuple" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "getAxiegg", outputs: [ { components: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], internalType: "struct IAxie.Axiegg", name: "", type: "tuple" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "getRequirementsForBreeding", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { internalType: "uint256", name: "_seed", type: "uint256" } ], name: "growAxieggToAdult", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "hoppingAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isAuthorized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isFunctionOperatorOfToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isPermissionSet", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isPermissionSetAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isTokenOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" } ], name: "mintAxie", outputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" }, { internalType: "uint256", name: "_hoppingAxieId", type: "uint256" }, { components: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], internalType: "struct IAxie.Axie", name: "_axie", type: "tuple" }, { internalType: "address", name: "_to", type: "address" } ], name: "mintPromoAxie", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "neededPotionForBreeding", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "operatorPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "preExecutionLogicContract", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedSeeders", type: "address[]" } ], name: "removeSeeders", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "seeder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seeders", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_toAdultDuration", type: "uint256" } ], name: "setAdultDuration", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setAllPermissionFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint8", name: "_axieBreedLimit", type: "uint8" } ], name: "setAxieBreedLimit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_breedingFee", type: "uint256" } ], name: "setBreedingFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_breedingFeeToken", type: "address" } ], name: "setBreedingFeeToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20Burnable", name: "_breedingPotion", type: "address" } ], name: "setBreedingPotionContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_currentAxieId", type: "uint256" } ], name: "setCurrentAxieId", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setFunctionOperatorForToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IAxieGeneBrewer", name: "_geneBrewerContract", type: "address" } ], name: "setGeneBrewerContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_axieIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_hoppingAxieIds", type: "uint256[]" } ], name: "setHoppingAxieIds", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_neededPotionForBreeding", type: "uint256[]" } ], name: "setNeededPotionForBreeding", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setPermissionFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_preExecutionLogicContract", type: "address" } ], name: "setPreExecutionLogicContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setTokenOperator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_tokenReceiver", type: "address" } ], name: "setTokenReceiver", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "stageOf", outputs: [ { internalType: "enum IAxie.AxieStage", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "toAdultDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "tokenPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenPermissionInfos", outputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "funcSig", type: "bytes4" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "tokenReceiver", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var AXIE_LOGIC = { name: "Axie Logic", address: "0x05e891caa33fffe8614d6418ac136fa8614bd29e", is_deprecated: false, created_at: 1638422021, abi: abi56 }; var axie_logic_default = AXIE_LOGIC; // src/contracts/axie_memento.ts var abi57 = [ { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AxieMemento__AlreadyRegistedAccount", type: "error" }, { inputs: [], name: "AxieMemento__BulkMintNotSupported", type: "error" }, { inputs: [], name: "AxieMemento__CanNotTransferSBT", type: "error" }, { inputs: [], name: "AxieMemento__InsufficientFreeMintPoint", type: "error" }, { inputs: [], name: "AxieMemento__InvalidAxieCardId", type: "error" }, { inputs: [], name: "AxieMemento__TokenDoesNotExist", type: "error" }, { inputs: [], name: "AxieMemento__TryBurnByUnauthorizedAccount", type: "error" }, { inputs: [], name: "AxieMemento__UnregistedAccount", type: "error" }, { inputs: [], name: "AxieMemento__UseMintWithFreeMintPoint", type: "error" }, { inputs: [], name: "AxieMemento__VerifyFailed", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "axieCardId", type: "uint256" } ], name: "Cardpoap", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "enum IERC5484.BurnAuth", name: "burnAuth", type: "uint8" } ], name: "Issued", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MANAGER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burnAuth", outputs: [ { internalType: "enum IERC5484.BurnAuth", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "checkFreeMintPoint", outputs: [ { internalType: "uint8", name: "amount", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "_axieCardId", type: "string" } ], name: "convert", outputs: [ { internalType: "uint128", name: "", type: "uint128" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "isValue", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" }, { internalType: "uint8", name: "point", type: "uint8" } ], name: "managePoint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "string", name: "_axieIdCard", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "mintWithFreeMintPoint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "_address", type: "address" }, { internalType: "uint8", name: "point", type: "uint8" } ], name: "registFreeMintlist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "signerAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "tokensOfOwner", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var AXIE_MEMENTO = { name: "Axie Memento", address: "0xb99bcb13c4a6a9946880253e5448eb9096cd970a", is_deprecated: false, created_at: 1701056921, abi: abi57 }; var axie_memento_default = AXIE_MEMENTO; // src/contracts/axie_memento_v2.ts var abi58 = [ { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AxieMemento__AlreadyRegistedAccount", type: "error" }, { inputs: [], name: "AxieMemento__BulkMintNotSupported", type: "error" }, { inputs: [], name: "AxieMemento__CanNotTransferSBT", type: "error" }, { inputs: [], name: "AxieMemento__InsufficientFreeMintPoint", type: "error" }, { inputs: [], name: "AxieMemento__InvalidAxieCardId", type: "error" }, { inputs: [], name: "AxieMemento__TokenDoesNotExist", type: "error" }, { inputs: [], name: "AxieMemento__TryBurnByUnauthorizedAccount", type: "error" }, { inputs: [], name: "AxieMemento__UnregistedAccount", type: "error" }, { inputs: [], name: "AxieMemento__UseMintWithFreeMintPoint", type: "error" }, { inputs: [], name: "AxieMemento__VerifyFailed", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "axieCardId", type: "uint256" } ], name: "Cardpoap", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "enum IERC5484.BurnAuth", name: "burnAuth", type: "uint8" } ], name: "Issued", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MANAGER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burnAuth", outputs: [ { internalType: "enum IERC5484.BurnAuth", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "checkFreeMintPoint", outputs: [ { internalType: "uint8", name: "amount", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "_axieCardId", type: "string" } ], name: "convert", outputs: [ { internalType: "uint128", name: "", type: "uint128" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "feeRecipient", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "freeMintCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "isValue", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" }, { internalType: "uint8", name: "point", type: "uint8" } ], name: "managePoint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [], name: "mintFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "_axieIdCard", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "mintWithFreeMintPoint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "_address", type: "address" }, { internalType: "uint8", name: "point", type: "uint8" } ], name: "registFreeMintlist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_feeMintCount", type: "uint256" } ], name: "setFeeMintCount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "setFeeRecipient", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_mintFee", type: "uint256" } ], name: "setMintFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "signerAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "tokensOfOwner", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var AXIE_MEMENTO_V2 = { name: "Axie Memento V2", address: "0x7a702c6c3321051172987e614f95c2dc05b1e8f5", is_deprecated: false, created_at: 1718257457, abi: abi58 }; var axie_memento_v2_default = AXIE_MEMENTO_V2; // src/contracts/axie_pre_execution_logic.ts var abi59 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSetAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_seeder", type: "address" } ], name: "SeederAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_seeder", type: "address" } ], name: "SeederRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenOperatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenPermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { stateMutability: "nonpayable", type: "fallback" }, { inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_addedSeeders", type: "address[]" } ], name: "addSeeders", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axie", outputs: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "axieBreedLimit", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axiegg", outputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_sireId", type: "uint256" }, { internalType: "uint256", name: "_matronId", type: "uint256" } ], name: "breedAxies", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "breedingFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "breedingFeeToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "breedingPotion", outputs: [ { internalType: "contract IERC20Burnable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "currentAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "geneBrewerContract", outputs: [ { internalType: "contract IAxieGeneBrewer", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "getRequirementsForBreeding", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "hoppingAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isAuthorized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isFunctionOperatorOfToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isPermissionSet", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isPermissionSetAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isTokenOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "neededPotionForBreeding", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "operatorPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", 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: [], name: "preExecutionLogicContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "removeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_removedSeeders", type: "address[]" } ], name: "removeSeeders", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "seeder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seeders", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_toAdultDuration", type: "uint256" } ], name: "setAdultDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setAllPermissionFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "_axieBreedLimit", type: "uint8" } ], name: "setAxieBreedLimit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_breedingFee", type: "uint256" } ], name: "setBreedingFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "_breedingFeeToken", type: "address" } ], name: "setBreedingFeeToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC20Burnable", name: "_breedingPotion", type: "address" } ], name: "setBreedingPotionContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_currentAxieId", type: "uint256" } ], name: "setCurrentAxieId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setFunctionOperatorForToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IAxieGeneBrewer", name: "_geneBrewerContract", type: "address" } ], name: "setGeneBrewerContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_neededPotionForBreeding", type: "uint256[]" } ], name: "setNeededPotionForBreeding", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setPermissionFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_preExecutionLogicContract", type: "address" } ], name: "setPreExecutionLogicContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setTokenOperator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_tokenReceiver", type: "address" } ], name: "setTokenReceiver", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "toAdultDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "tokenPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenPermissionInfos", outputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "funcSig", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "tokenReceiver", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var AXIE_PRE_EXECUTION_LOGIC = { name: "Axie Pre Execution Logic", address: "0x26101408945caf2e2fde23cc3c1e12982d7a3368", is_deprecated: false, created_at: 1701253656, abi: abi59 }; var axie_pre_execution_logic_default = AXIE_PRE_EXECUTION_LOGIC; // src/contracts/axie_proxy.ts var abi60 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "address", name: "_preExecutionLogicContract", type: "address" }, { internalType: "contract IAxieGeneBrewer", name: "_geneBrewerContract", type: "address" }, { internalType: "contract IERC20Burnable", name: "_breedingPotion", type: "address" }, { internalType: "contract IERC20", name: "_breedingFeeToken", type: "address" }, { internalType: "uint256", name: "_breedingFee", type: "uint256" }, { internalType: "address", name: "_tokenReceiver", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSetAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_seeder", type: "address" } ], name: "SeederAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_seeder", type: "address" } ], name: "SeederRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenOperatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenPermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedSeeders", type: "address[]" } ], name: "addSeeders", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axie", outputs: [ { internalType: "uint256", name: "sireId", type: "uint256" }, { internalType: "uint256", name: "matronId", type: "uint256" }, { internalType: "uint256", name: "birthDate", type: "uint256" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "genes", type: "tuple" }, { internalType: "uint8", name: "breedCount", type: "uint8" }, { internalType: "uint16", name: "level", type: "uint16" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "axieBreedLimit", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axiegg", outputs: [ { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "sireGenes", type: "tuple" }, { components: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], internalType: "struct AxieGenetics.Genes", name: "matronGenes", type: "tuple" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "breedingFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "breedingFeeToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "breedingPotion", outputs: [ { internalType: "contract IERC20Burnable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "currentAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "geneBrewerContract", outputs: [ { internalType: "contract IAxieGeneBrewer", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_axieId", type: "uint256" } ], name: "getRequirementsForBreeding", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "hoppingAxieId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isAuthorized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isFunctionOperatorOfToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isPermissionSet", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isPermissionSetAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isTokenOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "neededPotionForBreeding", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "operatorPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "preExecutionLogicContract", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedSeeders", type: "address[]" } ], name: "removeSeeders", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "seeder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seeders", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_toAdultDuration", type: "uint256" } ], name: "setAdultDuration", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setAllPermissionFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint8", name: "_axieBreedLimit", type: "uint8" } ], name: "setAxieBreedLimit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_breedingFee", type: "uint256" } ], name: "setBreedingFee", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_breedingFeeToken", type: "address" } ], name: "setBreedingFeeToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20Burnable", name: "_breedingPotion", type: "address" } ], name: "setBreedingPotionContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_currentAxieId", type: "uint256" } ], name: "setCurrentAxieId", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setFunctionOperatorForToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IAxieGeneBrewer", name: "_geneBrewerContract", type: "address" } ], name: "setGeneBrewerContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_neededPotionForBreeding", type: "uint256[]" } ], name: "setNeededPotionForBreeding", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setPermissionFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_preExecutionLogicContract", type: "address" } ], name: "setPreExecutionLogicContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setTokenOperator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_tokenReceiver", type: "address" } ], name: "setTokenReceiver", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "toAdultDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "tokenPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenPermissionInfos", outputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "funcSig", type: "bytes4" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "tokenReceiver", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var AXIE_PROXY = { name: "Axie Proxy", address: "0x32950db2a7164ae833121501c797d79e7b79d74c", is_deprecated: false, created_at: 1619607551, abi: abi60 }; var axie_proxy_default = AXIE_PROXY; // src/contracts/axie_release.ts var abi61 = [ { inputs: [ { internalType: "address", name: "_axieContract", type: "address" }, { internalType: "address", name: "_itemContract", type: "address" }, { internalType: "uint256", name: "_newStartedAtBlock", type: "uint256" }, { internalType: "uint256", name: "_newEndedAtBlock", type: "uint256" }, { internalType: "address", name: "_treasury", type: "address" }, { internalType: "uint256[]", name: "_newItemTypes", type: "uint256[]" }, { internalType: "uint256[]", name: "_newItemRatios", type: "uint256[]" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "_axieIds", type: "uint256[]" }, { indexed: false, internalType: "bool", name: "_blacklisted", type: "bool" } ], name: "AxieBlacklistSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "AxieContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_user", type: "address" }, { indexed: false, internalType: "uint256[]", name: "_axieIds", type: "uint256[]" } ], name: "AxiesReleased", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "ItemContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_startedAtBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_endedAtBlock", type: "uint256" } ], name: "PeriodUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "_itemTypes", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_itemRatios", type: "uint256[]" } ], name: "RewardItemRaritiesUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_axieId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_itemId", type: "uint256" } ], name: "RewardUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_user", type: "address" }, { indexed: false, internalType: "uint256", name: "_itemId", type: "uint256" } ], name: "UserClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_user", type: "address" }, { indexed: false, internalType: "uint256", name: "_claimedAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_total", type: "uint256" } ], name: "UserRewardUpdated", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axieBlacklisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "axieContract", outputs: [ { internalType: "contract Axie", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "axieReleased", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "claimAllRewards", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "claimAllRewardsFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "claimRewardsFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "claimedAmounts", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getPeriod", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "getRewardInfo", outputs: [ { internalType: "uint256", name: "_claimed", type: "uint256" }, { internalType: "uint256[]", name: "_itemIds", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getRewardItemRarities", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "isInPeriod", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "itemContract", outputs: [ { internalType: "contract ItemCollection", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_initialSeed", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "randomRewards", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_axieIds", type: "uint256[]" } ], name: "releaseAxies", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "releasedAxies", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "rewards", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_axieContract", type: "address" } ], name: "setAxieContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_axieIds", type: "uint256[]" }, { internalType: "bool", name: "_blacklisted", type: "bool" } ], name: "setBlacklistAxies", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_itemContract", type: "address" } ], name: "setItemContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_newStartedAtBlock", type: "uint256" }, { internalType: "uint256", name: "_newEndedAtBlock", type: "uint256" } ], name: "setPeriod", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_newItemTypes", type: "uint256[]" }, { internalType: "uint256[]", name: "_newItemRatios", type: "uint256[]" } ], name: "setRewardItemRarities", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "setTreasury", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var AXIE_RELEASE = { name: "Axie Release", address: "0x144697847f4bf184534af5945abe0fb5f1b14fba", is_deprecated: false, created_at: 1642472990, abi: abi61 }; var axie_release_default = AXIE_RELEASE; // src/contracts/axie_rep16_migrator.ts var abi62 = [ { inputs: [ { internalType: "address", name: "prevImpl", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "uint256", name: "legacyProxySlot", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "ADMIN", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "LEGACY_PROXY_SLOT", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PREV_IMPL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "SELF", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "proxyAdmin", type: "address" }, { internalType: "address", name: "newImpl", type: "address" } ], name: "initializeDataForREP16", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_REP16_MIGRATOR = { name: "Axie REP16 Migrator", address: "0x6df5bc960f4ccb5d532dd5afa3b26d6fa0338f01", is_deprecated: false, created_at: 1719227468, abi: abi62 }; var axie_rep16_migrator_default = AXIE_REP16_MIGRATOR; // src/contracts/axie_vault_proxy.ts var abi63 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_VAULT_PROXY = { name: "Axie Vault Proxy", address: "0xa095d26ee12e81262fa2f16e5fc5886183487ce7", is_deprecated: false, created_at: 1719307263, abi: abi63 }; var axie_vault_proxy_default = AXIE_VAULT_PROXY; // src/contracts/axie_voting_proxy.ts var abi64 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var AXIE_VOTING_PROXY = { name: "Axie Voting Proxy", address: "0xe78ec1a0bc59cd412bf085d8662a2445af2e58e3", is_deprecated: false, created_at: 1715926788, abi: abi64 }; var axie_voting_proxy_default = AXIE_VOTING_PROXY; // src/contracts/axs_staking_pool.ts var abi65 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var AXS_STAKING_POOL = { name: "AXS Staking Pool", address: "0x05b0bb3c1c320b280501b86706c3551995bc8571", is_deprecated: false, created_at: 1632969696, abi: abi65 }; var axs_staking_pool_default = AXS_STAKING_POOL; // src/contracts/axsweth_lp.ts var abi66 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var AXSWETH_LP = { name: "AXSWETH LP", address: "0xc6344bc1604fcab1a5aad712d766796e2b7a70b9", is_deprecated: false, created_at: 1635154992, abi: abi66 }; var axsweth_lp_default = AXSWETH_LP; // src/contracts/axsweth_lp_staking_pool.ts var abi67 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var AXSWETH_LP_STAKING_POOL = { name: "AXSWETH LP Staking Pool", address: "0x487671acdea3745b6dac3ae8d1757b44a04bfe8a", is_deprecated: false, created_at: 1635157104, abi: abi67 }; var axsweth_lp_staking_pool_default = AXSWETH_LP_STAKING_POOL; // src/contracts/banana_proxy.ts var abi68 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var BANANA_PROXY = { name: "Banana Proxy", address: "0x1a89ecd466a23e98f07111b0510a2d6c1cd5e400", is_deprecated: false, created_at: 1706954639, abi: abi68 }; var banana_proxy_default = BANANA_PROXY; // src/contracts/batch_transfer.ts var abi69 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "address[]", name: "recipients", type: "address[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "batchTransferERC1155", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "address[]", name: "recipients", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "batchTransferERC20", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "address[]", name: "recipients", type: "address[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "batchTransferERC721", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var BATCH_TRANSFER = { name: "Batch Transfer", address: "0xd51dc8f3885d48736da2759fa91ffcc85801dc6f", is_deprecated: false, created_at: 1707441496, abi: abi69 }; var batch_transfer_default = BATCH_TRANSFER; // src/contracts/beacon_proxy.ts var abi70 = [ { inputs: [ { internalType: "address", name: "beacon", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "beacon", type: "address" } ], name: "ERC1967InvalidBeacon", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var BEACON_PROXY = { name: "Beacon Proxy", address: "0x61fc9e0524e2c6a5b193318d7fd1ce2b67797509", is_deprecated: false, created_at: 1718359578, abi: abi70 }; var beacon_proxy_default = BEACON_PROXY; // src/contracts/berry.ts var abi71 = [ { inputs: [ { internalType: "address", name: "_defaultAdmin", type: "address" }, { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "uint256", name: "initialSupply", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "prevURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "ContractURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "prevOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnerUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "mintedTo", type: "address" }, { indexed: false, internalType: "uint256", name: "quantityMinted", type: "uint256" } ], name: "TokensMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burnFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "contractURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mintTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes[]", name: "data", type: "bytes[]" } ], name: "multicall", outputs: [ { internalType: "bytes[]", name: "results", type: "bytes[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", 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: "permit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_uri", type: "string" } ], name: "setContractURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newOwner", type: "address" } ], name: "setOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" } ]; var BERRY = { name: "BERRY", address: "0x1b918543b518e34902e1e8dd76052bee43c762ff", is_deprecated: false, created_at: 1698083415, abi: abi71 }; var berry_default = BERRY; // src/contracts/blacklist_proxy.ts var abi72 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var BLACKLIST_PROXY = { name: "Blacklist Proxy", address: "0xe584474bd181a58587e0e5a2fac927352048a2f7", is_deprecated: false, created_at: 1701749986, abi: abi72 }; var blacklist_proxy_default = BLACKLIST_PROXY; // src/contracts/born_planet.ts var abi73 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "BornSuccess", 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: true, internalType: "bytes32", name: "_requestHash", type: "bytes32" } ], name: "RequestBorn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_requesterAddress", type: "address" }, { indexed: false, internalType: "uint256[]", name: "_successPlanetArray", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_failPlanetArray", type: "uint256[]" }, { indexed: false, internalType: "string[]", name: "_failReasonArray", type: "string[]" } ], name: "RequestMultiBornSummary", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "BornStructMap", outputs: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "uint256", name: "planetId", type: "uint256" }, { internalType: "bool", name: "isDone", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "addonGasPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "breedPlanetDataContract", outputs: [ { internalType: "contract IBreedPlanetData", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "callbackGaslimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "planetId", type: "uint256" } ], name: "getParentID", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "planetContract", outputs: [ { internalType: "contract IApeironPlanet", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "planetId", type: "uint256" } ], name: "requestBorn", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "uint256", name: "planetId", type: "uint256" } ], name: "requestBornWithAddress", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "planetIdArray", type: "uint256[]" } ], name: "requestMultiBorn", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_vrfCoordinator", type: "address" }, { internalType: "uint256", name: "_callbackGaslimit", type: "uint256" }, { internalType: "uint256", name: "_addonGasPrice", type: "uint256" } ], name: "setupVRFCoordinator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_nftAddress", type: "address" }, { internalType: "address", name: "_breedAddress", type: "address" }, { internalType: "uint256", name: "_ronToUseInRandomness", type: "uint256" } ], name: "updateContractSetting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "userApprovedBornPlanet", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var BORN_PLANET = { name: "Born Planet", address: "0xe40610630997676da6356c71655f092be75e8ee7", is_deprecated: false, created_at: 1709122076, abi: abi73 }; var born_planet_default = BORN_PLANET; // src/contracts/born_planet_proxy.ts var abi74 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var BORN_PLANET_PROXY = { name: "Born Planet Proxy", address: "0x953b381ab16522d0311c75d9cd164e2a14ebe143", is_deprecated: false, created_at: 1702615170, abi: abi74 }; var born_planet_proxy_default = BORN_PLANET_PROXY; // src/contracts/box_proxy.ts var abi75 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var BOX_PROXY = { name: "Box Proxy", address: "0x7b5e215658cf0421beb4f32a14b72bd8de049f4f", is_deprecated: false, created_at: 1730108781, abi: abi75 }; var box_proxy_default = BOX_PROXY; // src/contracts/breed_planet.ts var abi76 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "BreedSuccess", 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: true, internalType: "bytes32", name: "_requestHash", type: "bytes32" } ], name: "RequestBreed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "BreedStructMap", outputs: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "uint256", name: "planetAId", type: "uint256" }, { internalType: "uint256", name: "planetBId", type: "uint256" }, { internalType: "bool", name: "shouldUseMiniBlackhole", type: "bool" }, { internalType: "bool", name: "isDone", type: "bool" }, { internalType: "uint256", name: "planetId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "additionBornBaseInterval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "addonGasPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "adminFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "animaPrices", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "animaToMiniBlackhole", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "animaToken", outputs: [ { internalType: "contract IERC20Upgradeable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "apeironGodiverseCollection", outputs: [ { internalType: "contract ERC1155BurnableUpgradeable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "apeironGodiverseCollectionNumbers", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "aprsPrices", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "aprsToken", outputs: [ { internalType: "contract IERC20Upgradeable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "blacklistContract", outputs: [ { internalType: "contract IBlacklist", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "bornBaseInterval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "breedPlanetDataContract", outputs: [ { internalType: "contract IBreedPlanetData", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "callbackGaslimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentPlanetId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "planetId", type: "uint256" } ], name: "getParentID", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "isPrimevalActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minAnimaUse", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minMiniBlackholeUse", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "miniBlackholeTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "normalBreedBaseInterval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "planetAttributeManagerContract", outputs: [ { internalType: "contract PlanetAttributeManager", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "planetContract", outputs: [ { internalType: "contract IApeironPlanet", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "primevalAnimaPrices", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "primevalApeironGodiverseCollectionNumbers", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "primevalAprsPrices", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "planetAId", type: "uint256" }, { internalType: "uint256", name: "planetBId", type: "uint256" }, { internalType: "bool", name: "shouldUseMiniBlackhole", type: "bool" } ], name: "requestBreed", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "planetAId", type: "uint256" }, { internalType: "uint256", name: "planetBId", type: "uint256" }, { internalType: "uint256", name: "animusUse", type: "uint256" }, { internalType: "bool", name: "shouldUseMiniBlackhole", type: "bool" }, { internalType: "uint256", name: "time", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "requestBreedWithAnimus", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_animaToMiniBlackhole", type: "uint256" } ], name: "setAnimaToMiniBlackhole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[][]", name: "_apeironGodiverseCollectionNumbers", type: "uint256[][]" }, { internalType: "bool", name: "_isPrimeval", type: "bool" } ], name: "setApeironGodiverseCollectionNumber", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[][]", name: "_aprsPrices", type: "uint256[][]" }, { internalType: "uint256[][]", name: "_animaPrices", type: "uint256[][]" }, { internalType: "bool", name: "_isPrimeval", type: "bool" } ], name: "setAprsAndAnimaPrices", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_normalBreedBaseInterval", type: "uint256" }, { internalType: "uint256", name: "_bornBaseInterval", type: "uint256" }, { internalType: "uint256", name: "_additionBornBaseInterval", type: "uint256" } ], name: "setBreedBornInterval", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_currentPlanetId", type: "uint256" } ], name: "setCurrentPlanetId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_miniBlackholeTokenId", type: "uint256" } ], name: "setMiniBlackholeTokenId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_minMiniBlackholeUse", type: "uint256" }, { internalType: "uint256", name: "_minAnimaUse", type: "uint256" } ], name: "setMinimumTokenUse", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "_isPrimevalActive", type: "bool" } ], name: "setPrimevalActive", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_ronToUseInRandomness", type: "uint256" } ], name: "setRonToUseInRandomness", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_vrfCoordinator", type: "address" }, { internalType: "uint256", name: "_callbackGaslimit", type: "uint256" }, { internalType: "uint256", name: "_addonGasPrice", type: "uint256" } ], name: "setupVRFCoordinator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_nftAddress", type: "address" }, { internalType: "address", name: "_breedAddress", type: "address" }, { internalType: "address", name: "_blacklistAddress", type: "address" }, { internalType: "address", name: "_apeironGodiverseCollectionAddress", type: "address" }, { internalType: "address", name: "_aprsTokenAddress", type: "address" }, { internalType: "address", name: "_animaTokenAddress", type: "address" }, { internalType: "address", name: "_planetAttributeManagerContract", type: "address" }, { internalType: "address", name: "_systemAddress", type: "address" }, { internalType: "uint256", name: "_ronToUseInRandomness", type: "uint256" } ], name: "updateContractSetting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "wallet", type: "address" } ], name: "withdrawFunds", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var BREED_PLANET = { name: "Breed Planet", address: "0x6c832ab32f6b3e791cc00325878fc5d148ce87d7", is_deprecated: false, created_at: 1711267502, abi: abi76 }; var breed_planet_default = BREED_PLANET; // src/contracts/breed_planet_data_proxy.ts var abi77 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var BREED_PLANET_DATA_PROXY = { name: "Breed Planet Data Proxy", address: "0x69f8b531d8a4005c8308329654c2464880723f56", is_deprecated: false, created_at: 1702615125, abi: abi77 }; var breed_planet_data_proxy_default = BREED_PLANET_DATA_PROXY; // src/contracts/breed_planet_proxy.ts var abi78 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var BREED_PLANET_PROXY = { name: "Breed Planet Proxy", address: "0x219cbb30f56dbee3341c0d3e617e4a98cf86c094", is_deprecated: false, created_at: 1711267508, abi: abi78 }; var breed_planet_proxy_default = BREED_PLANET_PROXY; // src/contracts/breeding_event_2022.ts var abi79 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var BREEDING_EVENT_2022 = { name: "Breeding Event 2022", address: "0xa67bf2b8453a696d1cddfc62c8174b47713a060d", is_deprecated: false, created_at: 1657697885, abi: abi79 }; var breeding_event_2022_default = BREEDING_EVENT_2022; // src/contracts/bridge_reward_proxy.ts var abi80 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var BRIDGE_REWARD_PROXY = { name: "Bridge Reward Proxy", address: "0x796a163a21e9a659fc9773166e0afdc1eb01aad1", is_deprecated: false, created_at: 1697614121, abi: abi80 }; var bridge_reward_proxy_default = BRIDGE_REWARD_PROXY; // src/contracts/bridge_slash_proxy.ts var abi81 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var BRIDGE_SLASH_PROXY = { name: "Bridge Slash Proxy", address: "0x273cda3afe17eb7bcb028b058382a9010ae82b24", is_deprecated: false, created_at: 1697614106, abi: abi81 }; var bridge_slash_proxy_default = BRIDGE_SLASH_PROXY; // src/contracts/bridge_tracking.ts var abi82 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrCallerMustBeBridgeContract", type: "error" }, { inputs: [], name: "ErrCallerMustBeValidatorContract", type: "error" }, { inputs: [], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "BridgeContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "ValidatorContractUpdated", type: "event" }, { inputs: [], name: "bridgeContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_period", type: "uint256" }, { internalType: "address[]", name: "_bridgeOperators", type: "address[]" } ], name: "getManyTotalBallots", outputs: [ { internalType: "uint256[]", name: "_res", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum IBridgeTracking.VoteKind", name: "_kind", type: "uint8" }, { internalType: "uint256", name: "_requestId", type: "uint256" } ], name: "handleVoteApproved", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_bridgeContract", type: "address" }, { internalType: "address", name: "_validatorContract", type: "address" }, { internalType: "uint256", name: "_startedAtBlock", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum IBridgeTracking.VoteKind", name: "_kind", type: "uint8" }, { internalType: "uint256", name: "_requestId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" } ], name: "recordVote", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setBridgeContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setValidatorContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "startedAtBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_period", type: "uint256" } ], name: "totalBallots", outputs: [ { internalType: "uint256", name: "_totalBallots", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_period", type: "uint256" }, { internalType: "address", name: "_bridgeOperator", type: "address" } ], name: "totalBallotsOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_period", type: "uint256" } ], name: "totalVotes", outputs: [ { internalType: "uint256", name: "_totalVotes", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "validatorContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var BRIDGE_TRACKING = { name: "Bridge Tracking", address: "0xfca143fe2751a992e8cff2eb5d64eda809049295", is_deprecated: false, created_at: 1679636483, abi: abi82 }; var bridge_tracking_default = BRIDGE_TRACKING; // src/contracts/bridge_tracking_proxy.ts var abi83 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var BRIDGE_TRACKING_PROXY = { name: "Bridge Tracking Proxy", address: "0x232974a8f8357027056b0a87f90fb5115baf0573", is_deprecated: true, created_at: 1696933394, abi: abi83 }; var bridge_tracking_proxy_default = BRIDGE_TRACKING_PROXY; // src/contracts/burning_minter.ts var abi84 = [ { inputs: [ { internalType: "address", name: "_achievement", type: "address" }, { internalType: "address", name: "_burnToken", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [], name: "achievement", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "burnAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "burnPrices", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "burnToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_erc1155", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_achievement", type: "address" } ], name: "setAchievement", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setBurnPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "uint256[]", name: "_prices", type: "uint256[]" } ], name: "setBurnPrices", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_burnToken", type: "address" } ], name: "setBurnToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var BURNING_MINTER = { name: "Burning Minter", address: "0x916f4c93a7e1084dbf104f764235f9cfd2f002c3", is_deprecated: false, created_at: 1727336202, abi: abi84 }; var burning_minter_default = BURNING_MINTER; // src/contracts/c_erc20.ts var abi85 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "cashPrior", type: "uint256" }, { indexed: false, internalType: "uint256", name: "interestAccumulated", type: "uint256" }, { indexed: false, internalType: "uint256", name: "borrowIndex", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalBorrows", type: "uint256" } ], name: "AccrueInterest", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "borrowAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "accountBorrows", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalBorrows", type: "uint256" } ], name: "Borrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "error", type: "uint256" }, { indexed: false, internalType: "uint256", name: "info", type: "uint256" }, { indexed: false, internalType: "uint256", name: "detail", type: "uint256" } ], name: "Failure", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "liquidator", type: "address" }, { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "repayAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "cErc721TokenCollateral", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "LiquidateBorrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "liquidator", type: "address" }, { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "repayAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "cErc20CollateralToken", type: "address" }, { indexed: false, internalType: "uint256", name: "seizeTokens", type: "uint256" } ], name: "LiquidateBorrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "minter", type: "address" }, { indexed: false, internalType: "uint256", name: "mintAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "mintTokens", type: "uint256" } ], name: "Mint", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract ComptrollerInterface", name: "oldComptroller", type: "address" }, { indexed: false, internalType: "contract ComptrollerInterface", name: "newComptroller", type: "address" } ], name: "NewComptroller", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract InterestRateModel", name: "oldInterestRateModel", type: "address" }, { indexed: false, internalType: "contract InterestRateModel", name: "newInterestRateModel", type: "address" } ], name: "NewMarketInterestRateModel", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldPendingAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newPendingAdmin", type: "address" } ], name: "NewPendingAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldReserveFactorMantissa", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newReserveFactorMantissa", type: "uint256" } ], name: "NewReserveFactor", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "partnershipAdmin", type: "address" }, { indexed: false, internalType: "uint256", name: "claimedAmount", type: "uint256" } ], name: "PartnershipReservesClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "redeemer", type: "address" }, { indexed: false, internalType: "uint256", name: "redeemAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "redeemTokens", type: "uint256" } ], name: "Redeem", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "payer", type: "address" }, { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "repayAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "accountBorrows", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalBorrows", type: "uint256" } ], name: "RepayBorrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "benefactor", type: "address" }, { indexed: false, internalType: "uint256", name: "addAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newTotalReserves", type: "uint256" } ], name: "ReservesAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "admin", type: "address" }, { indexed: false, internalType: "uint256", name: "reduceAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newTotalReserves", type: "uint256" } ], name: "ReservesReduced", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Transfer", type: "event" }, { constant: false, inputs: [], name: "_acceptAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "addAmount", type: "uint256" } ], name: "_addReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "_claimPartnershipReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "reduceAmount", type: "uint256" } ], name: "_reduceReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract ComptrollerInterface", name: "newComptroller", type: "address" } ], name: "_setComptroller", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract InterestRateModel", name: "newInterestRateModel", type: "address" } ], name: "_setInterestRateModel", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address payable", name: "newAdmin", type: "address" } ], name: "_setPartnershipAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address payable", name: "newPendingAdmin", type: "address" } ], name: "_setPendingAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "newReserveFactorMantissa", type: "uint256" } ], name: "_setReserveFactor", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "accrualBlockNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "accrueInterest", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOfUnderlying", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "borrowAmount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "borrow", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "borrowBalanceCurrent", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "borrowBalanceStored", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "borrowIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "borrowRatePerBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "exchangeRateCurrent", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "exchangeRateStored", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "getAccountSnapshot", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCash", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "underlying_", type: "address" }, { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "contract InterestRateModel", name: "interestRateModel_", type: "address" }, { internalType: "uint256", name: "initialExchangeRateMantissa_", type: "uint256" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "uint8", name: "decimals_", type: "uint8" } ], name: "initialize", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "contract InterestRateModel", name: "interestRateModel_", type: "address" }, { internalType: "uint256", name: "initialExchangeRateMantissa_", type: "uint256" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "uint8", name: "decimals_", type: "uint8" } ], name: "initialize", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "interestRateModel", outputs: [ { internalType: "contract InterestRateModel", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" }, { internalType: "contract CErc20CollateralInterface", name: "cErc20CollateralToken", type: "address" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAndRedeemErc20CollateralStaking", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" }, { internalType: "contract CErc721Interface", name: "cErc721TokenCollateral", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAndRedeemErc721Mainchain", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" }, { internalType: "contract CErc721Interface", name: "cErc721TokenCollateral", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAndRedeemErc721Staking", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "mintAmount", type: "uint256" } ], name: "mint", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "partnershipAdmin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "partnershipReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "protocolSeizeShareMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "redeemTokens", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "redeem", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "redeemAmount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "redeemUnderlying", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "repayAmount", type: "uint256" } ], name: "repayBorrow", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" } ], name: "repayBorrowBehalf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "reserveFactorMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "supplyRatePerBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "contract EIP20NonStandardInterface", name: "token", type: "address" } ], name: "sweepToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalBorrows", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "totalBorrowsCurrent", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "totalReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "src", type: "address" }, { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "underlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "underlyingBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ERC20 = { name: "C Erc20", address: "0x098ca51010455f89f03ba2ebd94783b4e7c181bb", is_deprecated: false, created_at: 1684958683, abi: abi85 }; var c_erc20_default = C_ERC20; // src/contracts/c_erc20_proxy.ts var abi86 = [ { inputs: [ { internalType: "address", name: "underlying_", type: "address" }, { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "contract InterestRateModel", name: "interestRateModel_", type: "address" }, { internalType: "uint256", name: "initialExchangeRateMantissa_", type: "uint256" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "uint8", name: "decimals_", type: "uint8" }, { internalType: "address payable", name: "admin_", type: "address" }, { internalType: "address", name: "implementation_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "implementation_", type: "address" } ], name: "_setImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "accrualBlockNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "borrowIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "interestRateModel", outputs: [ { internalType: "contract InterestRateModel", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "protocolSeizeShareMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "reserveFactorMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalBorrows", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "underlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ERC20_PROXY = { name: "C Erc20 Proxy", address: "0x3ebc36b9545b4b858b1f233d8f2d933c0858f5f4", is_deprecated: false, created_at: 1684958689, abi: abi86 }; var c_erc20_proxy_default = C_ERC20_PROXY; // src/contracts/c_erc20_staking_proxy.ts var abi87 = [ { inputs: [ { internalType: "address", name: "underlying_", type: "address" }, { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address payable", name: "admin_", type: "address" }, { internalType: "contract CollateralStakingManagerInterface", name: "collateralStakingManagerInterface_", type: "address" }, { internalType: "address", name: "implementation_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "implementation_", type: "address" } ], name: "_setImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "collateralStakingManagerInterface", outputs: [ { internalType: "contract CollateralStakingManagerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "currentCollateralAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "globalCollateralLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "isCErc20Staking", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "underlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ERC20_STAKING_PROXY = { name: "C Erc20 Staking Proxy", address: "0xc737cca751142ac9b51cb8ef475042dfcea9287a", is_deprecated: false, created_at: 1678817469, abi: abi87 }; var c_erc20_staking_proxy_default = C_ERC20_STAKING_PROXY; // src/contracts/c_erc721_mainchain_proxy.ts var abi88 = [ { inputs: [ { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "address", name: "underlying_", type: "address" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address payable", name: "admin_", type: "address" }, { internalType: "address", name: "implementation_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "implementation_", type: "address" } ], name: "_setImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "accountTokens", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenOwners", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "underlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ERC721_MAINCHAIN_PROXY = { name: "C Erc721 Mainchain Proxy", address: "0x4642720767a068e41fb7734db39c00fb0b66a7ee", is_deprecated: false, created_at: 1672169628, abi: abi88 }; var c_erc721_mainchain_proxy_default = C_ERC721_MAINCHAIN_PROXY; // src/contracts/c_erc721_staking_proxy.ts var abi89 = [ { inputs: [ { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "address", name: "underlying_", type: "address" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "contract CollateralStakingManagerInterface", name: "collateralStakingManagerInterface_", type: "address" }, { internalType: "address payable", name: "admin_", type: "address" }, { internalType: "address", name: "implementation_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "implementation_", type: "address" } ], name: "_setImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "accountTokens", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "collateralStakingManagerInterface", outputs: [ { internalType: "contract CollateralStakingManagerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "isCErc721Staking", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenOwners", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "underlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ERC721_STAKING_PROXY = { name: "C Erc721 Staking Proxy", address: "0xd54c02d1880e33f53ca2e516a0e979eea30c265c", is_deprecated: false, created_at: 1673981478, abi: abi89 }; var c_erc721_staking_proxy_default = C_ERC721_STAKING_PROXY; // src/contracts/c_ether.ts var abi90 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "cashPrior", type: "uint256" }, { indexed: false, internalType: "uint256", name: "interestAccumulated", type: "uint256" }, { indexed: false, internalType: "uint256", name: "borrowIndex", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalBorrows", type: "uint256" } ], name: "AccrueInterest", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "borrowAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "accountBorrows", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalBorrows", type: "uint256" } ], name: "Borrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "error", type: "uint256" }, { indexed: false, internalType: "uint256", name: "info", type: "uint256" }, { indexed: false, internalType: "uint256", name: "detail", type: "uint256" } ], name: "Failure", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "liquidator", type: "address" }, { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "repayAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "cErc721TokenCollateral", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "LiquidateBorrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "liquidator", type: "address" }, { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "repayAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "cErc20CollateralToken", type: "address" }, { indexed: false, internalType: "uint256", name: "seizeTokens", type: "uint256" } ], name: "LiquidateBorrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "minter", type: "address" }, { indexed: false, internalType: "uint256", name: "mintAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "mintTokens", type: "uint256" } ], name: "Mint", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract ComptrollerInterface", name: "oldComptroller", type: "address" }, { indexed: false, internalType: "contract ComptrollerInterface", name: "newComptroller", type: "address" } ], name: "NewComptroller", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract InterestRateModel", name: "oldInterestRateModel", type: "address" }, { indexed: false, internalType: "contract InterestRateModel", name: "newInterestRateModel", type: "address" } ], name: "NewMarketInterestRateModel", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldPendingAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newPendingAdmin", type: "address" } ], name: "NewPendingAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldReserveFactorMantissa", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newReserveFactorMantissa", type: "uint256" } ], name: "NewReserveFactor", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "partnershipAdmin", type: "address" }, { indexed: false, internalType: "uint256", name: "claimedAmount", type: "uint256" } ], name: "PartnershipReservesClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "redeemer", type: "address" }, { indexed: false, internalType: "uint256", name: "redeemAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "redeemTokens", type: "uint256" } ], name: "Redeem", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "payer", type: "address" }, { indexed: false, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "repayAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "accountBorrows", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalBorrows", type: "uint256" } ], name: "RepayBorrow", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "benefactor", type: "address" }, { indexed: false, internalType: "uint256", name: "addAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newTotalReserves", type: "uint256" } ], name: "ReservesAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "admin", type: "address" }, { indexed: false, internalType: "uint256", name: "reduceAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newTotalReserves", type: "uint256" } ], name: "ReservesReduced", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [], name: "_acceptAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "_addReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [], name: "_claimPartnershipReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "reduceAmount", type: "uint256" } ], name: "_reduceReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract ComptrollerInterface", name: "newComptroller", type: "address" } ], name: "_setComptroller", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract InterestRateModel", name: "newInterestRateModel", type: "address" } ], name: "_setInterestRateModel", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address payable", name: "newAdmin", type: "address" } ], name: "_setPartnershipAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address payable", name: "newPendingAdmin", type: "address" } ], name: "_setPendingAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "newReserveFactorMantissa", type: "uint256" } ], name: "_setReserveFactor", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "accrualBlockNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "accrueInterest", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOfUnderlying", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "borrowAmount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "borrow", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "borrowBalanceCurrent", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "borrowBalanceStored", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "borrowIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "borrowRatePerBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "exchangeRateCurrent", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "exchangeRateStored", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "getAccountSnapshot", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCash", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "contract InterestRateModel", name: "interestRateModel_", type: "address" }, { internalType: "uint256", name: "initialExchangeRateMantissa_", type: "uint256" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "uint8", name: "decimals_", type: "uint8" } ], name: "initialize", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "interestRateModel", outputs: [ { internalType: "contract InterestRateModel", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "contract CErc20CollateralInterface", name: "cErc20CollateralToken", type: "address" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAndRedeemErc20CollateralStaking", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "contract CErc721Interface", name: "cErc721TokenCollateral", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAndRedeemErc721Mainchain", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "contract CErc721Interface", name: "cErc721TokenCollateral", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAndRedeemErc721Staking", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [], name: "mint", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "partnershipAdmin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "partnershipReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "protocolSeizeShareMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "redeemTokens", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "redeem", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "redeemAmount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "redeemUnderlying", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "repayBorrow", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" } ], name: "repayBorrowBehalf", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [], name: "reserveFactorMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "supplyRatePerBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "contract EIP20NonStandardInterface", name: "token", type: "address" } ], name: "sweepToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalBorrows", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "totalBorrowsCurrent", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "totalReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "src", type: "address" }, { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "underlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ETHER = { name: "C Ether", address: "0x82e5030a8f1c08ffe8fd14a09cbffdb5ce26e388", is_deprecated: false, created_at: 1681170010, abi: abi90 }; var c_ether_default = C_ETHER; // src/contracts/c_ether_proxy.ts var abi91 = [ { inputs: [ { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "contract InterestRateModel", name: "interestRateModel_", type: "address" }, { internalType: "uint256", name: "initialExchangeRateMantissa_", type: "uint256" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "uint8", name: "decimals_", type: "uint8" }, { internalType: "address payable", name: "admin_", type: "address" }, { internalType: "address", name: "implementation_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "implementation_", type: "address" } ], name: "_setImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "accrualBlockNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "borrowIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "interestRateModel", outputs: [ { internalType: "contract InterestRateModel", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "protocolSeizeShareMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "reserveFactorMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalBorrows", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalReserves", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "underlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ETHER_PROXY = { name: "C Ether Proxy", address: "0x1bf2b273745df6a38e5e5f907dcd4d204a4bfe30", is_deprecated: false, created_at: 1681170019, abi: abi91 }; var c_ether_proxy_default = C_ETHER_PROXY; // src/contracts/c_ether_staking_proxy.ts var abi92 = [ { inputs: [ { internalType: "contract ComptrollerInterface", name: "comptroller_", type: "address" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address payable", name: "admin_", type: "address" }, { internalType: "contract CollateralStakingManagerInterface", name: "collateralStakingManagerInterface_", type: "address" }, { internalType: "address", name: "implementation_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "implementation_", type: "address" } ], name: "_setImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "collateralStakingManagerInterface", outputs: [ { internalType: "contract CollateralStakingManagerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "currentCollateralAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "globalCollateralLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "isCEtherStaking", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" } ]; var C_ETHER_STAKING_PROXY = { name: "C Ether Staking Proxy", address: "0x6db7bd2fa4b1b89c56c08b553d7c04df0301e885", is_deprecated: false, created_at: 1692116130, abi: abi92 }; var c_ether_staking_proxy_default = C_ETHER_STAKING_PROXY; // src/contracts/cambria_founders_bridged.ts var abi93 = [ { inputs: [ { internalType: "uint256", name: "_maxTokenId", type: "uint256" }, { internalType: "string", name: "_baseUri", type: "string" }, { internalType: "address", name: "_treasury", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "InvalidTokenId", type: "error" }, { inputs: [], name: "MaxSupply", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: false, internalType: "uint96", name: "feeNumerator", type: "uint96" } ], name: "DefaultRoyaltySet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: false, internalType: "uint96", name: "feeNumerator", type: "uint96" } ], name: "TokenRoyaltySet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "mint", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "salePrice", type: "uint256" } ], name: "royaltyInfo", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint96", name: "feeNumerator", type: "uint96" } ], name: "setDefaultRoyalty", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint96", name: "feeNumerator", type: "uint96" } ], name: "setTokenRoyalty", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", stateMutability: "nonpayable", type: "function" } ]; var CAMBRIA_FOUNDERS_BRIDGED = { name: "Cambria Founders Bridged", address: "0x342fcfc16943a930251d15fccdcd95104f9b4e5f", is_deprecated: false, created_at: 1728413826, abi: abi93 }; var cambria_founders_bridged_default = CAMBRIA_FOUNDERS_BRIDGED; // src/contracts/carv_achievements_proxy.ts var abi94 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var CARV_ACHIEVEMENTS_PROXY = { name: "Carv Achievements Proxy", address: "0x3aa2b3b5ae6fa41a4ea9d9eecb3a130661d4e7d4", is_deprecated: false, created_at: 1700637512, abi: abi94 }; var carv_achievements_proxy_default = CARV_ACHIEVEMENTS_PROXY; // src/contracts/carv_events_erc721_proxy.ts var abi95 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var CARV_EVENTS_ERC721_PROXY = { name: "Carv Events ERC721 Proxy", address: "0x9e8b5d57d3360073510011158b0b450cc516eca6", is_deprecated: false, created_at: 1700636693, abi: abi95 }; var carv_events_erc721_proxy_default = CARV_EVENTS_ERC721_PROXY; // src/contracts/carv_events_proxy.ts var abi96 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var CARV_EVENTS_PROXY = { name: "Carv Events Proxy", address: "0x7d119ca651d7ea07a8f78a1dc3f0805be05d1e7e", is_deprecated: false, created_at: 1700623262, abi: abi96 }; var carv_events_proxy_default = CARV_EVENTS_PROXY; // src/contracts/cbt_giftaway_proxy.ts var abi97 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var CBT_GIFTAWAY_PROXY = { name: "CBT Giftaway Proxy", address: "0x19f70ecd63f40f11716c3ce2b50a6d07491c12fe", is_deprecated: false, created_at: 1720869886, abi: abi97 }; var cbt_giftaway_proxy_default = CBT_GIFTAWAY_PROXY; // src/contracts/charm.ts var abi98 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var CHARM = { name: "Charm", address: "0x814a9c959a3ef6ca44b5e2349e3bba9845393947", is_deprecated: false, created_at: 1660119547, abi: abi98 }; var charm_default = CHARM; // src/contracts/check_in.ts var abi99 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NYANGKIT", outputs: [ { internalType: "contract INyangKit", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "dailyUserMintLimit", outputs: [ { internalType: "uint256", name: "", 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: [], name: "giftTokenId", outputs: [ { internalType: "uint256", name: "", 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: "_nyangkit", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "inviteCode", type: "string" } ], name: "inviteCodeMintCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "inviteCode", type: "string" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", 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: "uint256", name: "limit", type: "uint256" } ], name: "setDailyUserMintLimit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "setGiftTokenId", 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: [ { internalType: "address", name: "user", type: "address" } ], name: "userDailyMintLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var CHECK_IN = { name: "Check In", address: "0x14bdd057021ac1035eca61ec3d50c47ce2f8f493", is_deprecated: false, created_at: 1723443805, abi: abi99 }; var check_in_default = CHECK_IN; // src/contracts/check_in_immutable.ts var abi100 = [ { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "limitDailyCheckIn", type: "uint256" }, { internalType: "uint256", name: "periodStartTimeInUTC", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AlreadyCheckedIn", type: "error" }, { inputs: [], name: "DailyLimitExceeded", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "OwnableInvalidOwner", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "OwnableUnauthorizedAccount", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "uint256", name: "count", type: "uint256" } ], name: "CheckedIn", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "limitDailyCheckIn", type: "uint256" } ], name: "LimitDailyCheckInUpdated", 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" }, { inputs: [], name: "MAX_QUERY_LIMIT", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PERIOD_DURATION", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "checkIn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "computePeriod", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "delegatee", type: "address" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "getCheckInCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "getCurrentStreak", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "from", type: "uint256" }, { internalType: "uint256", name: "to", type: "uint256" }, { internalType: "uint256", name: "limit", type: "uint256" }, { internalType: "uint256", name: "offset", type: "uint256" } ], name: "getHistory", outputs: [ { internalType: "uint256", name: "numPeriod", type: "uint256" }, { internalType: "uint256[]", name: "periods", type: "uint256[]" }, { internalType: "uint256[]", name: "streakCounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "getLastUpdatedPeriod", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getLimitDailyCheckIn", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPeriodStartTimeInUTC", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "getStreakAtPeriod", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "isCheckedInToday", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "isMissedCheckIn", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "limitDailyCheckIn", type: "uint256" } ], name: "setLimitDailyCheckIn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var CHECK_IN_IMMUTABLE = { name: "Check In Immutable", address: "0x9e224efddcb0e1a1cbc3b25f701dd0f969c4bb9c", is_deprecated: false, created_at: 1729225126, abi: abi100 }; var check_in_immutable_default = CHECK_IN_IMMUTABLE; // src/contracts/check_in_proxy.ts var abi101 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var CHECK_IN_PROXY = { name: "Check In Proxy", address: "0xda1c8c1d7df35ecf91186e3cb410ecdb4fb29a3a", is_deprecated: false, created_at: 1723443814, abi: abi101 }; var check_in_proxy_default = CHECK_IN_PROXY; // src/contracts/check_in_upgradeable_proxy.ts var abi102 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var CHECK_IN_UPGRADEABLE_PROXY = { name: "Check In Upgradeable Proxy", address: "0xcd4f1cd738cf862995239b5b7d9ff09cffc22399", is_deprecated: false, created_at: 1728294548, abi: abi102 }; var check_in_upgradeable_proxy_default = CHECK_IN_UPGRADEABLE_PROXY; // src/contracts/checkin.ts var abi103 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidInterval", type: "error" }, { inputs: [], name: "InvalidMaxCheckin", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "InvalidValidatorContract", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "MaxCheckinReached", type: "error" }, { inputs: [], name: "NoValidatorContract", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "SignatureAlreadyUsed", type: "error" }, { inputs: [], name: "SignatureExpired", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldInterval", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newInterval", type: "uint256" } ], name: "CheckinIntervalUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldMaxCheckin", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newMaxCheckin", type: "uint256" } ], name: "MaxCheckinUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "wallet", type: "address" }, { indexed: false, internalType: "string", name: "playerId", type: "string" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "uint256", name: "oldCount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newCount", type: "uint256" }, { indexed: false, internalType: "string", name: "details", type: "string" } ], name: "PlayerCheckin", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract Validator", name: "oldContract", type: "address" }, { indexed: true, internalType: "contract Validator", name: "newContract", type: "address" } ], name: "ValidatorContractUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "newInterval", type: "uint256" } ], name: "adminSetCheckinInterval", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newMaxCheckin", type: "uint256" } ], name: "adminSetMaxCheckin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract Validator", name: "validator", type: "address" } ], name: "adminSetValidatorContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "baseVersion", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "string", name: "playerId", type: "string" }, { internalType: "uint256", name: "expireTime", type: "uint256" }, { internalType: "string", name: "details", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "bool", name: "verifyMessageHash", type: "bool" } ], internalType: "struct Checkin.CheckinPayload", name: "payload", type: "tuple" } ], name: "checkin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "wallet", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "checkinCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "checkinInterval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "wallet", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "checkinLeft", outputs: [ { internalType: "uint256", name: "", 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: "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: "admin", type: "address" }, { internalType: "uint256", name: "_checkinInterval", type: "uint256" }, { internalType: "uint256", name: "_maxCheckin", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "maxCheckin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], 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: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "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: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "validatorContract", outputs: [ { internalType: "contract Validator", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var CHECKIN = { name: "Checkin", address: "0xc01a0b6df2fe283fe98f8d3c4c37d10e90cc56bf", is_deprecated: false, created_at: 1721379618, abi: abi103 }; var checkin_default = CHECKIN; // src/contracts/checkin_proxy.ts var abi104 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var CHECKIN_PROXY = { name: "Checkin Proxy", address: "0x95cfe5f6a419226c08ad418e133e14ef2d7cc22a", is_deprecated: false, created_at: 1721379642, abi: abi104 }; var checkin_proxy_default = CHECKIN_PROXY; // src/contracts/christmas_axie_release_2022.ts var abi105 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var CHRISTMAS_AXIE_RELEASE_2022 = { name: "Christmas Axie Release 2022", address: "0x16f222b84f76a0941935949566da93e3147723bf", is_deprecated: false, created_at: 1671445671, abi: abi105 }; var christmas_axie_release_2022_default = CHRISTMAS_AXIE_RELEASE_2022; // src/contracts/classic_claim.ts var abi106 = [ { inputs: [ { internalType: "contract IMintableERC721V5", name: "_nft", type: "address" }, { internalType: "uint256", name: "_startAt", type: "uint256" }, { internalType: "uint256", name: "_finishAt", type: "uint256" }, { internalType: "address", name: "_verifier", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "nftId", type: "uint256" } ], name: "Claim", 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: "oldVerifier", type: "address" }, { indexed: false, internalType: "address", name: "newVerifier", type: "address" } ], name: "VerifierChanged", type: "event" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "finishAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_nonce", type: "uint256" }, { internalType: "uint256", name: "_num", type: "uint256" }, { internalType: "uint8", name: "_v", type: "uint8" }, { internalType: "bytes32", name: "_r", type: "bytes32" }, { internalType: "bytes32", name: "_s", type: "bytes32" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "nft", outputs: [ { internalType: "contract IMintableERC721V5", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_verifier", type: "address" } ], name: "setVerifier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "startAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalMintNum", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "verifier", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var CLASSIC_CLAIM = { name: "Classic Claim", address: "0x85bd5e10e8e527bb99a3bde12a36377a834f5e28", is_deprecated: false, created_at: 1721400258, abi: abi106 }; var classic_claim_default = CLASSIC_CLAIM; // src/contracts/classic_nft.ts var abi107 = [ { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "BURN_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var CLASSIC_NFT = { name: "Classic NFT", address: "0x64c1cd70330199e7693c14262f75463ef24e90cf", is_deprecated: false, created_at: 1714829790, abi: abi107 }; var classic_nft_default = CLASSIC_NFT; // src/contracts/classic_portal.ts var abi108 = [ { inputs: [], name: "ErrDepositPaused", type: "error" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" } ], name: "ErrInvalidGameId", type: "error" }, { inputs: [], name: "ErrInvalidInput", type: "error" }, { inputs: [], name: "ErrInvalidTokenStandard", type: "error" }, { inputs: [], name: "ErrNullGameOwner", type: "error" }, { inputs: [ { internalType: "bytes4", name: "sig", type: "bytes4" } ], name: "ErrUnauthorizedGameOwner", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "depositHash", type: "bytes32" }, { indexed: true, internalType: "uint8", name: "gameId", type: "uint8" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { components: [ { internalType: "uint8", name: "gameId", type: "uint8" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "recipientNonce", type: "uint256" }, { internalType: "address", name: "sender", type: "address" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" } ], indexed: false, internalType: "struct DepositRecord", name: "record", type: "tuple" } ], name: "Deposited", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint8", name: "gameId", type: "uint8" }, { indexed: false, internalType: "address", name: "newOwner", type: "address" } ], name: "GameOwnerUpdated", 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: true, internalType: "uint8", name: "gameId", type: "uint8" }, { indexed: false, internalType: "bool", name: "isPaused", type: "bool" } ], name: "PauseStateUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint8", name: "gameId", type: "uint8" }, { indexed: true, internalType: "address", name: "treasury", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" } ], name: "deposit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint8", name: "gameId", type: "uint8" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" } ], name: "depositFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "recipientNonce", type: "uint256" } ], name: "getDepositHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" } ], name: "getGameOwner", outputs: [ { internalType: "address", name: "gameOwner", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" } ], name: "getGameTreasury", outputs: [ { internalType: "address", name: "treasury", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" } ], name: "getPauseState", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" } ], name: "getRecipientNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "depositHash", type: "bytes32" } ], name: "isDepositHashExisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" } ], name: "pauseDeposit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" }, { internalType: "address", name: "newOwner", type: "address" } ], name: "setGameOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" }, { internalType: "address", name: "treasury", type: "address" } ], name: "setGameTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "gameId", type: "uint8" } ], name: "unpauseDeposit", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var CLASSIC_PORTAL = { name: "Classic Portal", address: "0x13bb571088984647ece620e595f4be4bcddab204", is_deprecated: false, created_at: 1704962479, abi: abi108 }; var classic_portal_default = CLASSIC_PORTAL; // src/contracts/clique_attestations_registry.ts var abi109 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var CLIQUE_ATTESTATIONS_REGISTRY = { name: "Clique Attestations Registry", address: "0x3803856585a7fbc6a3bca94a0b9c49a48af90dd3", is_deprecated: false, created_at: 1692001212, abi: abi109 }; var clique_attestations_registry_default = CLIQUE_ATTESTATIONS_REGISTRY; // src/contracts/clock_auction.ts var abi110 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_seller", type: "address" }, { indexed: false, internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "AuctionCancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_seller", type: "address" }, { indexed: false, internalType: "uint256", name: "_listingIndex", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "_startingPrices", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_endingPrices", type: "uint256[]" }, { indexed: false, internalType: "contract IERC20[]", name: "_exchangeTokens", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "_durations", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "_startingTimestamps", type: "uint256" } ], name: "AuctionCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_seller", type: "address" }, { indexed: false, internalType: "address", name: "_buyer", type: "address" }, { indexed: false, internalType: "uint256", name: "_listingIndex", type: "uint256" }, { indexed: false, internalType: "contract IERC20", name: "_token", type: "address" }, { indexed: false, internalType: "uint256", name: "_totalPrice", type: "uint256" } ], name: "AuctionSuccessful", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_seller", type: "address" }, { indexed: false, internalType: "uint256", name: "_listingIndex", type: "uint256" }, { indexed: false, internalType: "address", name: "_exchangeTokens", type: "address" } ], name: "TokenAuctionCancelled", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "auctions", outputs: [ { internalType: "address", name: "seller", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes[]", name: "_pkgs", type: "bytes[]" } ], name: "batchCreateAuctions", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "cancelAuction", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_listingIndex", type: "uint256" }, { internalType: "address", name: "_token", type: "address" } ], name: "cancelTokenAuction", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "completeInitilization", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "enum IExchange.TokenType[]", name: "_tokenTypes", type: "uint8[]" }, { internalType: "address[]", name: "_tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "_tokenNumbers", type: "uint256[]" }, { internalType: "uint256[]", name: "_startingPrices", type: "uint256[]" }, { internalType: "uint256[]", name: "_endingPrices", type: "uint256[]" }, { internalType: "contract IERC20[]", name: "_exchangeTokens", type: "address[]" }, { internalType: "uint256[]", name: "_durations", type: "uint256[]" } ], name: "createAuction", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_listingIndex", type: "uint256" }, { internalType: "uint256[]", name: "_startingPrices", type: "uint256[]" }, { internalType: "uint256[]", name: "_endingPrices", type: "uint256[]" }, { internalType: "contract IERC20[]", name: "_exchangeTokens", type: "address[]" }, { internalType: "uint256[]", name: "_durations", type: "uint256[]" } ], name: "createAuction", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "exchangeContract", outputs: [ { internalType: "contract IExchange", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_seller", type: "address" }, { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "getAuctionInfos", outputs: [ { components: [ { internalType: "uint256", name: "startingPrice", type: "uint256" }, { internalType: "uint256", name: "endingPrice", type: "uint256" }, { internalType: "contract IERC20", name: "exchangeToken", type: "address" }, { internalType: "uint256", name: "duration", type: "uint256" }, { internalType: "uint256", name: "startedAt", type: "uint256" } ], internalType: "struct IClockAuction.AuctionInfo[]", name: "", type: "tuple[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_seller", type: "address" }, { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "getCurrentPrices", outputs: [ { internalType: "contract IERC20[]", name: "", type: "address[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_tokenNumber", type: "uint256" } ], name: "getTokenAuctions", outputs: [ { internalType: "address[]", name: "_sellers", type: "address[]" }, { internalType: "uint256[]", name: "_listingIndexes", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_tokenNumber", type: "uint256" } ], name: "getTokenAuctionsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "initialized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_seller", type: "address" }, { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "isAuctionExisting", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "ownerCut", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_seller", type: "address" }, { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "revalidateAuction", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "revalidateRelatedAuctions", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_newOwnerCut", type: "uint256" } ], name: "setOwnerCut", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenMaxOccurrences", type: "uint256" } ], name: "setTokenMaxOccurrences", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_seller", type: "address" }, { internalType: "contract IERC20", name: "_token", type: "address" }, { internalType: "uint256", name: "_bidAmount", type: "uint256" }, { internalType: "uint256", name: "_listingIndex", type: "uint256" }, { internalType: "uint256", name: "_listingState", type: "uint256" } ], name: "settleAuction", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "tokenMaxOccurrences", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IExchange", name: "_exchangeContract", type: "address" } ], name: "updateExchangeContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var CLOCK_AUCTION = { name: "Clock Auction", address: "0x004965ea925a7cc0dfa9c080bba9249aef5e9d54", is_deprecated: true, created_at: 1632220760, abi: abi110 }; var clock_auction_default = CLOCK_AUCTION; // src/contracts/clock_auction_proxy.ts var abi111 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "uint256", name: "_tokenMaxOccurrences", type: "uint256" }, { internalType: "contract IExchange", name: "_exchangeContract", type: "address" }, { internalType: "uint256", name: "_ownerCut", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "auctions", outputs: [ { internalType: "address", name: "seller", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "completeInitilization", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "exchangeContract", outputs: [ { internalType: "contract IExchange", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_tokenNumber", type: "uint256" } ], name: "getTokenAuctions", outputs: [ { internalType: "address[]", name: "_sellers", type: "address[]" }, { internalType: "uint256[]", name: "_listingIndexes", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_tokenNumber", type: "uint256" } ], name: "getTokenAuctionsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "initialized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "ownerCut", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_newOwnerCut", type: "uint256" } ], name: "setOwnerCut", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenMaxOccurrences", type: "uint256" } ], name: "setTokenMaxOccurrences", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "tokenMaxOccurrences", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IExchange", name: "_exchangeContract", type: "address" } ], name: "updateExchangeContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var CLOCK_AUCTION_PROXY = { name: "Clock Auction Proxy", address: "0x213073989821f738a7ba3520c3d31a1f9ad31bbd", is_deprecated: true, created_at: 1619438333, abi: abi111 }; var clock_auction_proxy_default = CLOCK_AUCTION_PROXY; // src/contracts/coin_balance.ts var abi112 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "address", name: "_sender", type: "address" } ], name: "getTokensBalance", outputs: [ { internalType: "address[]", name: "tokens", type: "address[]" }, { internalType: "uint256[]", name: "decimal", type: "uint256[]" }, { internalType: "uint256[]", name: "balance", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokens", type: "address[]" } ], name: "setTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tokensMap", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "tokensMapSize", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var COIN_BALANCE = { name: "Coin Balance", address: "0x865b23f0cdebadc7388ebce9258b7c2c1c384252", is_deprecated: false, created_at: 1714838121, abi: abi112 }; var coin_balance_default = COIN_BALANCE; // src/contracts/coin_flipper_proxy.ts var abi113 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var COIN_FLIPPER_PROXY = { name: "Coin Flipper Proxy", address: "0xf8bc646ec90c6dbc36e2419f9976737e652cf9c1", is_deprecated: false, created_at: 1715902755, abi: abi113 }; var coin_flipper_proxy_default = COIN_FLIPPER_PROXY; // src/contracts/collateral_staking_manager.ts var abi114 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "bool", name: "newValue", type: "bool" } ], name: "MoveCollateralPausedChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newAdmin", type: "address" }, { indexed: true, internalType: "address", name: "previousAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" } ], name: "NewCollateralStakingMediator", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousImpl", type: "address" }, { indexed: false, internalType: "address", name: "newImpl", type: "address" } ], name: "NewCollateralStakingMediatorImplementation", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRedelegatingManager", type: "address" }, { indexed: true, internalType: "address", name: "previousRedelegatingManager", type: "address" } ], name: "NewRedelegatingManager", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRestakingManager", type: "address" }, { indexed: true, internalType: "address", name: "previousRestakingManager", type: "address" } ], name: "NewRestakingManager", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRestakingPool", type: "address" }, { indexed: true, internalType: "address", name: "previousRestakingPool", type: "address" } ], name: "NewRestakingPool", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRestakingUnderlying", type: "address" }, { indexed: true, internalType: "address", name: "previousRestakingUnderlying", type: "address" } ], name: "NewRestakingUnderlying", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "newPercentage", type: "uint256" }, { indexed: true, internalType: "uint256", name: "previousPercentage", type: "uint256" } ], name: "NewRewardsRoyaltiesPercentage", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRoninStaking", type: "address" }, { indexed: true, internalType: "address", name: "previousRoninStaking", type: "address" } ], name: "NewRoninStaking", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRoninValidatorSet", type: "address" }, { indexed: true, internalType: "address", name: "previousRoninValidatorSet", type: "address" } ], name: "NewRoninValidatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newReceiver", type: "address" }, { indexed: true, internalType: "address", name: "previousReceiver", type: "address" } ], name: "NewRoyaltiesReceiver", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cErcStakingMarket", type: "address" }, { indexed: false, internalType: "address", name: "stakingPool", type: "address" }, { indexed: false, internalType: "address", name: "underlyingToken", type: "address" } ], name: "NewStakingMarket", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "validator", type: "address" }, { indexed: true, internalType: "bool", name: "supported", type: "bool" } ], name: "ValidatorSupported", type: "event" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "cErcStakingMarket", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "collateralStakingMediatorImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "decreaseTotalDelegatingAmount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "decreaseTotalRestakingAmount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "consensusAddr", type: "address" } ], name: "delegateInitialUncollateralizedRon", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [], name: "feeDenominator", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "getCollateralStakingMediator", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address payable", name: "user", type: "address" } ], name: "getOrCreateCollateralStakingMediator", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "increaseTotalAccruedRewards", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "increaseTotalAccruedRewardsRon", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "increaseTotalDelegatingAmount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "increaseTotalRestakingAmount", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address payable", name: "royaltiesReceiver_", type: "address" }, { internalType: "address", name: "collateralStakingMediatorImplementation_", type: "address" }, { internalType: "uint256", name: "rewardsRoyaltiesPercentage_", type: "uint256" } ], name: "initialize", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "isCollateralStakingManager", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "marketPoolWire", outputs: [ { internalType: "address", name: "stakingPool", type: "address" }, { internalType: "address", name: "underlyingToken", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "moveUncollateralizedPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "redelegatingManager", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "restakingManager", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "restakingPoolErc20", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "restakingUnderlying", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "rewardsRoyaltiesPercentage", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "roninStaking", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "roninValidatorSet", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "royaltiesReceiver", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "setAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "setCollateralStakingMediatorImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "value", type: "bool" } ], name: "setMoveUncollateralizedPaused", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newRedelegatingManager", type: "address" } ], name: "setRedelegatingManager", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newManager", type: "address" } ], name: "setRestakingManager", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "restakingPool", type: "address" } ], name: "setRestakingPoolErc20", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "underlying", type: "address" } ], name: "setRestakingUnderlying", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "newPercentage", type: "uint256" } ], name: "setRewardRoyaltiesPercentage", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newRoninStaking", type: "address" } ], name: "setRoninStaking", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newRoninValidatorSet", type: "address" } ], name: "setRoninValidatorSet", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address payable", name: "newReceiver", type: "address" } ], name: "setRoyaltiesReceiver", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "stakeInitialUncollateralizedErc20", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "market", type: "address" }, { internalType: "address", name: "stakingPool", type: "address" }, { internalType: "address", name: "underlyingToken", type: "address" }, { internalType: "bool", name: "isErc721", type: "bool" }, { internalType: "bool", name: "isErc20", type: "bool" } ], name: "supportCErcStakingMarket", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "validators", type: "address[]" }, { internalType: "bool[]", name: "supported", type: "bool[]" } ], name: "supportValidators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "supportedValidators", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalAccruedRewards", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalAccruedRewardsRon", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalDelegatingAmountRon", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalRestakingAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" } ]; var COLLATERAL_STAKING_MANAGER = { name: "Collateral Staking Manager", address: "0x8ccd796547fcdcc96a9f464dfc02a20d3189c75a", is_deprecated: false, created_at: 1689704978, abi: abi114 }; var collateral_staking_manager_default = COLLATERAL_STAKING_MANAGER; // src/contracts/collateral_staking_manager_proxy.ts var abi115 = [ { inputs: [ { internalType: "address payable", name: "royaltiesReceiver_", type: "address" }, { internalType: "address", name: "collateralStakingMediatorImplementation_", type: "address" }, { internalType: "uint256", name: "rewardsRoyaltiesPercentage_", type: "uint256" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "address", name: "implementation_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "implementation_", type: "address" } ], name: "_setImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "cErcStakingMarket", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "collateralStakingMediatorImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "isCollateralStakingManager", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "marketPoolWire", outputs: [ { internalType: "address", name: "stakingPool", type: "address" }, { internalType: "address", name: "underlyingToken", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "rewardsRoyaltiesPercentage", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "royaltiesReceiver", outputs: [ { internalType: "address payable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var COLLATERAL_STAKING_MANAGER_PROXY = { name: "Collateral Staking Manager Proxy", address: "0xc52b45fa1c7d5e9837737b5dfea00440d6875deb", is_deprecated: false, created_at: 1673981460, abi: abi115 }; var collateral_staking_manager_proxy_default = COLLATERAL_STAKING_MANAGER_PROXY; // src/contracts/collateral_staking_mediator.ts var abi116 = [ { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "accruedRewards", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "accruedRewardsRon", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "activeCollateralizedValidators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "stakingManager", type: "address" }, { internalType: "address", name: "stakingPool", type: "address" } ], name: "canClaimRewards", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "stakingPool", type: "address" }, { internalType: "address", name: "stakingManager", type: "address" } ], name: "claimPendingRewards", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "consensusAddrList", type: "address[]" } ], name: "claimRewardsRon", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "collateralStakingManager", outputs: [ { internalType: "contract CollateralStakingManagerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "collateralizedDelegatingAmountPerValidator", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "consensusAddr", type: "address" }, { internalType: "address", name: "consensusAddrTarget", type: "address" } ], name: "delegateCollateralizedRon", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "consensusAddr", type: "address" } ], name: "delegateUncollateralizedRon", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [], name: "getActiveCollateralizedValidators", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "stakingPool", type: "address" } ], name: "getPendingRewards", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "collateralStakingManager_", type: "address" }, { internalType: "address payable", name: "owner_", type: "address" } ], name: "initialize", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "isCollateralStakingMediator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "moveUncollateralizedErc20ToProtocol", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "consensusAddr", type: "address" }, { internalType: "address", name: "consensusAddrTarget", type: "address" } ], name: "moveUncollateralizedRonToProtocol", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "poolToUndelegateCooldown", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "consensusAddrList", type: "address[]" }, { internalType: "uint256[]", name: "redeemTokens", type: "uint256[]" }, { internalType: "address payable", name: "to", type: "address" } ], name: "redeemCollateralizedRon", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "consensusAddrList", type: "address[]" } ], name: "redelegateRewards", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "stakingPool", type: "address" }, { internalType: "address", name: "stakingManager", type: "address" } ], name: "restakePendingRewards", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "consensusAddrSrc", type: "address" }, { internalType: "address", name: "consensusAddrDst", type: "address" } ], name: "setValidatorTargetsForRestaking", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "stakeErc20", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "stakeErc721", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "stakeUncollateralizedErc20", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "uncollateralizedDelegatingAmountPerValidator", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "uncollateralizedDelegatingAmountRon", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "uncollateralizedStakingAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "consensusAddrList", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "undelegateUncollateralizedRon", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" } ], name: "unstakeErc20", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "address", name: "receiver", type: "address" } ], name: "unstakeErc721", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "unstakeUncollateralizedErc20", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "validatorToRestakingTarget", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "validatorUsedForCollateral", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var COLLATERAL_STAKING_MEDIATOR = { name: "Collateral Staking Mediator", address: "0xec8adb923ac6637ac591cbb2a0d0b2d52d41494f", is_deprecated: false, created_at: 1692116109, abi: abi116 }; var collateral_staking_mediator_default = COLLATERAL_STAKING_MEDIATOR; // src/contracts/community_incentives.ts var abi117 = [ { inputs: [ { internalType: "address", name: "_singleton", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" } ]; var COMMUNITY_INCENTIVES = { name: "Community Incentives", address: "0xf603d9a18a5aaca2d11cb43cbb2b6abc4a5b3e61", is_deprecated: false, created_at: 1660893273, abi: abi117 }; var community_incentives_default = COMMUNITY_INCENTIVES; // src/contracts/comp_comptroller.ts var abi118 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "oldCompAccrued", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newCompAccrued", type: "uint256" } ], name: "CompAccruedAdjusted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract CTokenInterface", name: "cToken", type: "address" }, { indexed: false, internalType: "uint256", name: "newSpeed", type: "uint256" } ], name: "CompBorrowSpeedUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "CompGranted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "oldCompReceivable", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newCompReceivable", type: "uint256" } ], name: "CompReceivableUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract CTokenInterface", name: "cToken", type: "address" }, { indexed: false, internalType: "uint256", name: "newSpeed", type: "uint256" } ], name: "CompSupplySpeedUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "contributor", type: "address" }, { indexed: false, internalType: "uint256", name: "newSpeed", type: "uint256" } ], name: "ContributorCompSpeedUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract CTokenInterface", name: "cToken", type: "address" }, { indexed: true, internalType: "address", name: "borrower", type: "address" }, { indexed: false, internalType: "uint256", name: "compDelta", type: "uint256" }, { indexed: false, internalType: "uint256", name: "compBorrowIndex", type: "uint256" } ], name: "DistributedBorrowerComp", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract CTokenInterface", name: "cToken", type: "address" }, { indexed: true, internalType: "address", name: "supplier", type: "address" }, { indexed: false, internalType: "uint256", name: "compDelta", type: "uint256" }, { indexed: false, internalType: "uint256", name: "compSupplyIndex", type: "uint256" } ], name: "DistributedSupplierComp", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "error", type: "uint256" }, { indexed: false, internalType: "uint256", name: "info", type: "uint256" }, { indexed: false, internalType: "uint256", name: "detail", type: "uint256" } ], name: "Failure", type: "event" }, { constant: false, inputs: [ { internalType: "contract CompUnitroller", name: "compUnitroller", type: "address" } ], name: "_become", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "_grantComp", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract CTokenInterface[]", name: "cTokens", type: "address[]" }, { internalType: "uint256[]", name: "supplySpeeds", type: "uint256[]" }, { internalType: "uint256[]", name: "borrowSpeeds", type: "uint256[]" } ], name: "_setCompSpeeds", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract ComptrollerInterface", name: "newComptroller", type: "address" } ], name: "_setComptroller", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "contributor", type: "address" }, { internalType: "uint256", name: "compSpeed", type: "uint256" } ], name: "_setContributorCompSpeed", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "holder", type: "address" }, { internalType: "contract CTokenInterface[]", name: "cTokens", type: "address[]" } ], name: "claimComp", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "holders", type: "address[]" }, { internalType: "contract CTokenInterface[]", name: "cTokens", type: "address[]" }, { internalType: "bool", name: "borrowers", type: "bool" }, { internalType: "bool", name: "suppliers", type: "bool" } ], name: "claimComp", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "holder", type: "address" } ], name: "claimComp", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "compAccrued", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "compBorrowSpeeds", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "compBorrowState", outputs: [ { internalType: "uint224", name: "index", type: "uint224" }, { internalType: "uint32", name: "block", type: "uint32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "compBorrowerIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "compContributorSpeeds", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "compInitialIndex", outputs: [ { internalType: "uint224", name: "", type: "uint224" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "compRate", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "compSupplierIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "compSupplySpeeds", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "compSupplyState", outputs: [ { internalType: "uint224", name: "index", type: "uint224" }, { internalType: "uint32", name: "block", type: "uint32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "borrower", type: "address" } ], name: "distributeBorrowerComp", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "supplier", type: "address" } ], name: "distributeSupplierComp", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "getBlockNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCompAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "initializeMarket", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "lastContributorBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingComptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "updateCompBorrowIndex", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "updateCompSupplyIndex", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "contributor", type: "address" } ], name: "updateContributorRewards", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var COMP_COMPTROLLER = { name: "Comp Comptroller", address: "0xa7c5a879a1c6241eb74aef98445a1ffda4894db0", is_deprecated: false, created_at: 1672169547, abi: abi118 }; var comp_comptroller_default = COMP_COMPTROLLER; // src/contracts/comp_unitroller.ts var abi119 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "error", type: "uint256" }, { indexed: false, internalType: "uint256", name: "info", type: "uint256" }, { indexed: false, internalType: "uint256", name: "detail", type: "uint256" } ], name: "Failure", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldPendingAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newPendingAdmin", type: "address" } ], name: "NewPendingAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldPendingImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newPendingImplementation", type: "address" } ], name: "NewPendingImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [], name: "_acceptAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "_acceptImplementation", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newPendingAdmin", type: "address" } ], name: "_setPendingAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newPendingImplementation", type: "address" } ], name: "_setPendingImplementation", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingComptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var COMP_UNITROLLER = { name: "Comp Unitroller", address: "0x9d5a8a83dd2b66236d52790a091c58ab666d1d8b", is_deprecated: false, created_at: 1672169541, abi: abi119 }; var comp_unitroller_default = COMP_UNITROLLER; // src/contracts/compatibility_fallback_handler.ts var abi120 = [ { inputs: [], name: "NAME", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "message", type: "bytes" } ], name: "getMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract GnosisSafe", name: "safe", type: "address" }, { internalType: "bytes", name: "message", type: "bytes" } ], name: "getMessageHashForSafe", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getModules", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_dataHash", type: "bytes32" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "targetContract", type: "address" }, { internalType: "bytes", name: "calldataPayload", type: "bytes" } ], name: "simulate", outputs: [ { internalType: "bytes", name: "response", type: "bytes" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "tokensReceived", outputs: [], stateMutability: "pure", type: "function" } ]; var COMPATIBILITY_FALLBACK_HANDLER = { name: "Compatibility Fallback Handler", address: "0xf48f2b2d2a534e402487b3ee7c18c33aec0fe5e4", is_deprecated: false, created_at: 1635392419, abi: abi120 }; var compatibility_fallback_handler_default = COMPATIBILITY_FALLBACK_HANDLER; // src/contracts/comptroller.ts var abi121 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "action", type: "string" }, { indexed: false, internalType: "bool", name: "pauseState", type: "bool" } ], name: "ActionPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "cToken", type: "address" }, { indexed: false, internalType: "string", name: "action", type: "string" }, { indexed: false, internalType: "bool", name: "pauseState", type: "bool" } ], name: "ActionPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "error", type: "uint256" }, { indexed: false, internalType: "uint256", name: "info", type: "uint256" }, { indexed: false, internalType: "uint256", name: "detail", type: "uint256" } ], name: "Failure", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "cToken", type: "address" } ], name: "MarketListed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract CTokenInterface", name: "cToken", type: "address" }, { indexed: false, internalType: "uint256", name: "newBorrowCap", type: "uint256" } ], name: "NewBorrowCap", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldBorrowCapGuardian", type: "address" }, { indexed: false, internalType: "address", name: "newBorrowCapGuardian", type: "address" } ], name: "NewBorrowCapGuardian", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldCloseFactorMantissa", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newCloseFactorMantissa", type: "uint256" } ], name: "NewCloseFactor", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "cToken", type: "address" }, { indexed: false, internalType: "uint256", name: "oldCollateralFactorMantissa", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newCollateralFactorMantissa", type: "uint256" } ], name: "NewCollateralFactor", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "market", type: "address" }, { indexed: false, internalType: "uint256", name: "oldLiquidationDiscountMantissa", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newLiquidationDiscountMantissa", type: "uint256" } ], name: "NewLiquidationDiscount", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "market", type: "address" }, { indexed: false, internalType: "uint256", name: "oldLiquidationIncentiveMantissa", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newLiquidationIncentiveMantissa", type: "uint256" } ], name: "NewLiquidationIncentive", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldPauseGuardian", type: "address" }, { indexed: false, internalType: "address", name: "newPauseGuardian", type: "address" } ], name: "NewPauseGuardian", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract PriceOracle", name: "oldPriceOracle", type: "address" }, { indexed: false, internalType: "contract PriceOracle", name: "newPriceOracle", type: "address" } ], name: "NewPriceOracle", type: "event" }, { constant: false, inputs: [ { internalType: "contract Unitroller", name: "unitroller", type: "address" } ], name: "_become", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newBorrowCapGuardian", type: "address" } ], name: "_setBorrowCapGuardian", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "bool", name: "state", type: "bool" } ], name: "_setBorrowPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "newCloseFactorMantissa", type: "uint256" } ], name: "_setCloseFactor", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "uint256", name: "newCollateralFactorMantissa", type: "uint256" }, { internalType: "bool", name: "isErc721", type: "bool" }, { internalType: "bool", name: "isErc20Collateral", type: "bool" } ], name: "_setCollateralFactor", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract CompComptrollerInterface", name: "newCompComptroller", type: "address" } ], name: "_setCompComptroller", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "market", type: "address" }, { internalType: "uint256", name: "newLiquidationDiscountMantissa", type: "uint256" } ], name: "_setLiquidationDiscountForMarket", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "market", type: "address" }, { internalType: "uint256", name: "newLiquidationIncentiveMantissa", type: "uint256" } ], name: "_setLiquidationIncentiveForMarket", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract LiquidityAssessorInterface", name: "newLiquidityAssessor", type: "address" } ], name: "_setLiquidityAssessor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract CTokenInterface[]", name: "cTokens", type: "address[]" }, { internalType: "uint256[]", name: "newBorrowCaps", type: "uint256[]" } ], name: "_setMarketBorrowCaps", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "bool", name: "state", type: "bool" } ], name: "_setMintPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newPauseGuardian", type: "address" } ], name: "_setPauseGuardian", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract PriceOracle", name: "newOracle", type: "address" } ], name: "_setPriceOracle", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "state", type: "bool" } ], name: "_setSeizePaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "state", type: "bool" } ], name: "_setTransferPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "bool", name: "isErc721", type: "bool" }, { internalType: "bool", name: "isErc20Collateral", type: "bool" } ], name: "_supportMarket", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "allErc20BridgedMarkets", outputs: [ { internalType: "contract CErc20BridgedInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "allErc20CollateralMarkets", outputs: [ { internalType: "contract CErc20CollateralInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "allErc721Markets", outputs: [ { internalType: "contract CErc721Interface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "allMarkets", outputs: [ { internalType: "contract CTokenInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "appraisalOracle", outputs: [ { internalType: "contract AppraisalOracleInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "borrowAmount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "borrowAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "borrowCapGuardian", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "borrowCaps", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "borrowGuardianPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "closeFactorMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "compComptroller", outputs: [ { internalType: "contract CompComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getAllErc20CollateralMarkets", outputs: [ { internalType: "contract CErc20CollateralInterface[]", name: "", type: "address[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getAllErc721Markets", outputs: [ { internalType: "contract CErc721Interface[]", name: "", type: "address[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getAllMarkets", outputs: [ { internalType: "contract CTokenInterface[]", name: "", type: "address[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getBlockNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "getBorrowGuardianPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCloseFactorMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "asset", type: "address" } ], name: "getCollateralFactorMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "market", type: "address" } ], name: "getMarketLiquidationDiscount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "market", type: "address" } ], name: "getMarketLiquidationIncentive", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getOracle", outputs: [ { internalType: "contract PriceOracle", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "isComptroller", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "isMarketListed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cTokenCollateral", type: "address" }, { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cErc721TokenCollateral", type: "address" }, { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAllowedErc721", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cErc20CollateralToken", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" } ], name: "liquidateCalculateSeizeCErc20Collateral", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cTokenCollateral", type: "address" }, { internalType: "uint256", name: "actualRepayAmount", type: "uint256" } ], name: "liquidateCalculateSeizeTokens", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "liquidationDiscountMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "liquidationDiscountMantissaPerMarket", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "liquidationIncentiveMantissa", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "liquidationIncentiveMantissaPerMarket", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "liquidityAssessor", outputs: [ { internalType: "contract LiquidityAssessorInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "markets", outputs: [ { internalType: "bool", name: "isListed", type: "bool" }, { internalType: "uint256", name: "collateralFactorMantissa", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "minter", type: "address" } ], name: "mintAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cErc20CollateralToken", type: "address" } ], name: "mintAllowedErc20Collateral", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cErc721Token", type: "address" } ], name: "mintAllowedErc721", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "mintGuardianPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "oracle", outputs: [ { internalType: "contract PriceOracle", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pauseGuardian", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingComptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "redeemer", type: "address" }, { internalType: "uint256", name: "redeemTokens", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "redeemAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cErc20CollateralToken", type: "address" }, { internalType: "address", name: "redeemer", type: "address" }, { internalType: "uint256", name: "redeemTokens", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "redeemAllowedErc20Collateral", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cErc721Token", type: "address" }, { internalType: "address", name: "redeemer", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "redeemAllowedErc721", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "redeemAmount", type: "uint256" }, { internalType: "uint256", name: "redeemTokens", type: "uint256" } ], name: "redeemVerify", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "payer", type: "address" }, { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" } ], name: "repayBorrowAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cTokenCollateral", type: "address" }, { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "liquidator", type: "address" }, { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "seizeTokens", type: "uint256" } ], name: "seizeAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cErc20CollateralToken", type: "address" }, { internalType: "address", name: "cTokenBorrowed", type: "address" } ], name: "seizeAllowedErc20Collateral", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cErc721TokenCollateral", type: "address" }, { internalType: "address", name: "cTokenBorrowed", type: "address" } ], name: "seizeAllowedErc721", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "seizeGuardianPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "src", type: "address" }, { internalType: "address", name: "dst", type: "address" }, { internalType: "uint256", name: "transferTokens", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "transferAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "transferGuardianPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var COMPTROLLER = { name: "Comptroller", address: "0x946ad76fd64b9a926128dfb27b189925d6f806b2", is_deprecated: false, created_at: 1678817400, abi: abi121 }; var comptroller_default = COMPTROLLER; // src/contracts/consumer_test.ts var abi122 = [ { inputs: [ { internalType: "address", name: "_vrfCoordinator", type: "address" }, { internalType: "address", name: "sentry", type: "address" } ], stateMutability: "payable", type: "constructor" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { 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" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], name: "getManyOracleAddressOf", outputs: [ { internalType: "address[]", name: "_oracleAddresses", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], name: "getManyRandomResults", outputs: [ { internalType: "uint256[]", name: "_randomResults", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "uint256", name: "", type: "uint256" } ], name: "oracleAddr", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "randomHashOfToken", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "randomResult", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", 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: "_vrfCoordinator", type: "address" } ], name: "setVrfCoordinator", 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: [ { internalType: "uint256", name: "_callbackGaslimit", type: "uint256" }, { internalType: "uint256", name: "_gasPrice", type: "uint256" }, { internalType: "address", name: "_refundAddr", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "testRequestRandomness", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "_gasPrice", type: "uint256" }, { internalType: "address", name: "_refundAddr", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "testRequestRandomnessWithNotConsumerAddress", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var CONSUMER_TEST = { name: "Consumer Test", address: "0x2ab1afc50e63c0020cbb69662bcb9dc52424aa5e", is_deprecated: false, created_at: 1692006864, abi: abi122 }; var consumer_test_default = CONSUMER_TEST; // src/contracts/contract_openable_pack_721_proxy.ts var abi123 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var CONTRACT_OPENABLE_PACK_721_PROXY = { name: "Contract Openable Pack 721 Proxy", address: "0x21b05d1c08503942b353a342e64dc91b57ddce10", is_deprecated: false, created_at: 1717481256, abi: abi123 }; var contract_openable_pack_721_proxy_default = CONTRACT_OPENABLE_PACK_721_PROXY; // src/contracts/contract_openable_pack_proxy.ts var abi124 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var CONTRACT_OPENABLE_PACK_PROXY = { name: "Contract Openable Pack Proxy", address: "0x62c4544adc5c1113fb3f3730eaffa3df45f4071c", is_deprecated: false, created_at: 1717481235, abi: abi124 }; var contract_openable_pack_proxy_default = CONTRACT_OPENABLE_PACK_PROXY; // src/contracts/core_attestor.ts var abi125 = [ { inputs: [ { internalType: "address", name: "attestationsRegistry", type: "address" }, { internalType: "address", name: "relayer", type: "address" }, { internalType: "address", name: "withdrawAddress", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "IdHasNoRoot", type: "error" }, { inputs: [], name: "InsufficientFee", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint64", name: "expirationDate", type: "uint64" }, { internalType: "string", name: "attestationURL", type: "string" }, { internalType: "bytes32[]", name: "proof", type: "bytes32[]" } ], name: "InvalidData", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [ { internalType: "address", name: "signer", type: "address" }, { internalType: "address", name: "receiver", type: "address" } ], name: "InvalidSigner", type: "error" }, { inputs: [], name: "ReceiverNotOwner", type: "error" }, { inputs: [], name: "WithdrawAddressNotSet", type: "error" }, { inputs: [], name: "WithdrawFail", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "fee", type: "uint256" } ], name: "FeeSet", 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: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "bytes32", name: "root", type: "bytes32" } ], name: "RootAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "bytes32", name: "root", type: "bytes32" } ], name: "RootSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "ATTESTOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_attestationsRegistry", outputs: [ { internalType: "contract CliqueAttestationsRegistry", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "_fees", outputs: [ { internalType: "uint256", name: "fee", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_relayer", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "_roots", outputs: [ { internalType: "bytes32", name: "root", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_withdrawAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { components: [ { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint64", name: "expirationDate", type: "uint64" }, { internalType: "string", name: "schema", type: "string" }, { internalType: "string", name: "attestationURL", type: "string" }, { internalType: "bytes32[]", name: "proof", type: "bytes32[]" } ], internalType: "struct AirdropData[]", name: "leaves", type: "tuple[]" } ], name: "airdropAttestations", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint64", name: "expirationDate", type: "uint64" }, { internalType: "string", name: "schema", type: "string" }, { internalType: "string", name: "attestationURL", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "attestAttestation", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], 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: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "revokeAttestation", 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: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "fee", type: "uint256" } ], name: "setFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "relayer", type: "address" } ], name: "setRelayer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "bytes32", name: "root", type: "bytes32" } ], name: "setRoot", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "withdrawAddress", type: "address" } ], name: "setWithdrawAddress", 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: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint64", name: "expirationDate", type: "uint64" }, { internalType: "string", name: "attestationURL", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "updateAttestation", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var CORE_ATTESTOR = { name: "Core Attestor", address: "0x065e959ffd4c76ae2e0d31cfcf91c0c9834472ec", is_deprecated: false, created_at: 1692001638, abi: abi125 }; var core_attestor_default = CORE_ATTESTOR; // src/contracts/create_call.ts var abi126 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newContract", type: "address" } ], name: "ContractCreation", type: "event" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "deploymentData", type: "bytes" } ], name: "performCreate", outputs: [ { internalType: "address", name: "newContract", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "deploymentData", type: "bytes" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "performCreate2", outputs: [ { internalType: "address", name: "newContract", type: "address" } ], stateMutability: "nonpayable", type: "function" } ]; var CREATE_CALL = { name: "Create Call", address: "0x7cbb62eaa69f79e6873cd1ecb2392971036cfaa4", is_deprecated: false, created_at: 1635392431, abi: abi126 }; var create_call_default = CREATE_CALL; // src/contracts/daily_check_in_factory.ts var abi127 = [ { inputs: [ { internalType: "address", name: "allowed", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AllowedCannotBeSelf", type: "error" }, { inputs: [], name: "DeploymentFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "actual", type: "address" } ], name: "ExpectedAddressNotMatch", type: "error" }, { inputs: [], name: "NullAddress", type: "error" }, { inputs: [], name: "UnauthorizedDelegateCall", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "deploy", outputs: [ { internalType: "address", name: "instance", type: "address" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "getCreationCode", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" } ]; var DAILY_CHECK_IN_FACTORY = { name: "Daily Check In Factory", address: "0xc71008091c58ef7e43412f58b203eb3ae8ab937b", is_deprecated: false, created_at: 1729071335, abi: abi127 }; var daily_check_in_factory_default = DAILY_CHECK_IN_FACTORY; // src/contracts/daily_checkin_proxy.ts var abi128 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var DAILY_CHECKIN_PROXY = { name: "Daily Checkin Proxy", address: "0x58ad3594758b0f74478dbc07168812ddf460a07f", is_deprecated: false, created_at: 1701710100, abi: abi128 }; var daily_checkin_proxy_default = DAILY_CHECKIN_PROXY; // src/contracts/daily_donut.ts var abi129 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "claimId", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "canClaimToday", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "claimDonut", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "claimId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentDay", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "lastClaimDay", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "timeUntilNextClaim", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var DAILY_DONUT = { name: "Daily Donut", address: "0xe969cc48458ed2e40fa63d5287a81a4e4748b98b", is_deprecated: false, created_at: 1723637642, abi: abi129 }; var daily_donut_default = DAILY_DONUT; // src/contracts/default_callback_handler.ts var abi130 = [ { inputs: [], name: "NAME", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "tokensReceived", outputs: [], stateMutability: "pure", type: "function" } ]; var DEFAULT_CALLBACK_HANDLER = { name: "Default Callback Handler", address: "0x1ac114c2099afaf5261731655dc6c306bfcd4dbd", is_deprecated: false, created_at: 1635392410, abi: abi130 }; var default_callback_handler_default = DEFAULT_CALLBACK_HANDLER; // src/contracts/delegate_registry.ts var abi131 = [ { inputs: [], name: "MulticallFailed", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "bytes32", name: "rights", type: "bytes32" }, { indexed: false, internalType: "bool", name: "enable", type: "bool" } ], name: "DelegateAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "address", name: "contract_", type: "address" }, { indexed: false, internalType: "bytes32", name: "rights", type: "bytes32" }, { indexed: false, internalType: "bool", name: "enable", type: "bool" } ], name: "DelegateContract", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "address", name: "contract_", type: "address" }, { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "bytes32", name: "rights", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "DelegateERC1155", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "address", name: "contract_", type: "address" }, { indexed: false, internalType: "bytes32", name: "rights", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "DelegateERC20", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "address", name: "contract_", type: "address" }, { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "bytes32", name: "rights", type: "bytes32" }, { indexed: false, internalType: "bool", name: "enable", type: "bool" } ], name: "DelegateERC721", type: "event" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" } ], name: "checkDelegateForAll", outputs: [ { internalType: "bool", name: "valid", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" } ], name: "checkDelegateForContract", outputs: [ { internalType: "bool", name: "valid", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes32", name: "rights", type: "bytes32" } ], name: "checkDelegateForERC1155", outputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" } ], name: "checkDelegateForERC20", outputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes32", name: "rights", type: "bytes32" } ], name: "checkDelegateForERC721", outputs: [ { internalType: "bool", name: "valid", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "bool", name: "enable", type: "bool" } ], name: "delegateAll", outputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "bool", name: "enable", type: "bool" } ], name: "delegateContract", outputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "delegateERC1155", outputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "delegateERC20", outputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "bool", name: "enable", type: "bool" } ], name: "delegateERC721", outputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "hashes", type: "bytes32[]" } ], name: "getDelegationsFromHashes", outputs: [ { components: [ { internalType: "enum IDelegateRegistry.DelegationType", name: "type_", type: "uint8" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct IDelegateRegistry.Delegation[]", name: "delegations_", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "getIncomingDelegationHashes", outputs: [ { internalType: "bytes32[]", name: "delegationHashes", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "getIncomingDelegations", outputs: [ { components: [ { internalType: "enum IDelegateRegistry.DelegationType", name: "type_", type: "uint8" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct IDelegateRegistry.Delegation[]", name: "delegations_", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" } ], name: "getOutgoingDelegationHashes", outputs: [ { internalType: "bytes32[]", name: "delegationHashes", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" } ], name: "getOutgoingDelegations", outputs: [ { components: [ { internalType: "enum IDelegateRegistry.DelegationType", name: "type_", type: "uint8" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "bytes32", name: "rights", type: "bytes32" }, { internalType: "address", name: "contract_", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct IDelegateRegistry.Delegation[]", name: "delegations_", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes[]", name: "data", type: "bytes[]" } ], name: "multicall", outputs: [ { internalType: "bytes[]", name: "results", type: "bytes[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "location", type: "bytes32" } ], name: "readSlot", outputs: [ { internalType: "bytes32", name: "contents", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "locations", type: "bytes32[]" } ], name: "readSlots", outputs: [ { internalType: "bytes32[]", name: "contents", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "sweep", stateMutability: "nonpayable", type: "function" } ]; var DELEGATE_REGISTRY = { name: "Delegate Registry", address: "0x00000000000000447e69651d841bd8d104bed493", is_deprecated: false, created_at: 1710836780, abi: abi131 }; var delegate_registry_default = DELEGATE_REGISTRY; // src/contracts/dice.ts var abi132 = [ { inputs: [ { internalType: "address", name: "_vrfCoordinator", type: "address" } ], stateMutability: "payable", type: "constructor" }, { inputs: [], name: "InsufficientFee", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "roll", type: "uint256" }, { indexed: false, internalType: "address", name: "roller", type: "address" }, { indexed: false, internalType: "uint256", name: "result", type: "uint256" }, { indexed: false, internalType: "uint256", name: "treasuryReward", type: "uint256" } ], name: "DiceRolled", 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: true, internalType: "address", name: "funder", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "TreasuryFunded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "TreasuryRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "winner", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "TreasuryWithdrawn", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "callbackGasLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentRolls", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "gasPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRemainingTreasury", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "rollNumber", type: "uint256" } ], name: "getRollResult", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxDiceValue", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxRolls", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "removeTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "reservedBalanceForTreasury", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "roll", outputs: [ { internalType: "bytes32", name: "requestHash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "rollResults", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_maxRolls", type: "uint256" }, { internalType: "uint256", name: "_maxDiceValue", type: "uint256" }, { internalType: "uint256", name: "_treasuryAmount", type: "uint256" }, { internalType: "uint256", name: "_treasuryChance", type: "uint256" } ], name: "setParameters", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "_gasPrice", type: "uint256" } ], name: "setVRFVariables", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "treasuries", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "treasuryAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "treasuryChance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var DICE = { name: "Dice", address: "0xba8e24a8ee724e55c0406ed8fd1a550b514ebd54", is_deprecated: false, created_at: 1718125170, abi: abi132 }; var dice_default = DICE; // src/contracts/disperse.ts var abi133 = [ { constant: false, inputs: [ { name: "token", type: "address" }, { name: "recipients", type: "address[]" }, { name: "values", type: "uint256[]" } ], name: "disperseTokenSimple", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { name: "token", type: "address" }, { name: "recipients", type: "address[]" }, { name: "values", type: "uint256[]" } ], name: "disperseToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { name: "recipients", type: "address[]" }, { name: "values", type: "uint256[]" } ], name: "disperseEther", outputs: [], payable: true, stateMutability: "payable", type: "function" } ]; var DISPERSE = { name: "Disperse", address: "0x14978681c5f8ce2f6b66d1f1551b0ec67405574c", is_deprecated: true, created_at: 1620737178, abi: abi133 }; var disperse_default = DISPERSE; // src/contracts/dynamic_supply_limit_erc1155.ts var abi134 = [ { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "OperatorNotAllowed", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newRoyaltyRecipient", type: "address" }, { indexed: false, internalType: "uint256", name: "newRoyaltyBps", type: "uint256" } ], name: "DefaultRoyalty", type: "event" }, { anonymous: false, inputs: [], name: "EIP712DomainChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "platformFeeRecipient", type: "address" }, { indexed: false, internalType: "uint256", name: "flatFee", type: "uint256" } ], name: "FlatPlatformFeeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool", name: "restriction", type: "bool" } ], name: "OperatorRestriction", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "prevOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnerUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "platformFeeRecipient", type: "address" }, { indexed: false, internalType: "uint256", name: "platformFeeBps", type: "uint256" } ], name: "PlatformFeeInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "enum IPlatformFee.PlatformFeeType", name: "feeType", type: "uint8" } ], name: "PlatformFeeTypeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" } ], name: "PrimarySaleRecipientUpdated", 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: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "royaltyRecipient", type: "address" }, { indexed: false, internalType: "uint256", name: "royaltyBps", type: "uint256" } ], name: "RoyaltyForToken", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "mintedTo", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenIdMinted", type: "uint256" }, { indexed: false, internalType: "string", name: "uri", type: "string" }, { indexed: false, internalType: "uint256", name: "quantityMinted", type: "uint256" } ], name: "TokensMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "signer", type: "address" }, { indexed: true, internalType: "address", name: "mintedTo", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenIdMinted", type: "uint256" }, { components: [ { components: [ { internalType: "uint128", name: "validityStartTimestamp", type: "uint128" }, { internalType: "uint128", name: "validityEndTimestamp", type: "uint128" }, { internalType: "bytes32", name: "uid", type: "bytes32" } ], internalType: "struct ITimeboundEIP712.BaseRequest", name: "baseRequest", type: "tuple" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "pricePerToken", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "currency", type: "address" }, { internalType: "bytes", name: "param", type: "bytes" } ], indexed: false, internalType: "struct ISignatureMintERC1155.MintRequestWithParams", name: "mintRequestWithParams", type: "tuple" } ], name: "TokensMintedWithSignature", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_collectionSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "contractType", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "contractURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "contractVersion", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "eip712Domain", outputs: [ { internalType: "bytes1", name: "fields", type: "bytes1" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "version", type: "string" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "address", name: "verifyingContract", type: "address" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256[]", name: "extensions", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getDefaultRoyaltyInfo", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint16", name: "", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getFlatPlatformFeeInfo", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPlatformFeeInfo", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint16", name: "", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPlatformFeeType", outputs: [ { internalType: "enum IPlatformFee.PlatformFeeType", name: "", type: "uint8" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getRoyaltyInfoForToken", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint16", name: "", type: "uint16" } ], 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: "_defaultAdmin", type: "address" }, { internalType: "string", name: "_domainName", type: "string" }, { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_contractURI", type: "string" }, { internalType: "address[]", name: "_trustedForwarders", type: "address[]" }, { internalType: "address", name: "_primarySaleRecipient", type: "address" }, { internalType: "address", name: "_royaltyRecipient", type: "address" }, { internalType: "uint128", name: "_royaltyBps", type: "uint128" }, { internalType: "uint128", name: "_platformFeeBps", type: "uint128" }, { internalType: "address", name: "_platformFeeRecipient", type: "address" }, { internalType: "address", name: "_signerAddress", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "forwarder", type: "address" } ], name: "isTrustedForwarder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mintTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { components: [ { internalType: "uint128", name: "validityStartTimestamp", type: "uint128" }, { internalType: "uint128", name: "validityEndTimestamp", type: "uint128" }, { internalType: "bytes32", name: "uid", type: "bytes32" } ], internalType: "struct ITimeboundEIP712.BaseRequest", name: "baseRequest", type: "tuple" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "pricePerToken", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "currency", type: "address" }, { internalType: "bytes", name: "param", type: "bytes" } ], internalType: "struct ISignatureMintERC1155.MintRequestWithParams", name: "_req", type: "tuple" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "mintWithSignature", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "operatorRestriction", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "platformFeeRecipient", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "primarySaleRecipient", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", 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: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "salePrice", type: "uint256" } ], name: "royaltyInfo", outputs: [ { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "royaltyAmount", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "saleRecipientForToken", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_uri", type: "string" } ], name: "setContractURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_royaltyRecipient", type: "address" }, { internalType: "uint256", name: "_royaltyBps", type: "uint256" } ], name: "setDefaultRoyaltyInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_platformFeeRecipient", type: "address" }, { internalType: "uint256", name: "_flatFee", type: "uint256" } ], name: "setFlatPlatformFeeInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "_restriction", type: "bool" } ], name: "setOperatorRestriction", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newOwner", type: "address" } ], name: "setOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_platformFeeRecipient", type: "address" }, { internalType: "uint256", name: "_platformFeeBps", type: "uint256" } ], name: "setPlatformFeeInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum IPlatformFee.PlatformFeeType", name: "_feeType", type: "uint8" } ], name: "setPlatformFeeType", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_saleRecipient", type: "address" } ], name: "setPrimarySaleRecipient", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_recipient", type: "address" }, { internalType: "uint256", name: "_bps", type: "uint256" } ], name: "setRoyaltyInfoForToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "string", name: "_uri", type: "string" } ], name: "setUri", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_subscription", type: "address" } ], name: "subscribeToRegistry", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "_req", type: "bytes" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "verify", outputs: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "address", name: "signer", type: "address" } ], stateMutability: "view", type: "function" } ]; var DYNAMIC_SUPPLY_LIMIT_ERC1155 = { name: "Dynamic Supply Limit ERC1155", address: "0x84c0151f4ecf1b36346c5eb4122dd5df9701aa3c", is_deprecated: false, created_at: 1717479960, abi: abi134 }; var dynamic_supply_limit_erc1155_default = DYNAMIC_SUPPLY_LIMIT_ERC1155; // src/contracts/earn_alliance_badge_v9_proxy.ts var abi135 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var EARN_ALLIANCE_BADGE_V9_PROXY = { name: "Earn Alliance Badge V9 Proxy", address: "0x9fcd21120fc5fdd2e69650714f58688517fed56b", is_deprecated: false, created_at: 1718505641, abi: abi135 }; var earn_alliance_badge_v9_proxy_default = EARN_ALLIANCE_BADGE_V9_PROXY; // src/contracts/ecosystem_fund.ts var abi136 = [ { inputs: [ { internalType: "address", name: "_singleton", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" } ]; var ECOSYSTEM_FUND = { name: "Ecosystem Fund", address: "0x1e7d74b6279e66f3dc6c0e50e69fb8da13432ba5", is_deprecated: false, created_at: 1660893825, abi: abi136 }; var ecosystem_fund_default = ECOSYSTEM_FUND; // src/contracts/emaki_consumable_proxy.ts var abi137 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var EMAKI_CONSUMABLE_PROXY = { name: "Emaki Consumable Proxy", address: "0x27bc94fb5232819c83786412b90e9c22e5428fec", is_deprecated: false, created_at: 1721813034, abi: abi137 }; var emaki_consumable_proxy_default = EMAKI_CONSUMABLE_PROXY; // src/contracts/emaki_equippable_proxy.ts var abi138 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var EMAKI_EQUIPPABLE_PROXY = { name: "Emaki Equippable Proxy", address: "0x193e2f020703d903dd4cb8b54fa89583bfbbe124", is_deprecated: false, created_at: 1724415571, abi: abi138 }; var emaki_equippable_proxy_default = EMAKI_EQUIPPABLE_PROXY; // src/contracts/emaki_redeemer_proxy.ts var abi139 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var EMAKI_REDEEMER_PROXY = { name: "Emaki Redeemer Proxy", address: "0x6cf31c0cc991eb521fb0ed138dfd9701cbb327e8", is_deprecated: false, created_at: 1724415559, abi: abi139 }; var emaki_redeemer_proxy_default = EMAKI_REDEEMER_PROXY; // src/contracts/equipment.ts var abi140 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "vxId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "itemId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "itemTokenType", type: "uint256" }, { indexed: false, internalType: "uint256", name: "uniqueItemBaseId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "uniqueItemStats", type: "uint256" } ], name: "EquippedItem", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: true, internalType: "uint256", name: "vxId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "itemId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "itemTokenType", type: "uint256" }, { indexed: false, internalType: "uint256", name: "uniqueItemBaseId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "uniqueItemStats", type: "uint256" } ], name: "UnequippedItem", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "vxId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newScore", type: "uint256" }, { indexed: false, internalType: "uint256", name: "oldScore", type: "uint256" }, { indexed: false, internalType: "uint256", name: "vxNonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "registryVersion", type: "uint256" } ], name: "VxScoreUpdated", type: "event" }, { inputs: [ { internalType: "uint256[5]", name: "_itemTypes", type: "uint256[5]" }, { internalType: "uint256[5]", name: "_tokenTypes", type: "uint256[5]" }, { internalType: "uint256[5]", name: "_itemIds", type: "uint256[5]" }, { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "equipItems", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "equipmentRegistry", outputs: [ { internalType: "contract EquipmentRegistry", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "getGearScore", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "getGearScores", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "getGeneratedVxScore", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "getGeneratedVxScores", outputs: [ { internalType: "uint256[]", name: "scores", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "getItems", outputs: [ { internalType: "uint256[]", name: "_tokenTypes", type: "uint256[]" }, { internalType: "uint256[]", name: "_itemIds", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "getItemsBatch", outputs: [ { internalType: "uint256[][]", name: "_tokenTypes", type: "uint256[][]" }, { internalType: "uint256[][]", name: "_itemIds", type: "uint256[][]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "getVxInfo", outputs: [ { components: [ { internalType: "uint256", name: "score", type: "uint256" }, { internalType: "uint256[]", name: "itemsIds", type: "uint256[]" }, { internalType: "uint256[]", name: "itemsTokenTypes", type: "uint256[]" } ], internalType: "struct Equipment.VxInfo", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "getVxInfoBatch", outputs: [ { components: [ { internalType: "uint256", name: "score", type: "uint256" }, { internalType: "uint256[]", name: "itemsIds", type: "uint256[]" }, { internalType: "uint256[]", name: "itemsTokenTypes", type: "uint256[]" } ], internalType: "struct Equipment.VxInfo[]", name: "_infos", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "getVxSetScore", outputs: [ { internalType: "uint256", name: "_score", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_vxAddress", type: "address" }, { internalType: "address", name: "_vxArmoryAddress", type: "address" }, { internalType: "address", name: "_vxArmoryUniqueAddress", type: "address" }, { internalType: "address", name: "_equipmentRegistryAddress", type: "address" }, { internalType: "address", name: "_adventure", type: "address" }, { internalType: "uint8", name: "_maxItemType", type: "uint8" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "maxItemType", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "_max", type: "uint8" } ], name: "setMax", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[5]", name: "_itemTypes", type: "uint256[5]" }, { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "unequipItems", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_reg", type: "address" } ], name: "updateEquipmentRegistry", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vxArmory", outputs: [ { internalType: "contract IERC1155", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vxArmoryUnique", outputs: [ { internalType: "contract IERC721", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vxKongz", outputs: [ { internalType: "contract IERC721", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "vxNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "vxRegistryVersion", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "vxScore", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var EQUIPMENT = { name: "Equipment", address: "0x0ef6701d812099619a9bdd5d02417eacd72e7c70", is_deprecated: false, created_at: 1711394652, abi: abi140 }; var equipment_default = EQUIPMENT; // src/contracts/equipment_proxy.ts var abi141 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var EQUIPMENT_PROXY = { name: "Equipment Proxy", address: "0x7bc7e63e55e5a174efc70296a37629ddc72311dd", is_deprecated: false, created_at: 1711312661, abi: abi141 }; var equipment_proxy_default = EQUIPMENT_PROXY; // src/contracts/equipment_registry_proxy.ts var abi142 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var EQUIPMENT_REGISTRY_PROXY = { name: "Equipment Registry Proxy", address: "0x5d77181102f32f21d9f780e085852472b6dd4b44", is_deprecated: false, created_at: 1711197743, abi: abi142 }; var equipment_registry_proxy_default = EQUIPMENT_REGISTRY_PROXY; // src/contracts/erc1155_common.ts var abi143 = [ { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "string", name: "uri_", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "uint256", name: "balance", type: "uint256" }, { internalType: "uint256", name: "needed", type: "uint256" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC1155InsufficientBalance", type: "error" }, { inputs: [ { internalType: "address", name: "approver", type: "address" } ], name: "ERC1155InvalidApprover", type: "error" }, { inputs: [ { internalType: "uint256", name: "idsLength", type: "uint256" }, { internalType: "uint256", name: "valuesLength", type: "uint256" } ], name: "ERC1155InvalidArrayLength", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ERC1155InvalidOperator", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC1155InvalidReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "ERC1155InvalidSender", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "owner", type: "address" } ], name: "ERC1155MissingApprovalForAll", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", 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: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "URI_SETTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes[]", name: "datas", type: "bytes[]" } ], name: "bulkMint", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "burn", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "burnBatch", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", 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: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mint", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mintBatch", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newURI", type: "string" } ], name: "setURI", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var ERC1155_COMMON = { name: "ERC1155 Common", address: "0xf0313ca86e8f0f24084ef0fa9b877ca9522ee641", is_deprecated: false, created_at: 1729232834, abi: abi143 }; var erc1155_common_default = ERC1155_COMMON; // src/contracts/erc1155_common_factory.ts var abi144 = [ { inputs: [ { internalType: "address", name: "allowed", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AllowedCannotBeSelf", type: "error" }, { inputs: [], name: "DeploymentFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "actual", type: "address" } ], name: "ExpectedAddressNotMatch", type: "error" }, { inputs: [], name: "NullAddress", type: "error" }, { inputs: [], name: "UnauthorizedDelegateCall", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "deploy", outputs: [ { internalType: "address", name: "instance", type: "address" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "getCreationCode", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" } ]; var ERC1155_COMMON_FACTORY = { name: "ERC1155 Common Factory", address: "0x907bdfdf0d9cadf8281eee75b62bdc8df8cf1ae7", is_deprecated: false, created_at: 1729071335, abi: abi144 }; var erc1155_common_factory_default = ERC1155_COMMON_FACTORY; // src/contracts/erc1155_exchange.ts var abi145 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "maker", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "MakerNonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "", type: "bytes32" }, { indexed: false, internalType: "address", name: "requester", type: "address" } ], name: "OrderCancelled", type: "event" }, { anonymous: false, inputs: [ { components: [ { components: [ { internalType: "address", name: "maker", type: "address" }, { internalType: "enum OrderKind", name: "kind", type: "uint8" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "baseUnitPrice", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" }, { internalType: "uint256", name: "endedUnitPrice", type: "uint256" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bool", name: "verified", type: "bool" } ], internalType: "struct GenericOrder", name: "info", type: "tuple" }, { internalType: "uint256", name: "realPrice", type: "uint256" }, { internalType: "bytes", name: "extraData", type: "bytes" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], indexed: false, internalType: "struct GenericOrderExtended", name: "order", type: "tuple" }, { indexed: false, internalType: "uint256", name: "settlePrice", type: "uint256" }, { indexed: false, internalType: "address", name: "settleToken", type: "address" }, { indexed: false, internalType: "address", name: "matcher", type: "address" }, { indexed: false, internalType: "uint256", name: "acceptedSettlePrice", type: "uint256" }, { components: [ { internalType: "enum IMarketCommission.AllocType", name: "allocType", type: "uint8" }, { internalType: "address payable", name: "recipient", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "ratio", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], indexed: false, internalType: "struct IMarketCommission.Allocation[]", name: "receivedAllocs", type: "tuple[]" } ], name: "OrderMatched", 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" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MARKET_OPERATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "orderData", type: "bytes" } ], name: "cancelOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], name: "getSettledQuantity", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" } ], name: "getState", outputs: [ { internalType: "uint256", name: "", 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: [], name: "increaseNonceMaker", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "interfaceName", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "maker", type: "address" } ], name: "makerNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], name: "orderFinalized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bytes", name: "orderData", type: "bytes" } ], name: "orderValid", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", 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: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "settleQuantity", type: "uint256" }, { internalType: "uint256", name: "settlePrice", type: "uint256" } ], name: "settleOrder", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "settleQuantity", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "swapRONAndSettleOrder", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "settleQuantity", type: "uint256" }, { internalType: "uint256", name: "settlePrice", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "swapTokensAndSettleOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "hashList", type: "bytes32[]" } ], name: "tryBulkCancelOrderByHash", outputs: [ { internalType: "bool[]", name: "orderAlreadyFinalized", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" } ]; var ERC1155_EXCHANGE = { name: "ERC1155 Exchange", address: "0xb36c9027ed4353fdd7a59d8c40e0df5221a3764f", is_deprecated: false, created_at: 1700553615, abi: abi145 }; var erc1155_exchange_default = ERC1155_EXCHANGE; // src/contracts/erc1155_receipt.ts var abi146 = [ { inputs: [ { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address", name: "originalToken_", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", 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: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "receiptFrom", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnForReceipt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "receiptTo", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mintForReceipt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "originalToken", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newuri", type: "string" } ], name: "setURI", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var ERC1155_RECEIPT = { name: "ERC1155 Receipt", address: "0xb8a4526535d258fcaf1b6027a125b0b435eb1d85", is_deprecated: false, created_at: 1702572228, abi: abi146 }; var erc1155_receipt_default = ERC1155_RECEIPT; // src/contracts/erc1967_proxy_factory.ts var abi147 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" }, { indexed: false, internalType: "address", name: "proxy", type: "address" }, { indexed: true, internalType: "address", name: "deployer", type: "address" } ], name: "ProxyDeployed", type: "event" }, { inputs: [ { internalType: "address", name: "_implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "deployProxyByImplementation", outputs: [ { internalType: "address", name: "deployedProxy", type: "address" } ], stateMutability: "nonpayable", type: "function" } ]; var ERC1967_PROXY_FACTORY = { name: "ERC1967 Proxy Factory", address: "0x6d3aef8815e89e9117179d36673bf7584825db7d", is_deprecated: false, created_at: 1717479951, abi: abi147 }; var erc1967_proxy_factory_default = ERC1967_PROXY_FACTORY; // src/contracts/erc20_fee_proxy.ts var abi148 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "tokenAddress", type: "address" }, { indexed: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "bytes", name: "paymentReference", type: "bytes" }, { indexed: false, internalType: "uint256", name: "feeAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "feeAddress", type: "address" } ], name: "TransferWithReferenceAndFee", type: "event" }, { inputs: [ { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "bytes", name: "_paymentReference", type: "bytes" }, { internalType: "uint256", name: "_feeAmount", type: "uint256" }, { internalType: "address", name: "_feeAddress", type: "address" } ], name: "transferFromWithReferenceAndFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ERC20_FEE_PROXY = { name: "ERC20 Fee Proxy", address: "0xae23992483feda6e718a808ce824f6864f13b64b", is_deprecated: false, created_at: 1665385411, abi: abi148 }; var erc20_fee_proxy_default = ERC20_FEE_PROXY; // src/contracts/erc20_receipt.ts var abi149 = [ { inputs: [ { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address", name: "originalToken_", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "receiptFrom", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnForReceipt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "receiptTo", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mintForReceipt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "originalToken", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ERC20_RECEIPT = { name: "ERC20 Receipt", address: "0xf0c97554e098383ebdab4645a96fea6eff6c2295", is_deprecated: false, created_at: 1730457223, abi: abi149 }; var erc20_receipt_default = ERC20_RECEIPT; // src/contracts/erc20_staking_pool_proxy.ts var abi150 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var ERC20_STAKING_POOL_PROXY = { name: "ERC20 Staking Pool Proxy", address: "0x4e2d6466a53444248272b913c105e9281ec266d8", is_deprecated: false, created_at: 1707758817, abi: abi150 }; var erc20_staking_pool_proxy_default = ERC20_STAKING_POOL_PROXY; // src/contracts/erc20_staking_proxy.ts var abi151 = [ { inputs: [ { internalType: "address", name: "implementation_", type: "address" }, { internalType: "address", name: "initialOwner", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "BeaconInvalidImplementation", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "OwnableInvalidOwner", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "OwnableUnauthorizedAccount", type: "error" }, { 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: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ERC20_STAKING_PROXY = { name: "ERC20 Staking Proxy", address: "0xe870abf043c669c9e2a0c00712fc1e1742044a8b", is_deprecated: false, created_at: 1716206149, abi: abi151 }; var erc20_staking_proxy_default = ERC20_STAKING_PROXY; // src/contracts/erc20_staking_proxy_factory_proxy.ts var abi152 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var ERC20_STAKING_PROXY_FACTORY_PROXY = { name: "ERC20 Staking Proxy Factory Proxy", address: "0xae1e5cd7360bb7d66e8a01febef8441902aeefea", is_deprecated: false, created_at: 1716206167, abi: abi152 }; var erc20_staking_proxy_factory_proxy_default = ERC20_STAKING_PROXY_FACTORY_PROXY; // src/contracts/erc721_batch_transfer.ts var abi153 = [ { inputs: [ { internalType: "contract IERC721", name: "_tokenContract", type: "address" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "safeBatchTransfer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC721", name: "_tokenContract", type: "address" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "address", name: "_recipient", type: "address" } ], name: "safeBatchTransfer", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ERC721_BATCH_TRANSFER = { name: "ERC721 Batch Transfer", address: "0x2368dfed532842db89b470fde9fd584d48d4f644", is_deprecated: false, created_at: 1646053149, abi: abi153 }; var erc721_batch_transfer_default = ERC721_BATCH_TRANSFER; // src/contracts/erc721_common.ts var abi154 = [ { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [], name: "ERC721EnumerableForbiddenBatchMint", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "owner", type: "address" } ], name: "ERC721IncorrectOwner", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC721InsufficientApproval", type: "error" }, { inputs: [ { internalType: "address", name: "approver", type: "address" } ], name: "ERC721InvalidApprover", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ERC721InvalidOperator", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "ERC721InvalidOwner", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC721InvalidReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "ERC721InvalidSender", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC721NonexistentToken", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "ERC721OutOfBoundsIndex", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ERC721_COMMON = { name: "ERC721 Common", address: "0xde24b2548b01c1edfd03b9ca5104714aa88560a0", is_deprecated: false, created_at: 1729226587, abi: abi154 }; var erc721_common_default = ERC721_COMMON; // src/contracts/erc721_common_factory.ts var abi155 = [ { inputs: [ { internalType: "address", name: "allowed", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AllowedCannotBeSelf", type: "error" }, { inputs: [], name: "DeploymentFailed", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "address", name: "actual", type: "address" } ], name: "ExpectedAddressNotMatch", type: "error" }, { inputs: [], name: "NullAddress", type: "error" }, { inputs: [], name: "UnauthorizedDelegateCall", type: "error" }, { inputs: [ { internalType: "address", name: "expected", type: "address" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "deploy", outputs: [ { internalType: "address", name: "instance", type: "address" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "getCreationCode", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" } ]; var ERC721_COMMON_FACTORY = { name: "ERC721 Common Factory", address: "0xb4a277ab54c6c9de3f8fac1eded9165585ef5d54", is_deprecated: false, created_at: 1729071335, abi: abi155 }; var erc721_common_factory_default = ERC721_COMMON_FACTORY; // src/contracts/erc721_enum_wrapper_proxy.ts var abi156 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var ERC721_ENUM_WRAPPER_PROXY = { name: "ERC721 Enum Wrapper Proxy", address: "0xa26fd5db691f4f40d819d4ce86c19ac144315be1", is_deprecated: false, created_at: 1711306895, abi: abi156 }; var erc721_enum_wrapper_proxy_default = ERC721_ENUM_WRAPPER_PROXY; // src/contracts/erc721_receipt.ts var abi157 = [ { inputs: [ { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address", name: "originalToken_", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "receiptFrom", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnForReceipt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "receiptTo", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mintForReceipt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "originalToken", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "uri_", type: "string" } ], name: "setURI", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var ERC721_RECEIPT = { name: "ERC721 Receipt", address: "0xa05663bc294d824c7610d58d1019b7beb6d167ea", is_deprecated: false, created_at: 1702572219, abi: abi157 }; var erc721_receipt_default = ERC721_RECEIPT; // src/contracts/evolution.ts var abi158 = [ { inputs: [ { internalType: "contract IBurnableERC721[]", name: "_burnNFTs", type: "address[]" }, { internalType: "contract IERC721[]", name: "_evolutionNFTs", type: "address[]" }, { internalType: "address", name: "_verifier", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "contract IBurnableERC721", name: "burnNFT", type: "address" }, { indexed: false, internalType: "uint256[]", name: "burnNftId", type: "uint256[]" }, { indexed: false, internalType: "contract IERC721", name: "evolutionNFT", type: "address" }, { indexed: false, internalType: "uint256", name: "evolutionNftId", type: "uint256" } ], name: "Evoluted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IBurnableERC721", name: "burnNFT", type: "address" }, { indexed: false, internalType: "contract IERC721", name: "evolutionNFT", type: "address" }, { indexed: false, internalType: "bool", name: "avaliable", type: "bool" } ], name: "NewEvolutionDirection", 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: "oldVerifier", type: "address" }, { indexed: false, internalType: "address", name: "newVerifier", type: "address" } ], name: "VerifierChanged", type: "event" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IBurnableERC721", name: "_burnNFT", type: "address" }, { internalType: "contract IERC721", name: "_evolutionNFT", type: "address" } ], name: "addEvolutionDirection", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IBurnableERC721", name: "_burnNFT", type: "address" }, { internalType: "contract IERC721", name: "_evolutionNFT", type: "address" } ], name: "delEvolutionDirection", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IBurnableERC721", name: "_burnNFT", type: "address" }, { internalType: "uint256[]", name: "_burnNftIds", type: "uint256[]" }, { internalType: "contract IERC721", name: "_evolutionNFT", type: "address" }, { internalType: "uint256", name: "_evolutionNftId", type: "uint256" }, { internalType: "uint8", name: "_v", type: "uint8" }, { internalType: "bytes32", name: "_r", type: "bytes32" }, { internalType: "bytes32", name: "_s", type: "bytes32" } ], name: "evolution", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IBurnableERC721", name: "", type: "address" }, { internalType: "contract IERC721", name: "", type: "address" } ], name: "evolutionDirection", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_verifier", type: "address" } ], name: "setVerifier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "verifier", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var EVOLUTION = { name: "Evolution", address: "0x4525db8c82d1e83eae54085aa535c4303c27feca", is_deprecated: false, created_at: 1721400558, abi: abi158 }; var evolution_default = EVOLUTION; // src/contracts/exchange.ts var abi159 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_creator", type: "address" }, { indexed: false, internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "ListingCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_creator", type: "address" }, { indexed: true, internalType: "uint256", name: "_listingIndex", type: "uint256" }, { components: [ { internalType: "enum IExchange.TokenType[]", name: "tokenTypes", type: "uint8[]" }, { internalType: "address[]", name: "tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "tokenNumbers", type: "uint256[]" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], indexed: false, internalType: "struct IExchange.Listing", name: "_listing", type: "tuple" } ], name: "ListingDataCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IERC20", name: "_token", type: "address" } ], name: "TokenAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IERC20", name: "_token", type: "address" } ], name: "TokenRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { payable: false, stateMutability: "nonpayable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "_auctionType", type: "address" } ], name: "addAuctionType", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20[]", name: "_tokens", type: "address[]" } ], name: "addTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "auctionTypes", outputs: [ { internalType: "contract IAbstractAuction", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "autoRevalidate", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_startingIndex", type: "uint256" }, { internalType: "enum IExchange.TokenType[][]", name: "_tokenTypePkgs", type: "uint8[][]" }, { internalType: "address[][]", name: "_tokenAddressPkgs", type: "address[][]" }, { internalType: "uint256[][]", name: "_tokenNumberPkgs", type: "uint256[][]" } ], name: "batchCreateListings", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_facilitator", type: "address" }, { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "canFacilitateListing", outputs: [ { internalType: "bool", name: "_result", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "completeInitilization", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "enum IExchange.TokenType[]", name: "_tokenTypes", type: "uint8[]" }, { internalType: "address[]", name: "_tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "_tokenNumbers", type: "uint256[]" } ], name: "createOrGetListing", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "exchangeTokenMap", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "exchangeTokens", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getExchangeTokenCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "getListing", outputs: [ { internalType: "enum IExchange.TokenType[]", name: "_tokenTypes", type: "uint8[]" }, { internalType: "address[]", name: "_tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "_tokenNumbers", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_listingIndex", type: "uint256" } ], name: "getListingState", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getListingsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "enum IExchange.TokenType[]", name: "_tokenTypes", type: "uint8[]" }, { internalType: "address[]", name: "_tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "_tokenNumbers", type: "uint256[]" } ], name: "getMultipleTokensState", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_bidder", type: "address" }, { internalType: "contract IERC20", name: "_token", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "hasEnoughToken", outputs: [ { internalType: "bool", name: "_result", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "initialized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "isTokenExchangeable", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "listingMap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "listings", outputs: [ { internalType: "uint256", name: "createdAt", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "removeAuctionType", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "removeToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "_value", type: "bool" } ], name: "setAutoRevalidate", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_stakeHolder", type: "address" } ], name: "setStakeHolder", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_listingIndex", type: "uint256" }, { internalType: "address", name: "_seller", type: "address" }, { internalType: "address", name: "_buyer", type: "address" }, { internalType: "contract IERC20", name: "_token", type: "address" }, { internalType: "uint256", name: "_auctioneerCut", type: "uint256" }, { internalType: "uint256", name: "_sellerProceeds", type: "uint256" } ], name: "settleDeal", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "stakeHolder", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var EXCHANGE = { name: "Exchange", address: "0xd873aca0c666a306e452baf090837d786515ec3f", is_deprecated: true, created_at: 1638422036, abi: abi159 }; var exchange_default = EXCHANGE; // src/contracts/exchange_deposit.ts var abi160 = [ { inputs: [ { internalType: "address payable", name: "coldAddr", type: "address" }, { internalType: "address payable", name: "adminAddr", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "receiver", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Deposit", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], name: "adminAddress", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address payable", name: "newAddress", type: "address" } ], name: "changeColdAddress", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "newAddress", type: "address" } ], name: "changeImplAddress", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newMinInput", type: "uint256" } ], name: "changeMinInput", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "coldAddress", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "instance", type: "address" } ], name: "gatherErc20", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "gatherEth", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "kill", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minimumInput", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var EXCHANGE_DEPOSIT = { name: "Exchange Deposit", address: "0x265c27c849b0e1a62636f6007e8a74dc2a2584aa", is_deprecated: false, created_at: 1724215617, abi: abi160 }; var exchange_deposit_default = EXCHANGE_DEPOSIT; // src/contracts/exchange_proxy.ts var abi161 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "address", name: "_stakeHolder", type: "address" }, { internalType: "contract IERC20[]", name: "_tokens", type: "address[]" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IERC20", name: "_token", type: "address" } ], name: "TokenAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IERC20", name: "_token", type: "address" } ], name: "TokenRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address", name: "_auctionType", type: "address" } ], name: "addAuctionType", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20[]", name: "_tokens", type: "address[]" } ], name: "addTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "auctionTypes", outputs: [ { internalType: "contract IAbstractAuction", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "autoRevalidate", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "completeInitilization", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "exchangeTokenMap", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "exchangeTokens", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getExchangeTokenCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getListingsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "initialized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "isTokenExchangeable", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "listingMap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "listings", outputs: [ { internalType: "uint256", name: "createdAt", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "removeAuctionType", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "removeToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "_value", type: "bool" } ], name: "setAutoRevalidate", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_stakeHolder", type: "address" } ], name: "setStakeHolder", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "stakeHolder", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var EXCHANGE_PROXY = { name: "Exchange Proxy", address: "0x2da06d60bd413bcbb6586430857433bd9d3a4be4", is_deprecated: true, created_at: 1619438279, abi: abi161 }; var exchange_proxy_default = EXCHANGE_PROXY; // src/contracts/expedition_prizes_proxy.ts var abi162 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var EXPEDITION_PRIZES_PROXY = { name: "Expedition Prizes Proxy", address: "0xf767c2a449778d4bed3a930c20ecb7e84e3f108b", is_deprecated: false, created_at: 1704968036, abi: abi162 }; var expedition_prizes_proxy_default = EXPEDITION_PRIZES_PROXY; // src/contracts/expedition_staking_and_keys.ts var abi163 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", 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: "exchangeTokenAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "exchangeRateForKey", type: "uint256" } ], name: "SetupExchangeConfig", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "assetAddress", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "totalAmounts", type: "uint256[]" } ], name: "StakedAssets", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "TransferKeys", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "assetAddress", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "totalAmounts", type: "uint256[]" } ], name: "UnstakedAssets", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "assetTypes", outputs: [ { internalType: "enum StakeAssetMeta.ASSET_TYPE", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burnUserKeys", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_stakeholder", type: "address" }, { internalType: "bool", name: "tokenToKey", type: "bool" }, { internalType: "uint256", name: "_keyAmount", type: "uint256" } ], name: "exchangeKeys", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "exchangeRateForKey", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "exchangeToken", outputs: [ { internalType: "contract IERC20Upgradeable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_stakeholder", type: "address" }, { internalType: "address", name: "_assetAddress", type: "address" } ], name: "getStakedAssets", outputs: [ { components: [ { internalType: "enum StakeAssetMeta.ASSET_TYPE", name: "assetType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct StakeAssetMeta.Asset[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_assetAddress", type: "address" }, { internalType: "enum StakeAssetMeta.ASSET_TYPE", name: "_assetType", type: "uint8" } ], name: "setAssetType", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_exchangeTokenAddress", type: "address" }, { internalType: "uint256", name: "_exchangeRateForKey", type: "uint256" } ], name: "setupExchangeConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_stakeholder", type: "address" }, { internalType: "address", name: "_assetAddress", type: "address" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "stakeAssets", 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: "totalKeys", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_stakeholder", type: "address" }, { internalType: "address", name: "_assetAddress", type: "address" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "unstakeAssets", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "userKeys", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "address", name: "_wallet", type: "address" } ], name: "withdrawFunds", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var EXPEDITION_STAKING_AND_KEYS = { name: "Expedition Staking And Keys", address: "0x9f4ac63dba1a1677a5e86937d4e6faf74a4bb2a9", is_deprecated: false, created_at: 1704967991, abi: abi163 }; var expedition_staking_and_keys_default = EXPEDITION_STAKING_AND_KEYS; // src/contracts/expedition_staking_and_keys_proxy.ts var abi164 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var EXPEDITION_STAKING_AND_KEYS_PROXY = { name: "Expedition Staking And Keys Proxy", address: "0x19fac10f3aa6e24a2e3488549c39c5679bd3e528", is_deprecated: false, created_at: 1704968e3, abi: abi164 }; var expedition_staking_and_keys_proxy_default = EXPEDITION_STAKING_AND_KEYS_PROXY; // src/contracts/fast_finality_tracking.ts var abi165 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrCallerMustBeCoinbase", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrOncePerBlock", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "epoch", type: "uint256" }, { internalType: "TConsensus[]", name: "consensuses", type: "address[]" } ], name: "getManyFinalityScores", outputs: [ { internalType: "uint256[]", name: "scores", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "epoch", type: "uint256" }, { internalType: "address[]", name: "cids", type: "address[]" } ], name: "getManyFinalityScoresById", outputs: [ { internalType: "uint256[]", name: "scores", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "epoch", type: "uint256" }, { internalType: "TConsensus[]", name: "addrs", type: "address[]" } ], name: "getManyFinalityVoteCounts", outputs: [ { internalType: "uint256[]", name: "voteCounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "epoch", type: "uint256" }, { internalType: "address[]", name: "cids", type: "address[]" } ], name: "getManyFinalityVoteCountsById", outputs: [ { internalType: "uint256[]", name: "voteCounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "period", type: "uint256" }, { internalType: "address", name: "cid", type: "address" } ], name: "getNormalizedStake", outputs: [ { internalType: "uint256", name: "normalizedStake", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "period", type: "uint256" } ], name: "getNormalizedSum", outputs: [ { internalType: "uint256", name: "normalizedSum", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "validatorContract", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "profileContract", type: "address" } ], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "stakingContract", type: "address" } ], name: "initializeV3", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "latestTrackingBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "voters", type: "address[]" } ], name: "recordFinality", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var FAST_FINALITY_TRACKING = { name: "Fast Finality Tracking", address: "0xa5ac7555d34cb77585dab49ad6ae12827298fed0", is_deprecated: false, created_at: 1718685417, abi: abi165 }; var fast_finality_tracking_default = FAST_FINALITY_TRACKING; // src/contracts/fast_finality_tracking_proxy.ts var abi166 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var FAST_FINALITY_TRACKING_PROXY = { name: "Fast Finality Tracking Proxy", address: "0xa30b2932cd8b8a89e34551cdfa13810af38da576", is_deprecated: false, created_at: 1696244591, abi: abi166 }; var fast_finality_tracking_proxy_default = FAST_FINALITY_TRACKING_PROXY; // src/contracts/fight_league_characters_proxy.ts var abi167 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var FIGHT_LEAGUE_CHARACTERS_PROXY = { name: "Fight League Characters Proxy", address: "0x2a6120978d3f868299aa020303b93b9a90f257cf", is_deprecated: false, created_at: 1728289108, abi: abi167 }; var fight_league_characters_proxy_default = FIGHT_LEAGUE_CHARACTERS_PROXY; // src/contracts/fight_league_chips_proxy.ts var abi168 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var FIGHT_LEAGUE_CHIPS_PROXY = { name: "Fight League Chips Proxy", address: "0x883649b1d9e8b6d69ac9c36ca58531419d7dda8f", is_deprecated: false, created_at: 1720420958, abi: abi168 }; var fight_league_chips_proxy_default = FIGHT_LEAGUE_CHIPS_PROXY; // src/contracts/gacha_machine.ts var abi169 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "floor", type: "uint256" }, { internalType: "uint256", name: "ceiling", type: "uint256" } ], name: "ErrCeilingNotHigherThanFloor", type: "error" }, { inputs: [ { internalType: "bytes32", name: "requestHash", type: "bytes32" } ], name: "ErrDuplicateRequestHash", type: "error" }, { inputs: [], name: "ErrGetFinalizedFromCoordinatorFailed", type: "error" }, { inputs: [ { internalType: "uint256", name: "estimatedRandomFee", type: "uint256" } ], name: "ErrInsufficientRandomFee", type: "error" }, { inputs: [], name: "ErrInvalidAxieVaultInterface", type: "error" }, { inputs: [], name: "ErrInvalidChestCategoryLength", type: "error" }, { inputs: [], name: "ErrInvalidNonce", type: "error" }, { inputs: [], name: "ErrInvalidNonceForCancelled", type: "error" }, { inputs: [], name: "ErrInvalidPrizeCategory", type: "error" }, { inputs: [ { internalType: "enum RequestStatus", name: "status", type: "uint8" } ], name: "ErrInvalidRequestStatus", type: "error" }, { inputs: [], name: "ErrInvalidSignature", type: "error" }, { inputs: [ { internalType: "uint256", name: "slipAmount", type: "uint256" }, { internalType: "uint256", name: "totalChestAmount", type: "uint256" } ], name: "ErrInvalidSlipAmount", type: "error" }, { inputs: [], name: "ErrInvalidStatusToCancelRequest", type: "error" }, { inputs: [], name: "ErrInvalidTotalProbabilities", type: "error" }, { inputs: [], name: "ErrNotFoundAxieVault", type: "error" }, { inputs: [ { internalType: "bytes32", name: "requestHash", type: "bytes32" } ], name: "ErrRequestNotFound", type: "error" }, { inputs: [], name: "ErrSignatureExpired", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "axieContract", type: "address" } ], name: "AxieContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: false, internalType: "address", name: "axieVault", type: "address" }, { indexed: false, internalType: "uint256", name: "rewarded", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalAxieRewards", type: "uint256" } ], name: "AxieVaultRanOut", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "axieVault", type: "address" } ], name: "AxieVaultUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "consumableERC1155", type: "address" } ], name: "ConsumableERC1155ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { components: [ { internalType: "uint256", name: "cocoAmt", type: "uint256" }, { internalType: "uint256", name: "premiumCocoAmt", type: "uint256" }, { internalType: "uint256", name: "spiritShellAmt", type: "uint256" } ], indexed: false, internalType: "struct RewardPot", name: "pot", type: "tuple" }, { indexed: false, internalType: "uint256[]", name: "axieRewards", type: "uint256[]" } ], name: "GachaRollFulfilled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "uint256", name: "expireTimestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "slipAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "requester", type: "address" } ], name: "GachaRollRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "materialContract", type: "address" } ], name: "MaterialContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "maxGasForFulfillment", type: "uint256" } ], name: "MaxGasForFulfillmentUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "MintConsumableFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "MintMaterialFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], indexed: false, internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbability", type: "tuple[][]" } ], name: "PrizeProbabilityUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "quantity", type: "uint256" } ], name: "QuantityForMintPrizeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "rewarded", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalAxieRewards", type: "uint256" } ], name: "RewardingAxiesCorrupted", 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: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { components: [ { internalType: "address", name: "requester", type: "address" }, { internalType: "uint256", name: "slipAmount", type: "uint256" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { internalType: "enum RequestStatus", name: "status", type: "uint8" } ], indexed: false, internalType: "struct RequestInfo", name: "requestInfo", type: "tuple" } ], name: "RollCancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "index", type: "uint256" } ], name: "TransferAxieAtIndexFailed", 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: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "UserNonceIncreased", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newCoordinator", type: "address" } ], name: "VRFCoordinatorAddressUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_GAS_PRICE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "TYPE_HASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "cancelRoll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "rollNum", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" } ], name: "estimateFee", outputs: [ { internalType: "uint256", name: "estimatedFee", type: "uint256" }, { internalType: "uint256", name: "callbackGasLimit", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAxieContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAxieVault", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getConsumableERC1155Contract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaterialContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaxGasForFulfillment", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPrizeProbability", outputs: [ { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbabilities", type: "tuple[][]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getQuantityForMintPrize", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "getRequestHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "requestHash", type: "bytes32" } ], name: "getRequestInfo", outputs: [ { components: [ { internalType: "address", name: "requester", type: "address" }, { internalType: "uint256", name: "slipAmount", type: "uint256" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { internalType: "enum RequestStatus", name: "status", type: "uint8" } ], internalType: "struct RequestInfo", name: "", type: "tuple" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "getUserNonce", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" }, { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "address", name: "axieContract", type: "address" }, { internalType: "address", name: "materialContract", type: "address" }, { internalType: "address", name: "consumableERC1155", type: "address" }, { internalType: "address", name: "axieVault", type: "address" }, { internalType: "uint256", name: "maxGasForFulfillment", type: "uint256" }, { internalType: "uint256", name: "quantityForMintPrize", type: "uint256" }, { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbability", type: "tuple[][]" }, { internalType: "address", name: "vrfCoordinator_", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "isCancelableRequest", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", 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: "bytes32", name: "reqHash", type: "bytes32" }, { internalType: "uint256", name: "randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", 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: [ { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expireTimestamp", type: "uint256" }, { internalType: "uint256", name: "slipAmount", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "roll", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "axieContract", type: "address" } ], name: "setAxieContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "axieVault", type: "address" } ], name: "setAxieVault", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "consumableERC1155", type: "address" } ], name: "setConsumableERC1155Contract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "materialContract", type: "address" } ], name: "setMaterialContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "maxGasForFulfillment", type: "uint256" } ], name: "setMaxGasForFulfillment", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbability", type: "tuple[][]" } ], name: "setPrizeProbability", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "quantity", type: "uint256" } ], name: "setQuantityForMintPrize", 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: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var GACHA_MACHINE = { name: "Gacha Machine", address: "0xf65ed059b267011e4d03778a2d72518a41c589f9", is_deprecated: false, created_at: 1719307263, abi: abi169 }; var gacha_machine_default = GACHA_MACHINE; // src/contracts/gacha_machine_logic.ts var abi170 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "floor", type: "uint256" }, { internalType: "uint256", name: "ceiling", type: "uint256" } ], name: "ErrCeilingNotHigherThanFloor", type: "error" }, { inputs: [ { internalType: "bytes32", name: "requestHash", type: "bytes32" } ], name: "ErrDuplicateRequestHash", type: "error" }, { inputs: [], name: "ErrGetFinalizedFromCoordinatorFailed", type: "error" }, { inputs: [ { internalType: "uint256", name: "estimatedRandomFee", type: "uint256" } ], name: "ErrInsufficientRandomFee", type: "error" }, { inputs: [], name: "ErrInvalidChestCategoryLength", type: "error" }, { inputs: [], name: "ErrInvalidNonce", type: "error" }, { inputs: [], name: "ErrInvalidNonceForCancelled", type: "error" }, { inputs: [], name: "ErrInvalidPrizeCategory", type: "error" }, { inputs: [ { internalType: "enum RequestStatus", name: "status", type: "uint8" } ], name: "ErrInvalidRequestStatus", type: "error" }, { inputs: [], name: "ErrInvalidSignature", type: "error" }, { inputs: [ { internalType: "uint256", name: "slipAmount", type: "uint256" }, { internalType: "uint256", name: "totalChestAmount", type: "uint256" } ], name: "ErrInvalidSlipAmount", type: "error" }, { inputs: [], name: "ErrInvalidStatusToCancelRequest", type: "error" }, { inputs: [], name: "ErrInvalidTotalProbabilities", type: "error" }, { inputs: [], name: "ErrNotFoundAxieVault", type: "error" }, { inputs: [ { internalType: "bytes32", name: "requestHash", type: "bytes32" } ], name: "ErrRequestNotFound", type: "error" }, { inputs: [], name: "ErrSignatureExpired", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "axieContract", type: "address" } ], name: "AxieContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: false, internalType: "address", name: "axieVault", type: "address" }, { indexed: false, internalType: "uint256", name: "rewarded", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalAxieRewards", type: "uint256" } ], name: "AxieVaultRanOut", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "axieVault", type: "address" } ], name: "AxieVaultUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "consumableERC1155", type: "address" } ], name: "ConsumableERC1155ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { components: [ { internalType: "uint256", name: "cocoAmt", type: "uint256" }, { internalType: "uint256", name: "premiumCocoAmt", type: "uint256" }, { internalType: "uint256", name: "spiritShellAmt", type: "uint256" } ], indexed: false, internalType: "struct RewardPot", name: "pot", type: "tuple" }, { indexed: false, internalType: "uint256[]", name: "axieRewards", type: "uint256[]" } ], name: "GachaRollFulfilled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "uint256", name: "expireTimestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "slipAmount", type: "uint256" }, { indexed: false, internalType: "address", name: "requester", type: "address" } ], name: "GachaRollRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "materialContract", type: "address" } ], name: "MaterialContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "maxGasForFulfillment", type: "uint256" } ], name: "MaxGasForFulfillmentUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "MintConsumableFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "MintMaterialFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], indexed: false, internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbability", type: "tuple[][]" } ], name: "PrizeProbabilityUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "quantity", type: "uint256" } ], name: "QuantityForMintPrizeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "rewarded", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalAxieRewards", type: "uint256" } ], name: "RewardingAxiesCorrupted", 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: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { components: [ { internalType: "address", name: "requester", type: "address" }, { internalType: "uint256", name: "slipAmount", type: "uint256" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { internalType: "enum RequestStatus", name: "status", type: "uint8" } ], indexed: false, internalType: "struct RequestInfo", name: "requestInfo", type: "tuple" } ], name: "RollCancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" } ], name: "TransferAxieFailed", 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: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "UserNonceIncreased", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newCoordinator", type: "address" } ], name: "VRFCoordinatorAddressUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "TYPE_HASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "cancelRoll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "rollNum", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" } ], name: "estimateFee", outputs: [ { internalType: "uint256", name: "estimatedFee", type: "uint256" }, { internalType: "uint256", name: "callbackGasLimit", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAxieContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAxieVault", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getConsumableERC1155Contract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaterialContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaxGasForFulfillment", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPrizeProbability", outputs: [ { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbabilities", type: "tuple[][]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getQuantityForMintPrize", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "getRequestHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "requestHash", type: "bytes32" } ], name: "getRequestInfo", outputs: [ { components: [ { internalType: "address", name: "requester", type: "address" }, { internalType: "uint256", name: "slipAmount", type: "uint256" }, { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { internalType: "enum RequestStatus", name: "status", type: "uint8" } ], internalType: "struct RequestInfo", name: "", type: "tuple" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "getUserNonce", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" }, { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "address", name: "axieContract", type: "address" }, { internalType: "address", name: "materialContract", type: "address" }, { internalType: "address", name: "consumableERC1155", type: "address" }, { internalType: "address", name: "axieVault", type: "address" }, { internalType: "uint256", name: "maxGasForFulfillment", type: "uint256" }, { internalType: "uint256", name: "quantityForMintPrize", type: "uint256" }, { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbability", type: "tuple[][]" }, { internalType: "address", name: "vrfCoordinator_", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "isCancelableRequest", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", 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: "bytes32", name: "reqHash", type: "bytes32" }, { internalType: "uint256", name: "randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", 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: [ { components: [ { internalType: "enum ChestCategory", name: "category", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct Chest[]", name: "chests", type: "tuple[]" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expireTimestamp", type: "uint256" }, { internalType: "uint256", name: "slipAmount", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "roll", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "axieContract", type: "address" } ], name: "setAxieContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "axieVault", type: "address" } ], name: "setAxieVault", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "consumableERC1155", type: "address" } ], name: "setConsumableERC1155Contract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "materialContract", type: "address" } ], name: "setMaterialContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "maxGasForFulfillment", type: "uint256" } ], name: "setMaxGasForFulfillment", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint8", name: "class", type: "uint8" }, { internalType: "uint256", name: "rate", type: "uint256" } ], internalType: "struct ProbabilityUtils.Rate[][]", name: "prizeProbability", type: "tuple[][]" } ], name: "setPrizeProbability", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "quantity", type: "uint256" } ], name: "setQuantityForMintPrize", 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: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var GACHA_MACHINE_LOGIC = { name: "GachaMachineLogic", address: "0xb35b25e24730af6313dbc5bc368e5d41feed90a7", is_deprecated: true, created_at: 1702269689, abi: abi170 }; var gacha_machine_logic_default = GACHA_MACHINE_LOGIC; // src/contracts/gacha_machine_proxy.ts var abi171 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var GACHA_MACHINE_PROXY = { name: "GachaMachineProxy", address: "0x3e0674b1ddc84b0cfd9d773bb2ce23fe8f445de3", is_deprecated: false, created_at: 1702275155, abi: abi171 }; var gacha_machine_proxy_default = GACHA_MACHINE_PROXY; // src/contracts/gaspacho_token_fetcher.ts var abi172 = [ { inputs: [ { internalType: "address[]", name: "_accounts", type: "address[]" }, { internalType: "address[]", name: "_tokens", type: "address[]" } ], name: "ERC20BalanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_startIndex", type: "uint256" }, { internalType: "uint256", name: "_maxLen", type: "uint256" } ], name: "ERC721EnumGetBatchTokensForUser", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "address", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_startId", type: "uint256" }, { internalType: "uint256", name: "_maxLen", type: "uint256" }, { internalType: "uint256", name: "_maxId", type: "uint256" } ], name: "ERC721GetBatchTokensForUser", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" } ]; var GASPACHO_TOKEN_FETCHER = { name: "Gaspacho Token Fetcher", address: "0x274dde3a88100cf4bc1e61d5cde3c0d1adb20d0a", is_deprecated: false, created_at: 1720645372, abi: abi172 }; var gaspacho_token_fetcher_default = GASPACHO_TOKEN_FETCHER; // src/contracts/general_nft.ts var abi173 = [ { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "BURN_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "mintById", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var GENERAL_NFT = { name: "General NFT", address: "0xd061161d99f252c5515dd13644765161ee226f67", is_deprecated: false, created_at: 1714835259, abi: abi173 }; var general_nft_default = GENERAL_NFT; // src/contracts/genesis_heroes_721.ts var abi174 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAllHeroesList", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], internalType: "struct GenesisHeroes721.Heroes[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAllHolders", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getHeroes", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], internalType: "struct GenesisHeroes721.Heroes", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" } ], name: "getHeroesList", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], internalType: "struct GenesisHeroes721.Heroes[]", name: "", type: "tuple[]" } ], 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: "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: "player", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], name: "heroesMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "_prefixURI", type: "string" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "multiBurn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "players", type: "address[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "birthTimes", type: "uint256[]" } ], name: "multiMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "players", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256", name: "birthTimes", type: "uint256" } ], name: "multiMintForSinglePlayer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "setGrantRole", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var GENESIS_HEROES_721 = { name: "Genesis Heroes 721", address: "0x83be7f9c9a7d6392c8121695b6f0985cdc5eff81", is_deprecated: false, created_at: 1728621541, abi: abi174 }; var genesis_heroes_721_default = GENESIS_HEROES_721; // src/contracts/genesis_heroes_721_proxy.ts var abi175 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var GENESIS_HEROES_721_PROXY = { name: "Genesis Heroes 721 Proxy", address: "0xed541c542e211fe61a532f156867de3f736c6086", is_deprecated: false, created_at: 1728621547, abi: abi175 }; var genesis_heroes_721_proxy_default = GENESIS_HEROES_721_PROXY; // src/contracts/genesis_heroes_721_vault_proxy.ts var abi176 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var GENESIS_HEROES_721_VAULT_PROXY = { name: "Genesis Heroes 721 Vault Proxy", address: "0x2b60a1093a3d5ced568485f486b3a7de9003ce13", is_deprecated: false, created_at: 1728621931, abi: abi176 }; var genesis_heroes_721_vault_proxy_default = GENESIS_HEROES_721_VAULT_PROXY; // src/contracts/genesis_nft.ts var abi177 = [ { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "BURN_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var GENESIS_NFT = { name: "Genesis NFT", address: "0xedc5ebeb8a3c04c3a35800bfbae76351012ec6dd", is_deprecated: false, created_at: 1714835283, abi: abi177 }; var genesis_nft_default = GENESIS_NFT; // src/contracts/genesis_tamer_proxy.ts var abi178 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var GENESIS_TAMER_PROXY = { name: "Genesis Tamer Proxy", address: "0x6dcafe91533bdd733152ea30d029ec29280d7e4b", is_deprecated: false, created_at: 1715785418, abi: abi178 }; var genesis_tamer_proxy_default = GENESIS_TAMER_PROXY; // src/contracts/genkai_proxy.ts var abi179 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var GENKAI_PROXY = { name: "Genkai Proxy", address: "0x1f7c16fce4fc894143afb5545bf04f676bf7dcf3", is_deprecated: false, created_at: 1690391469, abi: abi179 }; var genkai_proxy_default = GENKAI_PROXY; // src/contracts/gifts.ts var abi180 = [ { inputs: [ { internalType: "address", name: "_nativeTokenWrapper", type: "address" }, { internalType: "address", name: "_restrictionController", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "FailedtoRefundNativeToken", type: "error" }, { inputs: [], name: "GiftAlreadyCancelled", type: "error" }, { inputs: [], name: "GiftAlreadyClaimed", type: "error" }, { inputs: [ { internalType: "uint256", name: "available", type: "uint256" }, { internalType: "uint256", name: "required", type: "uint256" } ], name: "InsufficientBalance", type: "error" }, { inputs: [], name: "InvalidControllerAddress", type: "error" }, { inputs: [], name: "InvalidGift", type: "error" }, { inputs: [ { internalType: "string", name: "message", type: "string" } ], name: "InvalidPayload", type: "error" }, { inputs: [], name: "InvalidRestriction", type: "error" }, { inputs: [], name: "InvalidVerifier", type: "error" }, { inputs: [], name: "TooManyGifts", type: "error" }, { inputs: [], name: "TooManyGiftsToCancel", type: "error" }, { inputs: [], name: "TooManyRestrictions", type: "error" }, { inputs: [], name: "TooManyTokens", type: "error" }, { inputs: [], name: "Unauthorized", type: "error" }, { inputs: [ { internalType: "string", name: "restriction", type: "string" } ], name: "UnmetRestriction", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_restrictionController", type: "address" } ], name: "ControllerUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_giftID", type: "uint256" } ], name: "GiftCancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_giftID", type: "uint256" }, { indexed: false, internalType: "address", name: "_claimedBy", type: "address" } ], name: "GiftClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_giftID", type: "uint256" }, { indexed: false, internalType: "address", name: "_createdBy", type: "address" } ], name: "GiftCreated", 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" }, { inputs: [], name: "MAX_GIFTS_PER_CANCEL_TX", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_GIFTS_PER_CREATEGIFTS", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_RESTRICTIONS_PER_GIFT", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_TOKENS_PER_GIFT", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_giftIDs", type: "uint256[]" } ], name: "cancelGifts", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_giftID", type: "uint256" }, { internalType: "address", name: "_receiver", type: "address" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "claimGift", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { components: [ { internalType: "address", name: "assetContract", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct IGifts.Token[]", name: "tokens", type: "tuple[]" }, { components: [ { internalType: "string", name: "id", type: "string" }, { internalType: "bytes", name: "args", type: "bytes" } ], internalType: "struct IGifts.Restriction[]", name: "restrictions", type: "tuple[]" }, { internalType: "address", name: "verifier", type: "address" } ], internalType: "struct IGifts.NewGiftPayload", name: "_newGift", type: "tuple" } ], name: "createGift", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { components: [ { internalType: "address", name: "assetContract", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct IGifts.Token[]", name: "tokens", type: "tuple[]" }, { components: [ { internalType: "string", name: "id", type: "string" }, { internalType: "bytes", name: "args", type: "bytes" } ], internalType: "struct IGifts.Restriction[]", name: "restrictions", type: "tuple[]" }, { internalType: "address", name: "verifier", type: "address" } ], internalType: "struct IGifts.NewGiftPayload[]", name: "_newGift", type: "tuple[]" } ], name: "createGifts", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "emergencyExit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_verifier", type: "address" } ], name: "getGift", outputs: [ { components: [ { internalType: "uint256", name: "giftID", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" }, { internalType: "address", name: "creator", type: "address" }, { internalType: "bool", name: "claimed", type: "bool" }, { internalType: "bool", name: "cancelled", type: "bool" }, { components: [ { internalType: "string", name: "id", type: "string" }, { internalType: "bytes", name: "args", type: "bytes" } ], internalType: "struct IGifts.Restriction[]", name: "restrictions", type: "tuple[]" }, { components: [ { internalType: "address", name: "assetContract", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct IGifts.Token[]", name: "tokens", type: "tuple[]" } ], internalType: "struct IGifts.Gift", name: "currentGift", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getUnclaimedGifts", outputs: [ { components: [ { internalType: "uint256", name: "giftID", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" }, { internalType: "address", name: "creator", type: "address" }, { internalType: "bool", name: "claimed", type: "bool" }, { internalType: "bool", name: "cancelled", type: "bool" }, { components: [ { internalType: "string", name: "id", type: "string" }, { internalType: "bytes", name: "args", type: "bytes" } ], internalType: "struct IGifts.Restriction[]", name: "restrictions", type: "tuple[]" }, { components: [ { internalType: "address", name: "assetContract", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct IGifts.Token[]", name: "tokens", type: "tuple[]" } ], internalType: "struct IGifts.Gift[]", name: "giftsTemp", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "forwarder", type: "address" } ], name: "isTrustedForwarder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", 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: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_restrictionController", type: "address" } ], name: "updateController", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var GIFTS = { name: "Gifts", address: "0xc1f6fbc6da4234239f44becce0438545f8cdbf5e", is_deprecated: false, created_at: 1696867423, abi: abi180 }; var gifts_default = GIFTS; // src/contracts/gm_send.ts var abi181 = [ { inputs: [ { internalType: "contract IConfig", name: "_config", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "bytes32[]", name: "mintIds", type: "bytes32[]" } ], name: "batchCheckMinted", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "bytes32", name: "mintId", type: "bytes32" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "itemIds", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], internalType: "struct GMSend.Minted[]", name: "minteds", type: "tuple[]" } ], name: "batchSend", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "config", outputs: [ { internalType: "contract IConfig", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var GM_SEND = { name: "GM Send", address: "0x4fa6c6b43f690db817c1eec77103964a758f24c8", is_deprecated: false, created_at: 1723280371, abi: abi181 }; var gm_send_default = GM_SEND; // src/contracts/gm_send_proxy.ts var abi182 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var GM_SEND_PROXY = { name: "GM Send Proxy", address: "0xab83a98821573adc856f0124c3c97d1b79ee94a2", is_deprecated: false, created_at: 1723280377, abi: abi182 }; var gm_send_proxy_default = GM_SEND_PROXY; // src/contracts/gnosis_safe.ts var abi183 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address" } ], name: "AddedOwner", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "approvedHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "owner", type: "address" } ], name: "ApproveHash", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "handler", type: "address" } ], name: "ChangedFallbackHandler", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "guard", type: "address" } ], name: "ChangedGuard", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "threshold", type: "uint256" } ], name: "ChangedThreshold", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" } ], name: "DisabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" } ], name: "EnabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "txHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "payment", type: "uint256" } ], name: "ExecutionFailure", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "module", type: "address" } ], name: "ExecutionFromModuleFailure", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "module", type: "address" } ], name: "ExecutionFromModuleSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "txHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "payment", type: "uint256" } ], name: "ExecutionSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address" } ], name: "RemovedOwner", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "SafeReceived", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "initiator", type: "address" }, { indexed: false, internalType: "address[]", name: "owners", type: "address[]" }, { indexed: false, internalType: "uint256", name: "threshold", type: "uint256" }, { indexed: false, internalType: "address", name: "initializer", type: "address" }, { indexed: false, internalType: "address", name: "fallbackHandler", type: "address" } ], name: "SafeSetup", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "msgHash", type: "bytes32" } ], name: "SignMsg", type: "event" }, { stateMutability: "nonpayable", type: "fallback" }, { inputs: [], name: "VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "addOwnerWithThreshold", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hashToApprove", type: "bytes32" } ], name: "approveHash", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "bytes32", name: "", type: "bytes32" } ], name: "approvedHashes", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "changeThreshold", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "dataHash", type: "bytes32" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes", name: "signatures", type: "bytes" }, { internalType: "uint256", name: "requiredSignatures", type: "uint256" } ], name: "checkNSignatures", outputs: [], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "dataHash", type: "bytes32" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes", name: "signatures", type: "bytes" } ], name: "checkSignatures", outputs: [], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "prevModule", type: "address" }, { internalType: "address", name: "module", type: "address" } ], name: "disableModule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "domainSeparator", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "module", type: "address" } ], name: "enableModule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { internalType: "uint256", name: "safeTxGas", type: "uint256" }, { internalType: "uint256", name: "baseGas", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "address", name: "gasToken", type: "address" }, { internalType: "address", name: "refundReceiver", type: "address" }, { internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "encodeTransactionData", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { internalType: "uint256", name: "safeTxGas", type: "uint256" }, { internalType: "uint256", name: "baseGas", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "address", name: "gasToken", type: "address" }, { internalType: "address payable", name: "refundReceiver", type: "address" }, { internalType: "bytes", name: "signatures", type: "bytes" } ], name: "execTransaction", outputs: [ { internalType: "bool", name: "success", type: "bool" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "execTransactionFromModule", outputs: [ { internalType: "bool", name: "success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "execTransactionFromModuleReturnData", outputs: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getChainId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "start", type: "address" }, { internalType: "uint256", name: "pageSize", type: "uint256" } ], name: "getModulesPaginated", outputs: [ { internalType: "address[]", name: "array", type: "address[]" }, { internalType: "address", name: "next", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getOwners", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "offset", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "getStorageAt", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { internalType: "uint256", name: "safeTxGas", type: "uint256" }, { internalType: "uint256", name: "baseGas", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "address", name: "gasToken", type: "address" }, { internalType: "address", name: "refundReceiver", type: "address" }, { internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "getTransactionHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "module", type: "address" } ], name: "isModuleEnabled", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "isOwner", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "prevOwner", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "removeOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "requiredTxGas", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "handler", type: "address" } ], name: "setFallbackHandler", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "guard", type: "address" } ], name: "setGuard", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_owners", type: "address[]" }, { internalType: "uint256", name: "_threshold", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "address", name: "fallbackHandler", type: "address" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "payment", type: "uint256" }, { internalType: "address payable", name: "paymentReceiver", type: "address" } ], name: "setup", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "signedMessages", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "targetContract", type: "address" }, { internalType: "bytes", name: "calldataPayload", type: "bytes" } ], name: "simulateAndRevert", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "prevOwner", type: "address" }, { internalType: "address", name: "oldOwner", type: "address" }, { internalType: "address", name: "newOwner", type: "address" } ], name: "swapOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var GNOSIS_SAFE = { name: "Gnosis Safe", address: "0xd9db270c1b5e3bd161e8c8503c55ceabee709552", is_deprecated: false, created_at: 1635392476, abi: abi183 }; var gnosis_safe_default = GNOSIS_SAFE; // src/contracts/gnosis_safe_l2.ts var abi184 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address" } ], name: "AddedOwner", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "approvedHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "owner", type: "address" } ], name: "ApproveHash", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "handler", type: "address" } ], name: "ChangedFallbackHandler", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "guard", type: "address" } ], name: "ChangedGuard", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "threshold", type: "uint256" } ], name: "ChangedThreshold", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" } ], name: "DisabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" } ], name: "EnabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "txHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "payment", type: "uint256" } ], name: "ExecutionFailure", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "module", type: "address" } ], name: "ExecutionFromModuleFailure", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "module", type: "address" } ], name: "ExecutionFromModuleSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "txHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "payment", type: "uint256" } ], name: "ExecutionSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address" } ], name: "RemovedOwner", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" }, { indexed: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "SafeModuleTransaction", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { indexed: false, internalType: "uint256", name: "safeTxGas", type: "uint256" }, { indexed: false, internalType: "uint256", name: "baseGas", type: "uint256" }, { indexed: false, internalType: "uint256", name: "gasPrice", type: "uint256" }, { indexed: false, internalType: "address", name: "gasToken", type: "address" }, { indexed: false, internalType: "address payable", name: "refundReceiver", type: "address" }, { indexed: false, internalType: "bytes", name: "signatures", type: "bytes" }, { indexed: false, internalType: "bytes", name: "additionalInfo", type: "bytes" } ], name: "SafeMultiSigTransaction", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "SafeReceived", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "initiator", type: "address" }, { indexed: false, internalType: "address[]", name: "owners", type: "address[]" }, { indexed: false, internalType: "uint256", name: "threshold", type: "uint256" }, { indexed: false, internalType: "address", name: "initializer", type: "address" }, { indexed: false, internalType: "address", name: "fallbackHandler", type: "address" } ], name: "SafeSetup", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "msgHash", type: "bytes32" } ], name: "SignMsg", type: "event" }, { stateMutability: "nonpayable", type: "fallback" }, { inputs: [], name: "VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "addOwnerWithThreshold", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hashToApprove", type: "bytes32" } ], name: "approveHash", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "bytes32", name: "", type: "bytes32" } ], name: "approvedHashes", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "changeThreshold", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "dataHash", type: "bytes32" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes", name: "signatures", type: "bytes" }, { internalType: "uint256", name: "requiredSignatures", type: "uint256" } ], name: "checkNSignatures", outputs: [], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "dataHash", type: "bytes32" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes", name: "signatures", type: "bytes" } ], name: "checkSignatures", outputs: [], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "prevModule", type: "address" }, { internalType: "address", name: "module", type: "address" } ], name: "disableModule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "domainSeparator", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "module", type: "address" } ], name: "enableModule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { internalType: "uint256", name: "safeTxGas", type: "uint256" }, { internalType: "uint256", name: "baseGas", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "address", name: "gasToken", type: "address" }, { internalType: "address", name: "refundReceiver", type: "address" }, { internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "encodeTransactionData", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { internalType: "uint256", name: "safeTxGas", type: "uint256" }, { internalType: "uint256", name: "baseGas", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "address", name: "gasToken", type: "address" }, { internalType: "address payable", name: "refundReceiver", type: "address" }, { internalType: "bytes", name: "signatures", type: "bytes" } ], name: "execTransaction", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "execTransactionFromModule", outputs: [ { internalType: "bool", name: "success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "execTransactionFromModuleReturnData", outputs: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getChainId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "start", type: "address" }, { internalType: "uint256", name: "pageSize", type: "uint256" } ], name: "getModulesPaginated", outputs: [ { internalType: "address[]", name: "array", type: "address[]" }, { internalType: "address", name: "next", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getOwners", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "offset", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "getStorageAt", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" }, { internalType: "uint256", name: "safeTxGas", type: "uint256" }, { internalType: "uint256", name: "baseGas", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "address", name: "gasToken", type: "address" }, { internalType: "address", name: "refundReceiver", type: "address" }, { internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "getTransactionHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "module", type: "address" } ], name: "isModuleEnabled", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "isOwner", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "prevOwner", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "removeOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "requiredTxGas", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "handler", type: "address" } ], name: "setFallbackHandler", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "guard", type: "address" } ], name: "setGuard", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_owners", type: "address[]" }, { internalType: "uint256", name: "_threshold", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "address", name: "fallbackHandler", type: "address" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "payment", type: "uint256" }, { internalType: "address payable", name: "paymentReceiver", type: "address" } ], name: "setup", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "signedMessages", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "targetContract", type: "address" }, { internalType: "bytes", name: "calldataPayload", type: "bytes" } ], name: "simulateAndRevert", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "prevOwner", type: "address" }, { internalType: "address", name: "oldOwner", type: "address" }, { internalType: "address", name: "newOwner", type: "address" } ], name: "swapOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var GNOSIS_SAFE_L2 = { name: "Gnosis Safe L2", address: "0x3e5c63644e683549055b9be8653de26e0b4cd36e", is_deprecated: false, created_at: 1635392467, abi: abi184 }; var gnosis_safe_l2_default = GNOSIS_SAFE_L2; // src/contracts/gnosis_safe_proxy.ts var abi185 = [ { inputs: [ { internalType: "address", name: "_singleton", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" } ]; var GNOSIS_SAFE_PROXY = { name: "Gnosis Safe Proxy", address: "0xbf3d15e733a5c11c6f4930705bfe9e16126126e0", is_deprecated: false, created_at: 1692008982, abi: abi185 }; var gnosis_safe_proxy_default = GNOSIS_SAFE_PROXY; // src/contracts/gnosis_safe_proxy_factory.ts var abi186 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "contract GnosisSafeProxy", name: "proxy", type: "address" }, { indexed: false, internalType: "address", name: "singleton", type: "address" } ], name: "ProxyCreation", type: "event" }, { inputs: [ { internalType: "address", name: "_singleton", type: "address" }, { internalType: "bytes", name: "initializer", type: "bytes" }, { internalType: "uint256", name: "saltNonce", type: "uint256" } ], name: "calculateCreateProxyWithNonceAddress", outputs: [ { internalType: "contract GnosisSafeProxy", name: "proxy", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "singleton", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "createProxy", outputs: [ { internalType: "contract GnosisSafeProxy", name: "proxy", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_singleton", type: "address" }, { internalType: "bytes", name: "initializer", type: "bytes" }, { internalType: "uint256", name: "saltNonce", type: "uint256" }, { internalType: "contract IProxyCreationCallback", name: "callback", type: "address" } ], name: "createProxyWithCallback", outputs: [ { internalType: "contract GnosisSafeProxy", name: "proxy", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_singleton", type: "address" }, { internalType: "bytes", name: "initializer", type: "bytes" }, { internalType: "uint256", name: "saltNonce", type: "uint256" } ], name: "createProxyWithNonce", outputs: [ { internalType: "contract GnosisSafeProxy", name: "proxy", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "proxyCreationCode", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "proxyRuntimeCode", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "pure", type: "function" } ]; var GNOSIS_SAFE_PROXY_FACTORY = { name: "Gnosis Safe Proxy Factory", address: "0xa6b71e26c5e0845f74c812102ca7114b6a896ab2", is_deprecated: false, created_at: 1635392395, abi: abi186 }; var gnosis_safe_proxy_factory_default = GNOSIS_SAFE_PROXY_FACTORY; // src/contracts/golden_coin_shop.ts var abi187 = [ { inputs: [ { internalType: "contract IERC20", name: "_WETH", type: "address" }, { internalType: "address payable", name: "_receiver", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "contract IERC20", name: "token", type: "address" }, { indexed: false, internalType: "uint256", name: "cost", type: "uint256" }, { indexed: false, internalType: "uint256", name: "reward", type: "uint256" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "Buy", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "DailyGoldenLimitChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "FinishAtChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "contract IERC20", name: "token", type: "address" }, { indexed: false, internalType: "uint256", name: "cost", type: "uint256" }, { indexed: false, internalType: "uint256", name: "reward", type: "uint256" }, { indexed: false, internalType: "bool", name: "available", type: "bool" } ], name: "ItemChanged", 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: "oldReceiver", type: "address" }, { indexed: false, internalType: "address", name: "newReceiver", type: "address" } ], name: "ReceiverChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "StartAtChanged", type: "event" }, { inputs: [], name: "WETH", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC20[]", name: "_tokens", type: "address[]" }, { internalType: "uint256[]", name: "_costs", type: "uint256[]" }, { internalType: "uint256[]", name: "_rewards", type: "uint256[]" }, { internalType: "uint256[]", name: "_dailyLimits", type: "uint256[]" } ], name: "addItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "allItems", outputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "uint256", name: "cost", type: "uint256" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "dailyLimit", type: "uint256" }, { internalType: "bool", name: "available", type: "bool" } ], internalType: "struct GoldenCoinShop.Item[]", name: "itemList", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "contract IERC20", name: "_token", type: "address" }, { internalType: "uint256", name: "_cost", type: "uint256" }, { internalType: "uint256", name: "_reward", type: "uint256" } ], name: "buy", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_limit", type: "uint256" } ], name: "changeDailyGoldenLimit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "uint256", name: "cost", type: "uint256" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "dailyLimit", type: "uint256" }, { internalType: "bool", name: "available", type: "bool" } ], internalType: "struct GoldenCoinShop.Item[]", name: "_items", type: "tuple[]" } ], name: "changeItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "_receiver", type: "address" } ], name: "changeReciever", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "dailyGoldenLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "disableItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "enableItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "finishAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "globalBuyed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "globalDailyBuyed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "globalLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "interval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "itemArrayLength", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "itemLength", outputs: [ { internalType: "uint256", name: "length", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "items", outputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "uint256", name: "cost", type: "uint256" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "dailyLimit", type: "uint256" }, { internalType: "bool", name: "available", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "receiver", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_finishAt", type: "uint256" } ], name: "setFinishAt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_startAt", type: "uint256" } ], name: "setStartAt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "startAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "userBuyed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "address", name: "_user", type: "address" } ], name: "userDailyBuyed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "userLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var GOLDEN_COIN_SHOP = { name: "Golden Coin Shop", address: "0x23e972baea76d3efe49a381f372f113bb7917cd8", is_deprecated: false, created_at: 1721399862, abi: abi187 }; var golden_coin_shop_default = GOLDEN_COIN_SHOP; // src/contracts/governance_admin.ts var abi188 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "ThresholdUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { components: [ { internalType: "address", name: "validator", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], indexed: false, internalType: "struct IWeightedValidator.WeightedValidator[]", name: "validators", type: "tuple[]" } ], name: "ValidatorsAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "address[]", name: "validators", type: "address[]" } ], name: "ValidatorsRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { components: [ { internalType: "address", name: "validator", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], indexed: false, internalType: "struct IWeightedValidator.WeightedValidator[]", name: "validators", type: "tuple[]" } ], name: "ValidatorsUpdated", type: "event" }, { inputs: [ { components: [ { internalType: "address", name: "validator", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], internalType: "struct IWeightedValidator.WeightedValidator[]", name: "_validatorList", type: "tuple[]" } ], name: "addValidators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_voteWeight", type: "uint256" } ], name: "checkThreshold", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_governor", type: "address" } ], name: "getGovernorWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getGovernors", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getValidatorInfo", outputs: [ { components: [ { internalType: "address", name: "validator", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], internalType: "struct IWeightedValidator.WeightedValidator[]", name: "_list", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_validator", type: "address" } ], name: "getValidatorWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getValidators", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "validator", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], internalType: "struct IWeightedValidator.WeightedValidator[]", name: "_initValidators", type: "tuple[]" }, { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minimumVoteWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_validatorList", type: "address[]" } ], name: "removeValidators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" } ], name: "setThreshold", outputs: [ { internalType: "uint256", name: "_previousNum", type: "uint256" }, { internalType: "uint256", name: "_previousDenom", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_addrList", type: "address[]" } ], name: "sumGovernorWeights", outputs: [ { internalType: "uint256", name: "_weight", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_addrList", type: "address[]" } ], name: "sumValidatorWeights", outputs: [ { internalType: "uint256", name: "_weight", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalValidators", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalWeights", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "validator", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], internalType: "struct IWeightedValidator.WeightedValidator[]", name: "_validatorList", type: "tuple[]" } ], name: "updateValidators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "validators", outputs: [ { components: [ { internalType: "address", name: "validator", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], internalType: "struct IWeightedValidator.WeightedValidator", name: "", type: "tuple" } ], stateMutability: "view", type: "function" } ]; var GOVERNANCE_ADMIN = { name: "Governance Admin", address: "0x84390b8cf3e612e8c80d9ea2e92bcd029151404a", is_deprecated: true, created_at: 1655882560, abi: abi188 }; var governance_admin_default = GOVERNANCE_ADMIN; // src/contracts/guardian_pending_array.ts var abi189 = [ { inputs: [ { internalType: "address", name: "_lockable", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "guardian", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" } ], name: "GuardianRenounce", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "guardian", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" } ], name: "GuardianSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "pendingGuardian", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" } ], name: "PendingGuardianSet", type: "event" }, { inputs: [], name: "LOCKABLE", outputs: [ { internalType: "contract ILockERC721", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_protege", type: "address" } ], name: "acceptGuardianship", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "getLockedAssetsOfUsers", outputs: [ { internalType: "uint256[]", name: "lockedAssets", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_startIndex", type: "uint256" }, { internalType: "uint256", name: "_maxLen", type: "uint256" } ], name: "getLockedAssetsOfUsers", outputs: [ { internalType: "uint256[]", name: "lockedAssets", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_guardian", type: "address" } ], name: "getPendingProteges", outputs: [ { internalType: "address[]", name: "_proteges", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_guardian", type: "address" } ], name: "getProtegesFromGuardian", outputs: [ { internalType: "address[]", name: "proteges", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "guardianToUserIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "guardianToUsers", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "guardianUserCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "guardians", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], name: "lockMany", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "pendingGuardianArray", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "pendingGuardianUserCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "pendingGuardians", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_guardian", type: "address" } ], name: "proposeGuardian", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_protege", type: "address" } ], name: "renounce", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_protege", type: "address" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "address", name: "_recipient", type: "address" } ], name: "renounceAndTransfer", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], name: "unlockMany", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "address", name: "_recipient", type: "address" } ], name: "unlockManyAndTransfer", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "userData", outputs: [ { internalType: "address", name: "guardian", type: "address" } ], stateMutability: "view", type: "function" } ]; var GUARDIAN_PENDING_ARRAY = { name: "Guardian Pending Array", address: "0x64f58013256075ae41ac7c0a8936b7e758892a47", is_deprecated: false, created_at: 1712571299, abi: abi189 }; var guardian_pending_array_default = GUARDIAN_PENDING_ARRAY; // src/contracts/guild_memberships.ts var abi190 = [ { inputs: [ { internalType: "address", name: "defaultAdmin", type: "address" }, { internalType: "address", name: "pauser", type: "address" }, { internalType: "address", name: "minter", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "uint256", name: "balance", type: "uint256" }, { internalType: "uint256", name: "needed", type: "uint256" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC1155InsufficientBalance", type: "error" }, { inputs: [ { internalType: "address", name: "approver", type: "address" } ], name: "ERC1155InvalidApprover", type: "error" }, { inputs: [ { internalType: "uint256", name: "idsLength", type: "uint256" }, { internalType: "uint256", name: "valuesLength", type: "uint256" } ], name: "ERC1155InvalidArrayLength", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ERC1155InvalidOperator", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC1155InvalidReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "ERC1155InvalidSender", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "owner", type: "address" } ], name: "ERC1155MissingApprovalForAll", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", 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: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "URI_SETTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "burnBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "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: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mintBatch", outputs: [], stateMutability: "nonpayable", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newuri", type: "string" } ], name: "setURI", 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: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var GUILD_MEMBERSHIPS = { name: "Guild Memberships", address: "0x7ac8de4b2d37ac6136be285ee7060e8676c9644f", is_deprecated: false, created_at: 1709648251, abi: abi190 }; var guild_memberships_default = GUILD_MEMBERSHIPS; // src/contracts/hero_proxy.ts var abi191 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var HERO_PROXY = { name: "Hero Proxy", address: "0x879f7b62b1da5d5843ef4d343e8e8f210c6095b9", is_deprecated: false, created_at: 1730107728, abi: abi191 }; var hero_proxy_default = HERO_PROXY; // src/contracts/iap.ts var abi192 = [ { inputs: [ { internalType: "address", name: "_superAdmin", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "id", type: "string" }, { indexed: false, internalType: "uint256", name: "price", type: "uint256" }, { indexed: true, internalType: "address", name: "buyer", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" } ], name: "Purchase", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "address", name: "withdrawer", type: "address" }, { indexed: false, internalType: "string", name: "cutId", type: "string" } ], name: "Withdraw", type: "event" }, { inputs: [ { internalType: "string", name: "cutId", type: "string" } ], name: "getCutBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "listProducts", outputs: [ { components: [ { internalType: "string", name: "id", type: "string" } ], internalType: "struct IAP.Product[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "listRevShares", outputs: [ { components: [ { internalType: "address payable", name: "to", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], internalType: "struct IAP.RevShare[]", name: "", type: "tuple[]" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "productId", type: "string" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "string", name: "cutId", type: "string" }, { internalType: "int256", name: "timestamp", type: "int256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "purchaseProduct", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address[]", name: "newCatalogAdmins", type: "address[]" } ], name: "updateCatalogAdmins", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "string", name: "id", type: "string" } ], internalType: "struct IAP.Product[]", name: "newProducts", type: "tuple[]" }, { internalType: "address", name: "newPurchaseSigner", type: "address" } ], name: "updateProducts", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address payable", name: "to", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" } ], internalType: "struct IAP.RevShare[]", name: "newRevShares", type: "tuple[]" }, { internalType: "uint256", name: "newRevShareCutWeight", type: "uint256" } ], name: "updateRevShares", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newSuperAdmin", type: "address" } ], name: "updateSuperAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "cutId", type: "string" }, { internalType: "int256", name: "timestamp", type: "int256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "withdrawCut", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var IAP = { name: "IAP", address: "0xcaef47717e49c82deec1a2eebde6d1f5bebfd3ba", is_deprecated: false, created_at: 1688028591, abi: abi192 }; var iap_default = IAP; // src/contracts/item_raffle.ts var abi193 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidDropData", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidInterval", type: "error" }, { inputs: [], name: "InvalidMaxCheckin", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "InvalidValidatorContract", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "MaxCheckinReached", type: "error" }, { inputs: [], name: "MintFailed", type: "error" }, { inputs: [], name: "NoValidatorContract", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "SignatureAlreadyUsed", type: "error" }, { inputs: [], name: "SignatureExpired", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldInterval", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newInterval", type: "uint256" } ], name: "CheckinIntervalUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "wallet", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenID", type: "uint256" }, { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "seed", type: "uint256" } ], name: "ItemMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldMaxCheckin", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newMaxCheckin", type: "uint256" } ], name: "MaxCheckinUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract BaseERC1155", name: "newItemContract", type: "address" }, { indexed: false, internalType: "uint256[]", name: "newDropTokenIDs", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "newDropChances", type: "uint256[]" } ], name: "RaffleParamsUpdated", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract Validator", name: "oldContract", type: "address" }, { indexed: true, internalType: "contract Validator", name: "newContract", type: "address" } ], name: "ValidatorContractUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "newInterval", type: "uint256" } ], name: "adminSetCheckinInterval", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newMaxCheckin", type: "uint256" } ], name: "adminSetMaxCheckin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract Validator", name: "validator", type: "address" } ], name: "adminSetValidatorContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract BaseERC1155", name: "itemContract", type: "address" }, { internalType: "uint256[]", name: "dropTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "dropChances", type: "uint256[]" } ], name: "adminUpdateRaffleParams", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "baseVersion", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "wallet", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "checkinCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "checkinInterval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "wallet", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "checkinLeft", outputs: [ { internalType: "uint256", name: "", 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: [], name: "getStorage", outputs: [ { components: [ { internalType: "contract BaseERC1155", name: "_itemContract", type: "address" }, { internalType: "uint256[]", name: "_dropTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "_dropChances", type: "uint256[]" }, { internalType: "uint256[]", name: "_dropRanges", type: "uint256[]" }, { internalType: "uint256", name: "_totalDropChances", type: "uint256" } ], internalType: "struct ItemRaffle.ViewableStorage", name: "", type: "tuple" } ], 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: [ { components: [ { internalType: "address", name: "adminAddress", type: "address" }, { internalType: "uint256", name: "checkinInterval", type: "uint256" }, { internalType: "uint256", name: "maxCheckin", type: "uint256" }, { internalType: "contract BaseERC1155", name: "itemContract", type: "address" }, { internalType: "uint256[]", name: "dropTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "dropChances", type: "uint256[]" } ], internalType: "struct ItemRaffleInitializer", name: "_initializer", type: "tuple" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "maxCheckin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mintItem", outputs: [ { internalType: "uint256", name: "tokenID", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "seed", type: "uint256" }, { internalType: "uint256", name: "expireTime", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "bool", name: "verifyMessageHash", type: "bool" } ], internalType: "struct ItemRaffle.MintItemPayload", name: "payload", type: "tuple" } ], name: "mintWithCustomSeed", outputs: [ { internalType: "uint256", name: "tokenID", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "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: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "validatorContract", outputs: [ { internalType: "contract Validator", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var ITEM_RAFFLE = { name: "Item Raffle", address: "0xad2fdc03606e6fedbe05f2d0ff7a33de5b234f3e", is_deprecated: false, created_at: 1726727988, abi: abi193 }; var item_raffle_default = ITEM_RAFFLE; // src/contracts/item_raffle_proxy.ts var abi194 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var ITEM_RAFFLE_PROXY = { name: "Item Raffle Proxy", address: "0xa17eebf2cdb001b8458efc28edf42275c581e963", is_deprecated: false, created_at: 1726635993, abi: abi194 }; var item_raffle_proxy_default = ITEM_RAFFLE_PROXY; // src/contracts/journal.ts var abi195 = [ { inputs: [ { internalType: "address", name: "initialOwner", type: "address" }, { internalType: "string", name: "defaultMetaDataUrl", type: "string" }, { internalType: "address", name: "signerPublicKey", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "itemIds", type: "uint256[]" }, { internalType: "string[]", name: "metaDataUrls", type: "string[]" } ], name: "bulkRevealTraits", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "destination", type: "address" } ], name: "claimBalance", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentTokenId", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "mintNFT", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "recipient", type: "address" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "recoverSig", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "itemId", type: "uint256" }, { internalType: "string", name: "metaDataUrl", type: "string" } ], name: "revealTraits", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "itemId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var JOURNAL = { name: "Journal", address: "0xd78efaec85c1a4f42e6edb7209067702a2be8c90", is_deprecated: false, created_at: 1710305875, abi: abi195 }; var journal_default = JOURNAL; // src/contracts/jump_rate_model_v2.ts var abi196 = [ { inputs: [ { internalType: "uint256", name: "baseRatePerYear", type: "uint256" }, { internalType: "uint256", name: "multiplierPerYear", type: "uint256" }, { internalType: "uint256", name: "jumpMultiplierPerYear", type: "uint256" }, { internalType: "uint256", name: "kink_", type: "uint256" }, { internalType: "address", name: "owner_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "baseRatePerBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "multiplierPerBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "jumpMultiplierPerBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "kink", type: "uint256" } ], name: "NewInterestParams", type: "event" }, { constant: true, inputs: [], name: "baseRatePerBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "blocksPerYear", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "cash", type: "uint256" }, { internalType: "uint256", name: "borrows", type: "uint256" }, { internalType: "uint256", name: "reserves", type: "uint256" } ], name: "getBorrowRate", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "cash", type: "uint256" }, { internalType: "uint256", name: "borrows", type: "uint256" }, { internalType: "uint256", name: "reserves", type: "uint256" }, { internalType: "uint256", name: "reserveFactorMantissa", type: "uint256" } ], name: "getSupplyRate", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "jumpMultiplierPerBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "kink", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "multiplierPerBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "setAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "blocksPerYear_", type: "uint256" } ], name: "updateBlocksPerYear", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "baseRatePerYear", type: "uint256" }, { internalType: "uint256", name: "multiplierPerYear", type: "uint256" }, { internalType: "uint256", name: "jumpMultiplierPerYear", type: "uint256" }, { internalType: "uint256", name: "kink_", type: "uint256" } ], name: "updateJumpRateModel", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "cash", type: "uint256" }, { internalType: "uint256", name: "borrows", type: "uint256" }, { internalType: "uint256", name: "reserves", type: "uint256" } ], name: "utilizationRate", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" } ]; var JUMP_RATE_MODEL_V2 = { name: "Jump Rate Model V2", address: "0xcbb6dcdd897a3c1917100c651b1e5715f8beba5d", is_deprecated: false, created_at: 1672169469, abi: abi196 }; var jump_rate_model_v2_default = JUMP_RATE_MODEL_V2; // src/contracts/jungle_adventure_v2.ts var abi197 = [ { inputs: [], name: "ErrFullfilled", type: "error" }, { inputs: [], name: "ErrInvalidRonCost", type: "error" }, { inputs: [], name: "ErrInvalidTier", type: "error" }, { inputs: [], name: "ErrNotEnoughGs", type: "error" }, { inputs: [], name: "ErrNotOwner", type: "error" }, { inputs: [], name: "ErrPotion", type: "error" }, { inputs: [], name: "ErrToomanyRuns", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "vx", type: "uint256" }, { components: [ { internalType: "bool", name: "eventSuccess", type: "bool" }, { internalType: "uint8", name: "state", type: "uint8" }, { internalType: "uint8", name: "tier", type: "uint8" }, { internalType: "uint8", name: "encounterId", type: "uint8" }, { internalType: "uint8", name: "deductedHp", type: "uint8" }, { internalType: "uint16", name: "expEarned", type: "uint16" }, { internalType: "uint16", name: "kongiumEarned", type: "uint16" }, { internalType: "uint16", name: "fallbackKongium", type: "uint16" }, { internalType: "uint16", name: "eventData", type: "uint16" } ], indexed: false, internalType: "struct IJungleLogic.GameData", name: "gData", type: "tuple" }, { components: [ { internalType: "uint8", name: "extraExp", type: "uint8" }, { internalType: "uint16", name: "extraKongium", type: "uint16" }, { internalType: "uint16", name: "fallbackKongium", type: "uint16" }, { internalType: "address[2]", name: "rewardAddress", type: "address[2]" }, { internalType: "uint256[2]", name: "tokenId", type: "uint256[2]" }, { internalType: "uint256[2]", name: "amounts", type: "uint256[2]" } ], indexed: false, internalType: "struct IJungleLogic.RewardData", name: "rData", type: "tuple" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "AdventureDone", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "seasonId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "address", name: "commiter", type: "address" } ], name: "CommitKongium", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "vxId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "potionType", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Healed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "KongiumBurn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "KongiumMint", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "uint256", name: "vx", type: "uint256" }, { indexed: false, internalType: "uint256", name: "requestId", type: "uint256" } ], name: "ManyAdventuresCompleted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "uint256", name: "vx", type: "uint256" }, { indexed: false, internalType: "uint256", name: "requestId", type: "uint256" } ], name: "ManyAdventuresStarted", 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: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "prize", type: "uint256" } ], name: "StartSeason", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "newLevels", type: "uint256[]" } ], name: "UpgradeVX", type: "event" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "GSReq", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "KONGIUM_ID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "LVL_ID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "POTION_1", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "POTION_2", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "VX_GENE_ID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "allowedCollections", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "approvedContract", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "canGetExp", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_season", type: "uint256" } ], name: "claimNana", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "commitKongium", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "committedKongium", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "consumables", outputs: [ { internalType: "contract IConsume", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "equipment", outputs: [ { internalType: "contract IEquipment", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "extraData", outputs: [ { internalType: "contract IKongzExtraData", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "getGene", outputs: [ { internalType: "uint256", name: "gene", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "getKongStats", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_season", type: "uint256" }, { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "getKreditSpent", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vxId", type: "uint256" } ], name: "getLevel", outputs: [ { internalType: "uint256", name: "_level", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "getMaxHp", outputs: [ { internalType: "uint256", name: "maxHp", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_seasons", type: "uint256[]" }, { internalType: "address", name: "_user", type: "address" } ], name: "getMultiSeasonRewardData", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "globalCommittedKongium", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_collec", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "grantExp", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vxId", type: "uint256" }, { internalType: "uint256", name: "_potionType", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "heal", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "healPerPotion", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "hp", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_nanas", type: "address" }, { internalType: "address", name: "_vx", type: "address" }, { internalType: "address", name: "_slices", type: "address" }, { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_consumable", type: "address" }, { internalType: "address", name: "_extra", type: "address" }, { internalType: "address", name: "_vrfCoordinator", type: "address" }, { internalType: "address", name: "_equip", type: "address" }, { internalType: "address", name: "_trait", type: "address" }, { internalType: "address", name: "_treasury", type: "address" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "isPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "kongium", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "logic", outputs: [ { internalType: "contract IJungleLogic", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "lootHolder", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "lottery", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "multiRunData", outputs: [ { internalType: "bool", name: "fulfilled", type: "bool" }, { internalType: "uint8", name: "tier", type: "uint8" }, { internalType: "uint8", name: "vxLvl", type: "uint8" }, { internalType: "uint8", name: "amount", type: "uint8" }, { internalType: "uint16", name: "gearScore", type: "uint16" }, { internalType: "uint16", name: "id", type: "uint16" }, { internalType: "uint256", name: "maxHp", type: "uint256" }, { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "seed", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nanas", outputs: [ { internalType: "contract INana", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_value", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxIds", type: "uint256[]" } ], name: "remainingHp", outputs: [ { internalType: "uint256[]", name: "currentHp", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vxId", type: "uint256" } ], name: "remainingHp", outputs: [ { internalType: "uint256", name: "currentHp", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vxId", type: "uint256" }, { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "run", stateMutability: "payable", type: "function" }, { inputs: [], name: "season", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "seasonDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "seasonLastUpdate", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seasonSliceRewardBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seasonStartTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_collec", type: "address" }, { internalType: "bool", name: "_val", type: "bool" } ], name: "setExp", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "_val", type: "bool" } ], name: "setPause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "slices", outputs: [ { internalType: "contract ISlice", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "slicesSpent", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "startSeason", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "tierCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierRonCost", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierSliceCost", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "traitRegistry", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_collecs", type: "address[]" }, { internalType: "bool[]", name: "_values", type: "bool[]" } ], name: "updateAllowedCollections", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_contracts", type: "address[]" }, { internalType: "bool[]", name: "_values", type: "bool[]" } ], name: "updateApprovedContracts", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_equip", type: "address" } ], name: "updateEquipment", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_collec", type: "address" }, { internalType: "address", name: "_extra", type: "address" } ], name: "updateExtraData", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_req", type: "uint256" } ], name: "updateGSReq", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_potion", type: "uint256" }, { internalType: "uint256", name: "_hp", type: "uint256" } ], name: "updateHeal", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_logic", type: "address" } ], name: "updateLogic", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_loot", type: "address" } ], name: "updateLoot", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_lottery", type: "address" } ], name: "updateLottery", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_length", type: "uint256" } ], name: "updateSeasonLength", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_count", type: "uint256" } ], name: "updateTierCount", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_slice", type: "uint256" }, { internalType: "uint256", name: "_ron", type: "uint256" } ], name: "updateTierSliceAndRonCost", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_trait", type: "address" } ], name: "updateTrait", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "updateTreasury", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vx", type: "uint256[]" } ], name: "upgradeVxLvl", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vx", outputs: [ { internalType: "contract ERC721x", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "vxActionTimestamp", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "vxXp", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var JUNGLE_ADVENTURE_V2 = { name: "Jungle Adventure V2", address: "0xf76af97c6b38de19a3ebbb7be7a758129d425281", is_deprecated: false, created_at: 1722884495, abi: abi197 }; var jungle_adventure_v2_default = JUNGLE_ADVENTURE_V2; // src/contracts/jungle_adventure_v2_proxy.ts var abi198 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var JUNGLE_ADVENTURE_V2_PROXY = { name: "Jungle Adventure V2 Proxy", address: "0x0a9e7795ab1d691986b8f944f99560a7ed9e0708", is_deprecated: false, created_at: 1711311665, abi: abi198 }; var jungle_adventure_v2_proxy_default = JUNGLE_ADVENTURE_V2_PROXY; // src/contracts/jungle_logic.ts var abi199 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { components: [ { internalType: "uint256", name: "chance", type: "uint256" }, { internalType: "uint256", name: "min", type: "uint256" }, { internalType: "uint256", name: "max", type: "uint256" }, { internalType: "uint256", name: "minChance", type: "uint256" }, { internalType: "uint256", name: "maxChance", type: "uint256" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "penalty", type: "uint256" }, { internalType: "uint256", name: "kongiumFallback", type: "uint256" } ], internalType: "struct JungleLogic.GameEncounterParam", name: "_encounter", type: "tuple" }, { internalType: "bool", name: "_enable", type: "bool" } ], name: "addEncounter", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { components: [ { internalType: "uint256", name: "eventType", type: "uint256" }, { internalType: "uint256", name: "level", type: "uint256" }, { internalType: "uint256", name: "hp", type: "uint256" }, { internalType: "uint256", name: "gs", type: "uint256" }, { internalType: "uint256", name: "kongiumFallback", type: "uint256" }, { internalType: "uint256", name: "chance", type: "uint256" }, { internalType: "address", name: "tokenReward", type: "address" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct JungleLogic.GameEventParam", name: "_event", type: "tuple" }, { internalType: "bool", name: "_enable", type: "bool" } ], name: "addEvent", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "authorised", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_eventId", type: "uint256" } ], name: "disableEncounter", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_eventId", type: "uint256" } ], name: "disableEvent", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_eventId", type: "uint256" }, { components: [ { internalType: "uint256", name: "chance", type: "uint256" }, { internalType: "uint256", name: "min", type: "uint256" }, { internalType: "uint256", name: "max", type: "uint256" }, { internalType: "uint256", name: "minChance", type: "uint256" }, { internalType: "uint256", name: "maxChance", type: "uint256" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "penalty", type: "uint256" }, { internalType: "uint256", name: "kongiumFallback", type: "uint256" } ], internalType: "struct JungleLogic.GameEncounterParam", name: "_encounter", type: "tuple" } ], name: "editEncounterParams", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_eventId", type: "uint256" }, { components: [ { internalType: "uint256", name: "eventType", type: "uint256" }, { internalType: "uint256", name: "level", type: "uint256" }, { internalType: "uint256", name: "hp", type: "uint256" }, { internalType: "uint256", name: "gs", type: "uint256" }, { internalType: "uint256", name: "kongiumFallback", type: "uint256" }, { internalType: "uint256", name: "chance", type: "uint256" }, { internalType: "address", name: "tokenReward", type: "address" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct JungleLogic.GameEventParam", name: "_event", type: "tuple" } ], name: "editEventParams", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_eventId", type: "uint256" } ], name: "enableEncounter", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_eventId", type: "uint256" } ], name: "enableEvent", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_start", type: "uint256" }, { internalType: "uint256", name: "_end", type: "uint256" } ], name: "getEncountertInfo", outputs: [ { components: [ { internalType: "bool", name: "hasIndex", type: "bool" }, { internalType: "uint24", name: "minSuccessChance", type: "uint24" }, { internalType: "uint24", name: "maxSuccessChance", type: "uint24" }, { internalType: "uint16", name: "gsMin", type: "uint16" }, { internalType: "uint16", name: "gsMax", type: "uint16" }, { internalType: "uint16", name: "penalty", type: "uint16" }, { internalType: "uint16", name: "kongiumFallback", type: "uint16" }, { internalType: "uint24", name: "chance", type: "uint24" }, { internalType: "address", name: "tokenReward", type: "address" }, { internalType: "uint256", name: "reward", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct JungleLogic.GameEncounterInfo[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "uint256", name: "_start", type: "uint256" }, { internalType: "uint256", name: "_end", type: "uint256" } ], name: "getEventInfo", outputs: [ { components: [ { internalType: "bool", name: "hasIndex", type: "bool" }, { internalType: "uint8", name: "eventType", type: "uint8" }, { internalType: "uint8", name: "levelRequirement", type: "uint8" }, { internalType: "uint16", name: "hpRequirement", type: "uint16" }, { internalType: "uint16", name: "gearScoreRequirement", type: "uint16" }, { internalType: "uint24", name: "kongiumFallback", type: "uint24" }, { internalType: "uint24", name: "chance", type: "uint24" }, { internalType: "address", name: "tokenReward", type: "address" }, { internalType: "uint128", name: "reward", type: "uint128" }, { internalType: "uint128", name: "amount", type: "uint128" } ], internalType: "struct JungleLogic.GameEventInfo[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_currentLevel", type: "uint256" } ], name: "getReqForLvl", outputs: [ { internalType: "uint256", name: "exp", type: "uint256" }, { internalType: "uint256", name: "kongium", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_seed", type: "uint256" }, { internalType: "uint256", name: "__gearScore", type: "uint256" }, { internalType: "uint256", name: "_currentHp", type: "uint256" }, { internalType: "uint256", name: "__level", type: "uint256" }, { internalType: "uint256", name: "_tier", type: "uint256" }, { internalType: "address", name: "_lootHolder", type: "address" } ], name: "run", outputs: [ { components: [ { internalType: "bool", name: "eventSuccess", type: "bool" }, { internalType: "uint8", name: "state", type: "uint8" }, { internalType: "uint8", name: "tier", type: "uint8" }, { internalType: "uint8", name: "encounterId", type: "uint8" }, { internalType: "uint8", name: "deductedHp", type: "uint8" }, { internalType: "uint16", name: "expEarned", type: "uint16" }, { internalType: "uint24", name: "kongiumEarned", type: "uint24" }, { internalType: "uint24", name: "fallbackKongium", type: "uint24" }, { internalType: "uint16", name: "eventData", type: "uint16" } ], internalType: "struct IJungleLogic.GameData", name: "gameData", type: "tuple" }, { components: [ { internalType: "uint8", name: "extraExp", type: "uint8" }, { internalType: "uint24", name: "extraKongium", type: "uint24" }, { internalType: "uint24", name: "fallbackKongium", type: "uint24" }, { internalType: "address[2]", name: "rewardAddress", type: "address[2]" }, { internalType: "uint256[2]", name: "tokenId", type: "uint256[2]" }, { internalType: "uint256[2]", name: "amounts", type: "uint256[2]" } ], internalType: "struct IJungleLogic.RewardData", name: "data", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "bool", name: "_val", type: "bool" } ], name: "setAuthorised", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierEnabledEncounterCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierEnabledEventCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierEncounterChanceMapping", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierEncounterCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierEventChanceMapping", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierEventCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierGameEncounterIdToIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierGameEncounterQueue", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierGameEncounters", outputs: [ { internalType: "uint256", name: "l1", type: "uint256" }, { internalType: "uint256", name: "l2", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierGameEventIdToIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierGameEventQueue", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tierGameEvents", outputs: [ { internalType: "uint256", name: "l1", type: "uint256" }, { internalType: "uint256", name: "l2", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierMaxChanceCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tierMaxChanceEncounterCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" } ]; var JUNGLE_LOGIC = { name: "Jungle Logic", address: "0x7dd814c6408382977ae85ed69ee8a81da5886be7", is_deprecated: false, created_at: 1728040431, abi: abi199 }; var jungle_logic_default = JUNGLE_LOGIC; // src/contracts/jungle_lottery.ts var abi200 = [ { inputs: [], name: "ErrNotAuthorized", type: "error" }, { inputs: [], name: "ErrNotVXOwner", type: "error" }, { inputs: [], name: "ErrSeason", type: "error" }, { inputs: [], name: "ErrWrongState", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: true, internalType: "uint256", name: "season", type: "uint256" }, { indexed: false, internalType: "uint256[100]", name: "winningVx", type: "uint256[100]" } ], name: "VxWinners", type: "event" }, { inputs: [ { internalType: "uint256", name: "_season", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "addToSeasonReward", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "adventure", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "authorised", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_vx", type: "uint256" } ], name: "claim", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "claim", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "entrants", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "getPayouts", outputs: [ { internalType: "uint256[]", name: "_payouts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "hashToSeason", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_adventure", type: "address" }, { internalType: "address", name: "_vx", type: "address" }, { internalType: "address", name: "_slice", type: "address" }, { internalType: "address", name: "_vrfCoordinator", type: "address" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "payouts", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_season", type: "uint256" }, { internalType: "uint256[100]", name: "_vxs", type: "uint256[100]" }, { internalType: "uint256", name: "_rngSource", type: "uint256" } ], name: "register", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_season", type: "uint256" } ], name: "requestRandomness", stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "rngSourcePreSelection", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_season", type: "uint256" } ], name: "roll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seasonRewards", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seasonState", outputs: [ { internalType: "enum LState", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "seeds", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "bool", name: "_val", type: "bool" } ], name: "setAuthorised", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_season", type: "uint256" } ], name: "simulate", outputs: [ { internalType: "uint256[100]", name: "results", type: "uint256[100]" }, { internalType: "uint256", name: "prize", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "slice", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vx", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var JUNGLE_LOTTERY = { name: "Jungle Lottery", address: "0xe68854b64e2b8334291541763f90140cad0834b8", is_deprecated: false, created_at: 1711312184, abi: abi200 }; var jungle_lottery_default = JUNGLE_LOTTERY; // src/contracts/jungle_lottery_proxy.ts var abi201 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var JUNGLE_LOTTERY_PROXY = { name: "Jungle Lottery Proxy", address: "0x083a79beeafc368a8c97df63726ed54cdb26556a", is_deprecated: false, created_at: 1711312190, abi: abi201 }; var jungle_lottery_proxy_default = JUNGLE_LOTTERY_PROXY; // src/contracts/jungle_shop_proxy.ts var abi202 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var JUNGLE_SHOP_PROXY = { name: "Jungle Shop Proxy", address: "0xe206b322fe38eda3df95558e80d877a9e98bdc1a", is_deprecated: false, created_at: 1710943490, abi: abi202 }; var jungle_shop_proxy_default = JUNGLE_SHOP_PROXY; // src/contracts/kalodium.ts var abi203 = [ { inputs: [ { internalType: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_burner", type: "address" }, { indexed: false, internalType: "bool", name: "_status", type: "bool" } ], name: "burnerUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_burner", type: "address" }, { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "kalodiumBurnt", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "kalodiumMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_manager", type: "address" }, { indexed: false, internalType: "bool", name: "_status", type: "bool" } ], name: "managerUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" }, { indexed: false, internalType: "bool", name: "_status", type: "bool" } ], name: "minterUpdated", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_accounts", type: "address[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "batchBurnKalodium", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_accounts", type: "address[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "batchMintKalodium", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burnKalodium", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "burner", type: "address" } ], name: "burners", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "manager", type: "address" } ], name: "managers", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mintKalodium", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "minters", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_burner", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "setBurner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_manager", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "setManager", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_minter", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "setMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var KALODIUM = { name: "Kalodium", address: "0x35a9045f345671162debb8eb17092bf6a1e07cdb", is_deprecated: false, created_at: 1722089092, abi: abi203 }; var kalodium_default = KALODIUM; // src/contracts/kalodium_gacha.ts var abi204 = [ { inputs: [ { internalType: "uint256", name: "_gachaPrice", type: "uint256" }, { internalType: "uint256", name: "_dailyRedeemAmount", type: "uint256" }, { internalType: "address", name: "_kalodiumAddress", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_manager", type: "address" }, { indexed: false, internalType: "address", name: "_newKalodium", type: "address" } ], name: "kalodiumUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_player", type: "address" }, { indexed: false, internalType: "bytes32", name: "_paymentHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "_price", type: "uint256" } ], name: "playedGacha", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_manager", type: "address" }, { indexed: false, internalType: "uint256", name: "_newPrice", type: "uint256" } ], name: "priceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_manager", type: "address" }, { indexed: false, internalType: "uint256", name: "_newPrice", type: "uint256" } ], name: "redeemAmountUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_player", type: "address" }, { indexed: false, internalType: "uint256", name: "_unixTs", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "redeemedDaily", type: "event" }, { inputs: [], name: "dailyRedeemAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "gachaPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "kalodium", outputs: [ { internalType: "contract IKalodium", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "lastClaimTs", outputs: [ { internalType: "uint256", name: "unixTs", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "paymentCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_paymentHash", type: "bytes32" } ], name: "playGacha", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "", type: "bytes32" } ], name: "proofOfPayment", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "redeemDaily", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newAmount", type: "uint256" } ], name: "setDailyRedeemAmount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newAddress", type: "address" } ], name: "setKalodiumAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setPrice", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var KALODIUM_GACHA = { name: "Kalodium Gacha", address: "0x2b7e3ddd371f4593d3d488e2eff14381d1d3ec58", is_deprecated: false, created_at: 1722089098, abi: abi204 }; var kalodium_gacha_default = KALODIUM_GACHA; // src/contracts/kalodium_gacha_proxy.ts var abi205 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var KALODIUM_GACHA_PROXY = { name: "Kalodium Gacha Proxy", address: "0xd97c9707528141b3b505eec03ee90aebf055a901", is_deprecated: false, created_at: 1728416721, abi: abi205 }; var kalodium_gacha_proxy_default = KALODIUM_GACHA_PROXY; // src/contracts/katana_factory.ts var abi206 = [ { inputs: [ { internalType: "address", name: "_treasury", type: "address" }, { internalType: "address", name: "_pairImplementation", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_token0", type: "address" }, { indexed: true, internalType: "address", name: "_token1", type: "address" }, { indexed: false, internalType: "address", name: "_pair", type: "address" }, { indexed: false, internalType: "uint256", name: "_allPairsLength", type: "uint256" } ], name: "PairCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "PairProxyUpdated", type: "event" }, { constant: true, inputs: [], name: "INIT_CODE_PAIR_HASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "allPairs", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "allPairsLength", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "allowedAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_tokenA", type: "address" }, { internalType: "address", name: "_tokenB", type: "address" } ], name: "createPair", outputs: [ { internalType: "address", name: "_pair", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "getPair", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pairImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "_allowedAll", type: "bool" } ], name: "setAllowedAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_pairImplementation", type: "address" } ], name: "setPairImplementation", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "setTreasury", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var KATANA_FACTORY = { name: "Katana Factory", address: "0xb255d6a720bb7c39fee173ce22113397119cb930", is_deprecated: false, created_at: 1635154968, abi: abi206 }; var katana_factory_default = KATANA_FACTORY; // src/contracts/katana_governance_proxy.ts var abi207 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var KATANA_GOVERNANCE_PROXY = { name: "Katana Governance Proxy", address: "0x2c1726346d83cbf848bd3c2b208ec70d32a9e44a", is_deprecated: false, created_at: 1716205744, abi: abi207 }; var katana_governance_proxy_default = KATANA_GOVERNANCE_PROXY; // src/contracts/katana_pair.ts var abi208 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_sender", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount0", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_amount1", type: "uint256" }, { indexed: true, internalType: "address", name: "_to", type: "address" } ], name: "Burn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_sender", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount0", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_amount1", type: "uint256" } ], name: "Mint", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_sender", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount0In", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_amount1In", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_amount0Out", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_amount1Out", type: "uint256" }, { indexed: true, internalType: "address", name: "_to", type: "address" } ], name: "Swap", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint112", name: "_reserve0", type: "uint112" }, { indexed: false, internalType: "uint112", name: "_reserve1", type: "uint112" } ], name: "Sync", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "RON_RELEASE_BLOCK", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "WRON", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" } ], name: "burn", outputs: [ { internalType: "uint256", name: "_amount0", type: "uint256" }, { internalType: "uint256", name: "_amount1", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getReserves", outputs: [ { internalType: "uint112", name: "", type: "uint112" }, { internalType: "uint112", name: "", type: "uint112" }, { internalType: "uint32", name: "", type: "uint32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_token0", type: "address" }, { internalType: "address", name: "_token1", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" } ], name: "initialize", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_liquidity", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" } ], name: "skim", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amount0Out", type: "uint256" }, { internalType: "uint256", name: "_amount1Out", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "swap", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "sync", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" } ]; var KATANA_PAIR = { name: "Katana Pair", address: "0x0af2cd30a569b0014fc6eb4e2f911902917590d2", is_deprecated: false, created_at: 1643278508, abi: abi208 }; var katana_pair_default = KATANA_PAIR; // src/contracts/katana_pair_proxy.ts var abi209 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "removeAdmin", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", stateMutability: "nonpayable", type: "function" } ]; var KATANA_PAIR_PROXY = { name: "Katana Pair Proxy", address: "0x80ea8489ae1f3f389af94bc3b95e461a6c19dd20", is_deprecated: false, created_at: 1729074639, abi: abi209 }; var katana_pair_proxy_default = KATANA_PAIR_PROXY; // src/contracts/katana_router.ts var abi210 = [ { inputs: [ { internalType: "address", name: "_factory", type: "address" }, { internalType: "address", name: "_WRON", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "WRON", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_tokenA", type: "address" }, { internalType: "address", name: "_tokenB", type: "address" }, { internalType: "uint256", name: "_amountADesired", type: "uint256" }, { internalType: "uint256", name: "_amountBDesired", type: "uint256" }, { internalType: "uint256", name: "_amountAMin", type: "uint256" }, { internalType: "uint256", name: "_amountBMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "addLiquidity", outputs: [ { internalType: "uint256", name: "_amountA", type: "uint256" }, { internalType: "uint256", name: "_amountB", type: "uint256" }, { internalType: "uint256", name: "_liquidity", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_amountTokenDesired", type: "uint256" }, { internalType: "uint256", name: "_amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "_amountRONMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "addLiquidityRON", outputs: [ { internalType: "uint256", name: "_amountToken", type: "uint256" }, { internalType: "uint256", name: "_amountRON", type: "uint256" }, { internalType: "uint256", name: "_liquidity", type: "uint256" } ], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_amountOut", type: "uint256" }, { internalType: "uint256", name: "_reserveIn", type: "uint256" }, { internalType: "uint256", name: "_reserveOut", type: "uint256" } ], name: "getAmountIn", outputs: [ { internalType: "uint256", name: "_amountIn", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_amountIn", type: "uint256" }, { internalType: "uint256", name: "_reserveIn", type: "uint256" }, { internalType: "uint256", name: "_reserveOut", type: "uint256" } ], name: "getAmountOut", outputs: [ { internalType: "uint256", name: "_amountOut", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_amountOut", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" } ], name: "getAmountsIn", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_amountIn", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" } ], name: "getAmountsOut", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_amountA", type: "uint256" }, { internalType: "uint256", name: "_reserveA", type: "uint256" }, { internalType: "uint256", name: "_reserveB", type: "uint256" } ], name: "quote", outputs: [ { internalType: "uint256", name: "_amountB", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_tokenA", type: "address" }, { internalType: "address", name: "_tokenB", type: "address" }, { internalType: "uint256", name: "_liquidity", type: "uint256" }, { internalType: "uint256", name: "_amountAMin", type: "uint256" }, { internalType: "uint256", name: "_amountBMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "removeLiquidity", outputs: [ { internalType: "uint256", name: "_amountA", type: "uint256" }, { internalType: "uint256", name: "_amountB", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_liquidity", type: "uint256" }, { internalType: "uint256", name: "_amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "_amountRONMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "removeLiquidityRON", outputs: [ { internalType: "uint256", name: "_amountToken", type: "uint256" }, { internalType: "uint256", name: "_amountRON", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_liquidity", type: "uint256" }, { internalType: "uint256", name: "_amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "_amountRONMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "removeLiquidityRONSupportingFeeOnTransferTokens", outputs: [ { internalType: "uint256", name: "_amountRON", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_liquidity", type: "uint256" }, { internalType: "uint256", name: "_amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "_amountRONMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" }, { internalType: "bool", name: "_approveMax", type: "bool" }, { internalType: "uint8", name: "_v", type: "uint8" }, { internalType: "bytes32", name: "_r", type: "bytes32" }, { internalType: "bytes32", name: "_s", type: "bytes32" } ], name: "removeLiquidityRONWithPermit", outputs: [ { internalType: "uint256", name: "_amountToken", type: "uint256" }, { internalType: "uint256", name: "_amountRON", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint256", name: "_liquidity", type: "uint256" }, { internalType: "uint256", name: "_amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "_amountRONMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" }, { internalType: "bool", name: "_approveMax", type: "bool" }, { internalType: "uint8", name: "_v", type: "uint8" }, { internalType: "bytes32", name: "_r", type: "bytes32" }, { internalType: "bytes32", name: "_s", type: "bytes32" } ], name: "removeLiquidityRONWithPermitSupportingFeeOnTransferTokens", outputs: [ { internalType: "uint256", name: "_amountRON", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_tokenA", type: "address" }, { internalType: "address", name: "_tokenB", type: "address" }, { internalType: "uint256", name: "_liquidity", type: "uint256" }, { internalType: "uint256", name: "_amountAMin", type: "uint256" }, { internalType: "uint256", name: "_amountBMin", type: "uint256" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" }, { internalType: "bool", name: "_approveMax", type: "bool" }, { internalType: "uint8", name: "_v", type: "uint8" }, { internalType: "bytes32", name: "_r", type: "bytes32" }, { internalType: "bytes32", name: "_s", type: "bytes32" } ], name: "removeLiquidityWithPermit", outputs: [ { internalType: "uint256", name: "_amountA", type: "uint256" }, { internalType: "uint256", name: "_amountB", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountOutMin", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapExactRONForTokens", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountOutMin", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapExactRONForTokensSupportingFeeOnTransferTokens", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountIn", type: "uint256" }, { internalType: "uint256", name: "_amountOutMin", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapExactTokensForRON", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountIn", type: "uint256" }, { internalType: "uint256", name: "_amountOutMin", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapExactTokensForRONSupportingFeeOnTransferTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountIn", type: "uint256" }, { internalType: "uint256", name: "_amountOutMin", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapExactTokensForTokens", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountIn", type: "uint256" }, { internalType: "uint256", name: "_amountOutMin", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapExactTokensForTokensSupportingFeeOnTransferTokens", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountOut", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapRONForExactTokens", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountOut", type: "uint256" }, { internalType: "uint256", name: "_amountInMax", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapTokensForExactRON", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amountOut", type: "uint256" }, { internalType: "uint256", name: "_amountInMax", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" } ], name: "swapTokensForExactTokens", outputs: [ { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], payable: false, stateMutability: "nonpayable", type: "function" } ]; var KATANA_ROUTER = { name: "Katana Router", address: "0x7d0556d55ca1a92708681e2e231733ebd922597d", is_deprecated: true, created_at: 1635154971, abi: abi210 }; var katana_router_default = KATANA_ROUTER; // src/contracts/katana_twap_oracle.ts var abi211 = [ { inputs: [ { internalType: "address", name: "_router", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newAdmin", type: "address" }, { indexed: true, internalType: "address", name: "previousAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { constant: true, inputs: [], name: "baseDecimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "getUnderlyingDecimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "contract CTokenInterface", name: "cToken", type: "address" } ], name: "getUnderlyingPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "router", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "setAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "address", name: "input", type: "address" }, { internalType: "address", name: "output", type: "address" } ], name: "setKatanaPair", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var KATANA_TWAP_ORACLE = { name: "Katana TWAP Oracle", address: "0x3ea08443db91f3cbf1fbcad2b2d1ca3f4c582fbf", is_deprecated: false, created_at: 1684958659, abi: abi211 }; var katana_twap_oracle_default = KATANA_TWAP_ORACLE; // src/contracts/kong_consumable.ts var abi212 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "_supplies", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "authorisedCallers", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseUri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burnFor", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "locked", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "mintFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mintFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonTransferable", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_caller", type: "address" }, { internalType: "bool", name: "_value", type: "bool" } ], name: "setCaller", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "bool", name: "_lock", type: "bool" } ], name: "setLock", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "bool", name: "_lock", type: "bool" } ], name: "setNonTransfer", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "string", name: "_uri_", type: "string" } ], name: "setUri", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_uri_", type: "string" } ], name: "updateBaseUri", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "uris", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var KONG_CONSUMABLE = { name: "Kong Consumable", address: "0xee91b66175e95ee06c8c8eca196f6d807c03551c", is_deprecated: false, created_at: 1710932363, abi: abi212 }; var kong_consumable_default = KONG_CONSUMABLE; // src/contracts/kong_consumable_proxy.ts var abi213 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var KONG_CONSUMABLE_PROXY = { name: "Kong Consumable Proxy", address: "0x9467ed740f52437ba7eaf65e29354ef0f7a8855d", is_deprecated: false, created_at: 1710932369, abi: abi213 }; var kong_consumable_proxy_default = KONG_CONSUMABLE_PROXY; // src/contracts/kong_redeemer_proxy.ts var abi214 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var KONG_REDEEMER_PROXY = { name: "Kong Redeemer Proxy", address: "0x644a6d2aa3abeec944c874260d64805ed262eb4c", is_deprecated: false, created_at: 1711197731, abi: abi214 }; var kong_redeemer_proxy_default = KONG_REDEEMER_PROXY; // src/contracts/kongz_extra_data_proxy.ts var abi215 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var KONGZ_EXTRA_DATA_PROXY = { name: "Kongz Extra Data Proxy", address: "0x57cd000b215b0a93f01e6ac47dd992a8361d9ad9", is_deprecated: false, created_at: 1710943454, abi: abi215 }; var kongz_extra_data_proxy_default = KONGZ_EXTRA_DATA_PROXY; // src/contracts/kongz_mart_raffle.ts var abi216 = [ { inputs: [], name: "ErrAlreadyRefunded", type: "error" }, { inputs: [], name: "ErrArrLengthMismatch", type: "error" }, { inputs: [], name: "ErrClaimPaused", type: "error" }, { inputs: [], name: "ErrFulfilled", type: "error" }, { inputs: [], name: "ErrNoIndexFound", type: "error" }, { inputs: [], name: "ErrNoRefund", type: "error" }, { inputs: [], name: "ErrNoRewardsLeft", type: "error" }, { inputs: [], name: "ErrNotVXorGenakaiHolder", type: "error" }, { inputs: [], name: "ErrRaffleNotResolved", type: "error" }, { inputs: [], name: "ErrRaffleResolved", type: "error" }, { inputs: [], name: "ErrWrongPlayer", type: "error" }, { inputs: [], name: "ErrWrongRewardType", type: "error" }, { inputs: [], name: "ErrWrongWinner", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "VRFReqHashToRaffleVRFData", outputs: [ { internalType: "bool", name: "fulfilled", type: "bool" }, { internalType: "uint256", name: "raffleId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "authorisedCallers", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "banana", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bool", name: "_isNoLoss", type: "bool" }, { internalType: "bool", name: "_isStopped", type: "bool" }, { internalType: "bool", name: "_isNFT", type: "bool" }, { internalType: "bool", name: "_isNative", type: "bool" }, { internalType: "bool", name: "_lockEnforced", type: "bool" }, { internalType: "uint128", name: "_minAmount", type: "uint128" }, { internalType: "uint256", name: "_numWinners", type: "uint256" }, { internalType: "uint256", name: "_startTs", type: "uint256" }, { internalType: "uint256", name: "_endTs", type: "uint256" } ], name: "createRaffle", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "genkaitoRaffleId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_raffleIds", type: "uint256[]" }, { internalType: "address", name: "_player", type: "address" } ], name: "getPlayerParticipationCounts", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" }, { internalType: "address", name: "_player", type: "address" }, { internalType: "uint256", name: "_startIndex", type: "uint256" }, { internalType: "uint256", name: "_maxLen", type: "uint256" } ], name: "getPlayerRaffleParticipations", outputs: [ { components: [ { internalType: "address", name: "player", type: "address" }, { internalType: "bool", name: "isRefunded", type: "bool" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "playerRangeMax", type: "uint256" } ], internalType: "struct KongzMartRaffle.ParticipationSlice[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" }, { internalType: "uint256", name: "_startIndex", type: "uint256" }, { internalType: "uint256", name: "_maxLen", type: "uint256" } ], name: "getRaffleParticipations", outputs: [ { components: [ { internalType: "address", name: "player", type: "address" }, { internalType: "bool", name: "isRefunded", type: "bool" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "playerRangeMax", type: "uint256" } ], internalType: "struct KongzMartRaffle.ParticipationSlice[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" } ], name: "getRaffleWinners", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "getRaffles", outputs: [ { components: [ { internalType: "bool", name: "isNoLoss", type: "bool" }, { internalType: "bool", name: "isStopped", type: "bool" }, { internalType: "bool", name: "isNFT", type: "bool" }, { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "bool", name: "lockEnforced", type: "bool" }, { internalType: "bool", name: "finalized", type: "bool" }, { internalType: "uint128", name: "minAmount", type: "uint128" }, { internalType: "uint256", name: "winnerAmount", type: "uint256" }, { internalType: "bytes32", name: "VRFReqHash", type: "bytes32" }, { internalType: "uint256", name: "startTs", type: "uint256" }, { internalType: "uint256", name: "endTs", type: "uint256" }, { internalType: "uint256", name: "participationsCount", type: "uint256" }, { internalType: "uint256", name: "totalAmount", type: "uint256" }, { internalType: "uint256", name: "seed", type: "uint256" } ], internalType: "struct KongzMartRaffle.Raffle[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256[]", name: "_raffleId", type: "uint256[]" } ], name: "getUserRaffleTicketIds", outputs: [ { internalType: "uint256[][]", name: "", type: "uint256[][]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "getWinnerIds", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_banana", type: "address" }, { internalType: "address", name: "_vrfCoordinator", type: "address" }, { internalType: "address", name: "_genkai", type: "address" }, { internalType: "address", name: "_vx", type: "address" }, { internalType: "address", name: "_treasury", type: "address" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "lockedEnumPerUser", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_genkaiId", type: "uint256" }, { internalType: "uint256", name: "_vxId", type: "uint256" } ], name: "participateToRaffle", stateMutability: "payable", type: "function" }, { inputs: [], name: "raffleCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "raffleIndexWinners", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "raffleParticipations", outputs: [ { internalType: "address", name: "player", type: "address" }, { internalType: "bool", name: "isRefunded", type: "bool" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "playerRangeMax", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "raffleUserParticipations", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "raffleUserParticipationsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "raffleWinners", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "raffleWinnersArr", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "raffles", outputs: [ { internalType: "bool", name: "isNoLoss", type: "bool" }, { internalType: "bool", name: "isStopped", type: "bool" }, { internalType: "bool", name: "isNFT", type: "bool" }, { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "bool", name: "lockEnforced", type: "bool" }, { internalType: "bool", name: "finalized", type: "bool" }, { internalType: "uint128", name: "minAmount", type: "uint128" }, { internalType: "uint256", name: "winnerAmount", type: "uint256" }, { internalType: "bytes32", name: "VRFReqHash", type: "bytes32" }, { internalType: "uint256", name: "startTs", type: "uint256" }, { internalType: "uint256", name: "endTs", type: "uint256" }, { internalType: "uint256", name: "participationsCount", type: "uint256" }, { internalType: "uint256", name: "totalAmount", type: "uint256" }, { internalType: "uint256", name: "seed", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" } ], name: "refundLostRaffle", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_tokenTypes", type: "uint256[]" }, { internalType: "address[]", name: "_tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_tokenAmounts", type: "uint256[]" } ], name: "rescueAssets", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" } ], name: "resolveRaffleStep1", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" }, { internalType: "uint256[]", name: "_winnerIndexes", type: "uint256[]" } ], name: "resolveRaffleStep2", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_caller", type: "address" }, { internalType: "bool", name: "_value", type: "bool" } ], name: "setCaller", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "setTreasury", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bool", name: "_value", type: "bool" } ], name: "togglePause", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "totalLockedPerUser", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unlockAssets", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_startIndex", type: "uint256" } ], name: "unlockGenkai", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_startIndex", type: "uint256" } ], name: "unlockVx", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_raffleId", type: "uint256" }, { internalType: "bool", name: "_isNoLoss", type: "bool" }, { internalType: "bool", name: "_isStopped", type: "bool" }, { internalType: "bool", name: "_isNFT", type: "bool" }, { internalType: "bool", name: "_isNative", type: "bool" }, { internalType: "bool", name: "_lockEnforced", type: "bool" }, { internalType: "uint128", name: "_minAmount", type: "uint128" }, { internalType: "uint256", name: "_numWinners", type: "uint256" }, { internalType: "uint256", name: "_startTs", type: "uint256" }, { internalType: "uint256", name: "_endTs", type: "uint256" } ], name: "updateRaffle", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "userRaffleTicketIds", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_len", type: "uint256" } ], name: "viewGenkaiLockedPerUser", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_len", type: "uint256" } ], name: "viewVxLockerPerUser", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "vxLockedEnumPerUser", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "vxToRaffleId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "vxTotalLockedPerUser", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "winnerIDCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "winnerIDs", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var KONGZ_MART_RAFFLE = { name: "Kongz Mart Raffle", address: "0x71e4863fa46bee2f86bf80a2162b55143de06675", is_deprecated: false, created_at: 1729516817, abi: abi216 }; var kongz_mart_raffle_default = KONGZ_MART_RAFFLE; // src/contracts/kongz_mart_raffle_proxy.ts var abi217 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var KONGZ_MART_RAFFLE_PROXY = { name: "Kongz Mart Raffle Proxy", address: "0xc3a57fdc4e5e10642a555c2d1a01b56fa0ca85b7", is_deprecated: false, created_at: 1729516823, abi: abi217 }; var kongz_mart_raffle_proxy_default = KONGZ_MART_RAFFLE_PROXY; // src/contracts/kongz_mart_wl.ts var abi218 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner_", type: "address" }, { indexed: false, internalType: "address", name: "governor_", type: "address" }, { indexed: false, internalType: "bool", name: "bool_", type: "bool" } ], name: "GovernorManaged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner_", type: "address" }, { indexed: false, internalType: "address", name: "operator_", type: "address" }, { indexed: false, internalType: "bool", name: "bool_", type: "bool" } ], name: "OperatorManaged", 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: true, internalType: "address", name: "owner_", type: "address" }, { indexed: false, internalType: "bool", name: "bool_", type: "bool" } ], name: "RequireOwnershipManaged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner_", type: "address" }, { indexed: false, internalType: "address", name: "treasury_", type: "address" } ], name: "TreasuryManaged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner_", type: "address" }, { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], indexed: false, internalType: "struct KongzMartWL.VendingItem", name: "item_", type: "tuple" } ], name: "VendingItemAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner_", type: "address" }, { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], indexed: false, internalType: "struct KongzMartWL.VendingItem", name: "item_", type: "tuple" } ], name: "VendingItemGifted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner_", type: "address" }, { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], indexed: false, internalType: "struct KongzMartWL.VendingItem", name: "before_", type: "tuple" }, { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], indexed: false, internalType: "struct KongzMartWL.VendingItem", name: "after_", type: "tuple" } ], name: "VendingItemModified", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "buyer_", type: "address" }, { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], indexed: false, internalType: "struct KongzMartWL.VendingItem", name: "item_", type: "tuple" } ], name: "VendingItemPurchased", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner_", type: "address" }, { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], indexed: false, internalType: "struct KongzMartWL.VendingItem", name: "item_", type: "tuple" } ], name: "VendingItemRemoved", type: "event" }, { inputs: [], name: "BananaToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "GENKAI", outputs: [ { internalType: "contract IERC721", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "controller_", type: "address" }, { internalType: "bool", name: "bool_", type: "bool" } ], name: "G_manageController", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "KONGZVX", outputs: [ { internalType: "contract IERC721", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "governor_", type: "address" }, { internalType: "bool", name: "bool_", type: "bool" } ], name: "O_manageGovernor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "address_", type: "address" } ], name: "O_setBananaToken", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "address_", type: "address" } ], name: "O_setGENKAI", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "address_", type: "address" } ], name: "O_setKONGZVX", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "bool_", type: "bool" } ], name: "O_setRequireHoldGENKAI", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "bool_", type: "bool" } ], name: "O_setRequireHoldVx", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "address_", type: "address" } ], name: "O_settreasuryAddress", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], internalType: "struct KongzMartWL.VendingItem", name: "VendingItem_", type: "tuple" } ], name: "addVendingItem", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "controllers", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "deleteMostRecentVendingItem", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "purchaser_", type: "address" }, { internalType: "uint256[]", name: "indexes_", type: "uint256[]" } ], name: "getIndexToPurchasedBatch", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index_", type: "uint256" } ], name: "getPurchasersOfItem", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getVendingItemsAll", outputs: [ { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], internalType: "struct KongzMartWL.VendingItem[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getVendingItemsLength", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "start_", type: "uint256" }, { internalType: "uint256", name: "end_", type: "uint256" } ], name: "getVendingItemsPaginated", outputs: [ { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], internalType: "struct KongzMartWL.VendingItem[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "governors", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "indexToPurchased", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "indexToPurchasers", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_banana", type: "address" }, { internalType: "address", name: "_treasury", type: "address" }, { internalType: "address", name: "_vx", type: "address" }, { internalType: "address", name: "_genkai", type: "address" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "index_", type: "uint256" }, { components: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], internalType: "struct KongzMartWL.VendingItem", name: "VendingItem_", type: "tuple" } ], name: "modifyVendingItem", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index_", type: "uint256" } ], name: "purchaseVendingItem", stateMutability: "payable", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "requireHoldGENKAI", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "requireHoldVX", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "treasuryAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "vendingItems", outputs: [ { internalType: "bool", name: "isNativeToken", type: "bool" }, { internalType: "uint32", name: "amountAvailable", type: "uint32" }, { internalType: "uint32", name: "amountPurchased", type: "uint32" }, { internalType: "uint32", name: "startTime", type: "uint32" }, { internalType: "uint32", name: "endTime", type: "uint32" }, { internalType: "uint32", name: "tokenId", type: "uint32" }, { internalType: "uint256", name: "tokenPrice", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var KONGZ_MART_WL = { name: "Kongz Mart WL", address: "0x779126c613c98e462141ccacc15859b82d126872", is_deprecated: false, created_at: 1729516805, abi: abi218 }; var kongz_mart_wl_default = KONGZ_MART_WL; // src/contracts/kongz_mart_wl_proxy.ts var abi219 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var KONGZ_MART_WL_PROXY = { name: "Kongz Mart WL Proxy", address: "0xe313febf738dc0d3c50ff43add5c67fbd2cd1fd7", is_deprecated: false, created_at: 1729516811, abi: abi219 }; var kongz_mart_wl_proxy_default = KONGZ_MART_WL_PROXY; // src/contracts/land.ts var abi220 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "string", name: "_baseTokenURI", type: "string" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "decodeTokenId", outputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "estateData", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "_operator", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getEstateData", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" }, { internalType: "string", name: "_data", type: "string" } ], name: "setEstateData", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var LAND = { name: "Land", address: "0x8c811e3c958e190f5ec15fb376533a3398620500", is_deprecated: false, created_at: 1612169221, abi: abi220 }; var land_default = LAND; // src/contracts/land_delegation.ts var abi221 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrAlreadySteward", type: "error" }, { inputs: [], name: "ErrAssigneeNonZeroBalance", type: "error" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "landId", type: "uint256" } ], name: "ErrCannotTransferLand", type: "error" }, { inputs: [ { internalType: "uint256", name: "landId", type: "uint256" } ], name: "ErrDelegationNotFound", type: "error" }, { inputs: [], name: "ErrExceedsMaxBatchSize", type: "error" }, { inputs: [ { internalType: "uint256", name: "landId", type: "uint256" } ], name: "ErrInDelegationDuration", type: "error" }, { inputs: [ { internalType: "uint256", name: "landId", type: "uint256" } ], name: "ErrInRevokeCooldown", type: "error" }, { inputs: [], name: "ErrInvalidConfig", type: "error" }, { inputs: [], name: "ErrInvalidDuration", type: "error" }, { inputs: [], name: "ErrInvalidInput", type: "error" }, { inputs: [ { internalType: "uint256", name: "landId", type: "uint256" } ], name: "ErrLandAlreadyInDelegation", type: "error" }, { inputs: [ { internalType: "uint256", name: "landId", type: "uint256" } ], name: "ErrLandNotFound", type: "error" }, { inputs: [], name: "ErrSelfDelegation", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "min", type: "uint256" }, { indexed: true, internalType: "uint256", name: "max", type: "uint256" } ], name: "DelegateDurationRangeChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "landId", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "assignee", type: "address" }, { indexed: false, internalType: "uint256", name: "duration", type: "uint256" } ], name: "Delegated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IERC721", name: "newLandContract", type: "address" } ], name: "LandContractChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract ILandStakingPool", name: "newLandStaking", type: "address" } ], name: "LandStakingContractChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "landId", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" } ], name: "Retrieved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "newDuration", type: "uint256" } ], name: "RevokeCooldownDurationChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "landId", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" } ], name: "Revoked", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_landId", type: "uint256" }, { internalType: "address", name: "_assignee", type: "address" }, { internalType: "uint256", name: "_duration", type: "uint256" } ], name: "delegateLand", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_landIds", type: "uint256[]" }, { internalType: "address", name: "_assignee", type: "address" }, { internalType: "uint256[]", name: "_durations", type: "uint256[]" } ], name: "delegateLandBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "delegationAmountsMap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "delegationMap", outputs: [ { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "uint256", name: "assignedTimestamp", type: "uint256" }, { internalType: "address", name: "assignee", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "_owner", type: "address" }, { internalType: "contract IERC721", name: "_landContract", type: "address" }, { internalType: "uint256", name: "_revokeCooldownDuration", type: "uint256" }, { internalType: "uint256", name: "_minDelegateDuration", type: "uint256" }, { internalType: "uint256", name: "_maxDelegateDuration", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ILandStakingPool", name: "_landStakingContract", type: "address" } ], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_assignee", type: "address" } ], name: "isSteward", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "landContract", outputs: [ { internalType: "contract IERC721", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxDelegateDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minDelegateDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_landId", type: "uint256" } ], name: "retrieveLand", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_landIds", type: "uint256[]" } ], name: "retrieveLandBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "revokeCooldownDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_landId", type: "uint256" } ], name: "revokeLand", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_landIds", type: "uint256[]" } ], name: "revokeLandBatch", 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: "uint256", name: "_minDelegateDuration", type: "uint256" }, { internalType: "uint256", name: "_maxDelegateDuration", type: "uint256" } ], name: "setDelegateDurationRange", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC721", name: "_landContract", type: "address" } ], name: "setLandContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ILandStakingPool", name: "_landStakingContract", type: "address" } ], name: "setLandStakingContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_revokeCooldownDuration", type: "uint256" } ], name: "setRevokeCooldownDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "stewardMap", outputs: [ { internalType: "bool", name: "assigned", type: "bool" }, { internalType: "address", name: "landOwner", type: "address" }, { internalType: "uint256", name: "furthestExpiryTimestamp", type: "uint256" } ], stateMutability: "view", 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" } ]; var LAND_DELEGATION = { name: "Land Delegation", address: "0x0f514dbc18345e1109370d14c0562c92193f4281", is_deprecated: false, created_at: 1687317465, abi: abi221 }; var land_delegation_default = LAND_DELEGATION; // src/contracts/land_delegation_logic.ts var abi222 = [ { inputs: [], stateMutability: "payable", type: "constructor" }, { inputs: [], name: "AgreementExpiredOrNotYetStarted", type: "error" }, { inputs: [ { internalType: "address", name: "steward", type: "address" }, { internalType: "bytes32", name: "agreementHash", type: "bytes32" } ], name: "AlreadyAssignedFor", type: "error" }, { inputs: [], name: "AlreadyClaimed", type: "error" }, { inputs: [], name: "AlreadySubmited", type: "error" }, { inputs: [], name: "AlreadyTerminated", type: "error" }, { inputs: [], name: "ExceedsMaxLevel", type: "error" }, { inputs: [], name: "ExpiredAgreement", type: "error" }, { inputs: [], name: "FixedSalaryInvalidConfig", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "required", type: "uint256" } ], name: "InsufficientAmount", type: "error" }, { inputs: [], name: "InvalidConfig", type: "error" }, { inputs: [], name: "InvalidDuration", type: "error" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "InvalidOwnerOf", type: "error" }, { inputs: [], name: "InvalidRatio", type: "error" }, { inputs: [], name: "InvalidShortString", type: "error" }, { inputs: [ { internalType: "address", name: "signer", type: "address" } ], name: "InvalidSignature", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "NFTIsForbidden", type: "error" }, { inputs: [], name: "NativeValueShouldBeZero", type: "error" }, { inputs: [], name: "NullAddress", type: "error" }, { inputs: [], name: "OwnerIsSteward", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "PayoutTokenIsForbidden", type: "error" }, { inputs: [], name: "RatioExceedMaxPercentage", type: "error" }, { inputs: [], name: "RewardSharingInvalidConfig", type: "error" }, { inputs: [], name: "SignatureExpired", type: "error" }, { inputs: [ { internalType: "bytes", name: "signature", type: "bytes" } ], name: "SignatureUsed", type: "error" }, { inputs: [ { internalType: "string", name: "str", type: "string" } ], name: "StringTooLong", type: "error" }, { inputs: [], name: "TerminationTooEarly", type: "error" }, { inputs: [], name: "Unauthorized", type: "error" }, { inputs: [], name: "UnexistAgreement", type: "error" }, { inputs: [], name: "UnknownSteward", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "submitter", type: "address" }, { indexed: true, internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "depositAmount", type: "uint256" }, { indexed: false, internalType: "uint64", name: "endAt", type: "uint64" } ], name: "AgreementExtended", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "submitter", type: "address" }, { indexed: true, internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "enum ILandDelegationV2Struct.Payout", name: "payoutOption", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "extensionRule", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "earlyTermination", type: "uint8" }, { components: [ { internalType: "enum ILandDelegationV2Struct.RecipientOpt", name: "recipientOpt", type: "uint8" }, { internalType: "uint256", name: "ratio", type: "uint256" } ], internalType: "struct ILandDelegationV2Struct.Commission[]", name: "payouts", type: "tuple[]" }, { internalType: "uint256", name: "salary", type: "uint256" }, { internalType: "uint256", name: "level", type: "uint256" }, { internalType: "address", name: "payoutToken", type: "address" }, { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "acceptances", type: "address[]" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "string", name: "agreementCode", type: "string" } ], indexed: false, internalType: "struct ILandDelegationV2Struct.DelegationAgreement", name: "agreement", type: "tuple" } ], name: "AgreementSubmitted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "submitter", type: "address" }, { indexed: true, internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "terminatedAt", type: "uint256" } ], name: "AgreementTerminated", type: "event" }, { anonymous: false, inputs: [], name: "EIP712DomainChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "caller", type: "address" }, { indexed: true, internalType: "address", name: "payee", type: "address" }, { indexed: true, internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "payout", type: "uint256" } ], name: "EarningsClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint256", name: "maxLevel", type: "uint256" } ], name: "MaxLevelUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "refundAddr", type: "address" }, { indexed: true, internalType: "address", name: "payoutToken", type: "address" }, { indexed: false, internalType: "uint256", name: "refundAmount", type: "uint256" } ], name: "Refunded", 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: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint256", name: "newTerminationMinDuration", type: "uint256" } ], name: "TerminationMinDurationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: false, internalType: "bool", name: "isBlacklisted", type: "bool" } ], name: "TokenStatusUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NATIVE_TOKEN", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "eip712Domain", outputs: [ { internalType: "bytes1", name: "fields", type: "bytes1" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "version", type: "string" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "address", name: "verifyingContract", type: "address" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256[]", name: "extensions", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "uint64", name: "validUntil", type: "uint64" }, { internalType: "bytes", name: "approvalSig", type: "bytes" } ], name: "extendAgreement", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "getAgreementOf", outputs: [ { internalType: "bytes32", name: "agreementHash", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAllAgreementHashes", outputs: [ { internalType: "bytes32[]", name: "agreementHashes", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "steward", type: "address" } ], name: "getAssignedAgreements", outputs: [ { internalType: "bytes32[]", name: "agreementHashes", type: "bytes32[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "agreementHash", type: "bytes32" } ], name: "getCurrentState", outputs: [ { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "enum ILandDelegationV2Struct.Payout", name: "payoutOption", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "extensionRule", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "earlyTermination", type: "uint8" }, { internalType: "uint64", name: "terminatedAt", type: "uint64" }, { internalType: "uint64", name: "submittedAt", type: "uint64" }, { internalType: "address", name: "steward", type: "address" }, { internalType: "uint64", name: "endAt", type: "uint64" }, { internalType: "address", name: "payoutToken", type: "address" }, { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256", name: "salary", type: "uint256" }, { internalType: "uint256", name: "released", type: "uint256" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], internalType: "struct ILandDelegationV2Struct.RealTimeAgreement", name: "realTimeAgreement", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaxLevel", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "enum ILandDelegationV2Struct.Payout", name: "payoutOption", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "extensionRule", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "earlyTermination", type: "uint8" }, { components: [ { internalType: "enum ILandDelegationV2Struct.RecipientOpt", name: "recipientOpt", type: "uint8" }, { internalType: "uint256", name: "ratio", type: "uint256" } ], internalType: "struct ILandDelegationV2Struct.Commission[]", name: "payouts", type: "tuple[]" }, { internalType: "uint256", name: "salary", type: "uint256" }, { internalType: "uint256", name: "level", type: "uint256" }, { internalType: "address", name: "payoutToken", type: "address" }, { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "acceptances", type: "address[]" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "string", name: "agreementCode", type: "string" } ], internalType: "struct ILandDelegationV2Struct.DelegationAgreement", name: "agreement", type: "tuple" } ], name: "getStructAgreementHash", outputs: [ { internalType: "bytes32", name: "structHash", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "uint256", name: "depositAmount", type: "uint256" }, { internalType: "uint64", name: "validUntil", type: "uint64" } ], name: "getStructExtendAgreementHash", outputs: [ { internalType: "bytes32", name: "structHash", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { internalType: "uint64", name: "validUntil", type: "uint64" } ], name: "getStructTerminateAgreementHash", outputs: [ { internalType: "bytes32", name: "structHash", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "getTerminationMinDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "getTokenStatus", outputs: [ { internalType: "bool", name: "isBlacklisted", type: "bool" } ], 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: "admin", type: "address" }, { internalType: "uint256", name: "maxLevel", type: "uint256" }, { internalType: "uint256", name: "terminationMinDuration", type: "uint256" }, { internalType: "address[]", name: "pausers", type: "address[]" }, { internalType: "address[]", name: "operators", type: "address[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "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: "uint256", name: "maxLevel", type: "uint256" } ], name: "setMaxLevel", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "terminationMinDuration", type: "uint256" } ], name: "setTerminationMinDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "bool", name: "shouldBlacklist", type: "bool" } ], name: "setTokenStatus", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "enum ILandDelegationV2Struct.Payout", name: "payoutOption", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "extensionRule", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "earlyTermination", type: "uint8" }, { components: [ { internalType: "enum ILandDelegationV2Struct.RecipientOpt", name: "recipientOpt", type: "uint8" }, { internalType: "uint256", name: "ratio", type: "uint256" } ], internalType: "struct ILandDelegationV2Struct.Commission[]", name: "payouts", type: "tuple[]" }, { internalType: "uint256", name: "salary", type: "uint256" }, { internalType: "uint256", name: "level", type: "uint256" }, { internalType: "address", name: "payoutToken", type: "address" }, { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "acceptances", type: "address[]" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "string", name: "agreementCode", type: "string" } ], internalType: "struct ILandDelegationV2Struct.DelegationAgreement", name: "agreement", type: "tuple" }, { internalType: "address", name: "steward", type: "address" }, { internalType: "bytes", name: "ownerSig", type: "bytes" }, { internalType: "bytes", name: "stewardSig", type: "bytes" } ], name: "submitDelegationAgreement", outputs: [ { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "enum ILandDelegationV2Struct.Payout", name: "payoutOption", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "extensionRule", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "earlyTermination", type: "uint8" }, { internalType: "uint64", name: "terminatedAt", type: "uint64" }, { internalType: "uint64", name: "submittedAt", type: "uint64" }, { internalType: "address", name: "steward", type: "address" }, { internalType: "uint64", name: "endAt", type: "uint64" }, { internalType: "address", name: "payoutToken", type: "address" }, { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256", name: "salary", type: "uint256" }, { internalType: "uint256", name: "released", type: "uint256" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], internalType: "struct ILandDelegationV2Struct.RealTimeAgreement", name: "currentState", type: "tuple" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "agreementHash", type: "bytes32" }, { internalType: "uint64", name: "validUntil", type: "uint64" }, { internalType: "bytes", name: "approvalSig", type: "bytes" } ], name: "terminateAgreement", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "enum ILandDelegationV2Struct.Payout", name: "payoutOption", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "extensionRule", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "earlyTermination", type: "uint8" }, { components: [ { internalType: "enum ILandDelegationV2Struct.RecipientOpt", name: "recipientOpt", type: "uint8" }, { internalType: "uint256", name: "ratio", type: "uint256" } ], internalType: "struct ILandDelegationV2Struct.Commission[]", name: "payouts", type: "tuple[]" }, { internalType: "uint256", name: "salary", type: "uint256" }, { internalType: "uint256", name: "level", type: "uint256" }, { internalType: "address", name: "payoutToken", type: "address" }, { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "acceptances", type: "address[]" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "string", name: "agreementCode", type: "string" } ], internalType: "struct ILandDelegationV2Struct.DelegationAgreement", name: "agreement", type: "tuple" } ], name: "validateAgreement", outputs: [ { internalType: "bool", name: "isValid", type: "bool" }, { internalType: "bytes", name: "reason", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "enum ILandDelegationV2Struct.Payout", name: "payoutOption", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "extensionRule", type: "uint8" }, { internalType: "enum ILandDelegationV2Struct.Permission", name: "earlyTermination", type: "uint8" }, { components: [ { internalType: "enum ILandDelegationV2Struct.RecipientOpt", name: "recipientOpt", type: "uint8" }, { internalType: "uint256", name: "ratio", type: "uint256" } ], internalType: "struct ILandDelegationV2Struct.Commission[]", name: "payouts", type: "tuple[]" }, { internalType: "uint256", name: "salary", type: "uint256" }, { internalType: "uint256", name: "level", type: "uint256" }, { internalType: "address", name: "payoutToken", type: "address" }, { internalType: "contract IERC721", name: "nft", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "acceptances", type: "address[]" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "string", name: "agreementCode", type: "string" } ], internalType: "struct ILandDelegationV2Struct.DelegationAgreement", name: "agreement", type: "tuple" }, { internalType: "address", name: "steward", type: "address" }, { internalType: "address", name: "submitter", type: "address" }, { internalType: "uint256", name: "nativeAmount", type: "uint256" } ], name: "validateAndCheckSubmissionEligibility", outputs: [ { internalType: "bool", name: "isValid", type: "bool" }, { internalType: "bytes", name: "reason", type: "bytes" } ], stateMutability: "view", type: "function" } ]; var LAND_DELEGATION_LOGIC = { name: "Land Delegation Logic", address: "0x8d34da00d712a5aa5444f7619ac6390abfb6e9e4", is_deprecated: false, created_at: 1705558627, abi: abi222 }; var land_delegation_logic_default = LAND_DELEGATION_LOGIC; // src/contracts/land_delegation_proxy.ts var abi223 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var LAND_DELEGATION_PROXY = { name: "Land Delegation Proxy", address: "0x6e1c680981a101bf6dc794e1d3ba7fa496eea12e", is_deprecated: false, created_at: 1705558633, abi: abi223 }; var land_delegation_proxy_default = LAND_DELEGATION_PROXY; // src/contracts/land_item.ts var abi224 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_baseTokenURI", type: "string" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "_operator", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenMetadata", outputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseTokenURI", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var LAND_ITEM = { name: "Land Item", address: "0xa96660f0e4a3e9bc7388925d245a6d4d79e21259", is_deprecated: false, created_at: 1612171369, abi: abi224 }; var land_item_default = LAND_ITEM; // src/contracts/land_logic.ts var abi225 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_owners", type: "address[]" }, { internalType: "int256[]", name: "_rows", type: "int256[]" }, { internalType: "int256[]", name: "_cols", type: "int256[]" } ], name: "batchMint", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "decodeTokenId", outputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "estateData", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "_operator", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getEstateData", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "landOfOwner", outputs: [ { internalType: "int256[]", name: "", type: "int256[]" }, { internalType: "int256[]", name: "", type: "int256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_itemId", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "ownerOfLand", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" }, { internalType: "string", name: "_data", type: "string" } ], name: "setEstateData", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var LAND_LOGIC = { name: "Land Logic", address: "0xaa63d92eb0cb7dd6663a494afb5431739d23a19d", is_deprecated: false, created_at: 1612169212, abi: abi225 }; var land_logic_default = LAND_LOGIC; // src/contracts/land_rep16_migrator.ts var abi226 = [ { inputs: [ { internalType: "address", name: "prevImpl", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "uint256", name: "legacyProxySlot", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "ADMIN", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "LEGACY_PROXY_SLOT", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PREV_IMPL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "SELF", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "proxyAdmin", type: "address" }, { internalType: "address", name: "newImpl", type: "address" } ], name: "initializeDataForREP16", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LAND_REP16_MIGRATOR = { name: "Land REP16 Migrator", address: "0x79f4c62d2fc3309d9e7d1a56a6b86b650945fdad", is_deprecated: false, created_at: 1719227358, abi: abi226 }; var land_rep16_migrator_default = LAND_REP16_MIGRATOR; // src/contracts/land_staking_manager.ts var abi227 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LAND_STAKING_MANAGER = { name: "Land Staking Manager", address: "0x7f27e35170472e7f107d3e55c2b9bcd44aa01dd5", is_deprecated: false, created_at: 1656494799, abi: abi227 }; var land_staking_manager_default = LAND_STAKING_MANAGER; // src/contracts/land_staking_manager_logic.ts var abi228 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_new", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_old", type: "uint256" } ], name: "MinClaimedBlocksUpdated", 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: "_pool", type: "address" } ], name: "PoolWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_pool", type: "address" }, { indexed: false, internalType: "address", name: "_user", type: "address" }, { components: [ { internalType: "uint256", name: "debitedRewards", type: "uint256" }, { internalType: "uint256", name: "lastUpdatedBlock", type: "uint256" }, { internalType: "uint256", name: "lastClaimedBlock", type: "uint256" } ], indexed: false, internalType: "struct ILandStakingManager.UserReward", name: "_rewardInfo", type: "tuple" } ], name: "UserRewardUpdated", type: "event" }, { inputs: [], name: "WRON", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "allocateRewards", outputs: [ { internalType: "address", name: "_rewardToken", type: "address" }, { internalType: "uint256", name: "_earnedRewards", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" }, { internalType: "address", name: "_user", type: "address" } ], name: "canObtainRewards", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" } ], name: "getCurrentLandWeight", outputs: [ { components: [ { internalType: "uint256[5]", name: "landTypeWeight", type: "uint256[5]" }, { internalType: "uint256", name: "startedAtBlock", type: "uint256" } ], internalType: "struct LandWeightConsumer.LandWeight", name: "_lw", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" } ], name: "getLandWeight", outputs: [ { components: [ { internalType: "uint256[5]", name: "landTypeWeight", type: "uint256[5]" }, { internalType: "uint256", name: "startedAtBlock", type: "uint256" } ], internalType: "struct LandWeightConsumer.LandWeight[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" }, { internalType: "address", name: "_user", type: "address" } ], name: "getPendingRewards", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" } ], name: "getPoolInfo", outputs: [ { components: [ { internalType: "address", name: "stakingToken", type: "address" }, { internalType: "address", name: "rewardToken", type: "address" }, { components: [ { internalType: "uint256[5]", name: "landTypeWeight", type: "uint256[5]" }, { internalType: "uint256", name: "startedAtBlock", type: "uint256" } ], internalType: "struct LandWeightConsumer.LandWeight[]", name: "landWeight", type: "tuple[]" } ], internalType: "struct ILandStakingManager.Pool", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" } ], name: "getRewardTokenOfPool", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_admin", type: "address" }, { internalType: "address", name: "_wron", type: "address" }, { internalType: "uint256", name: "_minClaimedBlocks", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" } ], name: "isPoolWhitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minClaimedBlocks", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "poolInfo", outputs: [ { internalType: "address", name: "stakingToken", type: "address" }, { internalType: "address", name: "rewardToken", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "resetRewards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_minClaimedBlocks", type: "uint256" } ], name: "setMinClaimedBlocks", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "syncRewardInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" }, { internalType: "uint256[5]", name: "_values", type: "uint256[5]" }, { internalType: "uint256", name: "_startedAtBlock", type: "uint256" } ], name: "updateLandWeights", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_pool", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "uint256[5]", name: "_values", type: "uint256[5]" }, { internalType: "uint256", name: "_startedAtBlock", type: "uint256" } ], name: "updateSpecificLandWeights", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "userRewards", outputs: [ { internalType: "uint256", name: "debitedRewards", type: "uint256" }, { internalType: "uint256", name: "lastUpdatedBlock", type: "uint256" }, { internalType: "uint256", name: "lastClaimedBlock", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_pools", type: "address[]" }, { internalType: "uint256[]", name: "_startedAtBlocks", type: "uint256[]" }, { internalType: "uint256[5][]", name: "_landTypeWeights", type: "uint256[5][]" } ], name: "whitelistPools", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawNativeToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LAND_STAKING_MANAGER_LOGIC = { name: "Land Staking Manager Logic", address: "0xe78918abc57f7a3e6abdf7fe1d0da90ed8b92e26", is_deprecated: false, created_at: 1656494787, abi: abi228 }; var land_staking_manager_logic_default = LAND_STAKING_MANAGER_LOGIC; // src/contracts/land_staking_pool.ts var abi229 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LAND_STAKING_POOL = { name: "Land Staking Pool", address: "0xb2a5110f163ec592f8f0d4207253d8cbc327d9fb", is_deprecated: false, created_at: 1656494823, abi: abi229 }; var land_staking_pool_default = LAND_STAKING_POOL; // src/contracts/land_v2.ts var abi230 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { indexed: false, internalType: "enum LandV2.LandType[]", name: "_landTypes", type: "uint8[]" } ], name: "LandTypeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_owner", type: "address" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "PermissionSetAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenOperatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: false, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "TokenPermissionSet", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "approve", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_owners", type: "address[]" }, { internalType: "int256[]", name: "_rows", type: "int256[]" }, { internalType: "int256[]", name: "_cols", type: "int256[]" } ], name: "batchMint", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "decodeTokenId", outputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "estateData", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getEstateData", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "_approved", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isAuthorized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isFunctionOperatorOfToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" } ], name: "isPermissionSet", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isPermissionSetAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" } ], name: "isTokenOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "landOfOwner", outputs: [ { internalType: "int256[]", name: "", type: "int256[]" }, { internalType: "int256[]", name: "", type: "int256[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "landType", outputs: [ { internalType: "enum LandV2.LandType", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "landTypeMigrated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_itemId", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "operatorPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "ownerOfLand", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setAllPermissionFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" }, { internalType: "string", name: "_data", type: "string" } ], name: "setEstateData", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setFunctionOperatorForToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "enum LandV2.LandType[]", name: "_landTypes", type: "uint8[]" } ], name: "setLandTypes", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "bytes4", name: "_funcSig", type: "bytes4" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setPermissionFor", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "address", name: "_operator", type: "address" }, { internalType: "bool", name: "_approved", type: "bool" } ], name: "setTokenOperator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "toggleLandTypeMigrated", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "bytes4", name: "", type: "bytes4" } ], name: "tokenPermission", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenPermissionInfos", outputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bytes4", name: "funcSig", type: "bytes4" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var LAND_V2 = { name: "Land V2", address: "0x04e681cf191d59a949bd3574965f7d13ed3f8a97", is_deprecated: false, created_at: 1656487395, abi: abi230 }; var land_v2_default = LAND_V2; // src/contracts/land_v3.ts var abi231 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_approved", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_operator", type: "address" }, { indexed: false, internalType: "bool", name: "_approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { indexed: false, internalType: "enum LandV3.LandType[]", name: "_landTypes", type: "uint8[]" } ], name: "LandTypeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_owners", type: "address[]" }, { internalType: "int256[]", name: "_rows", type: "int256[]" }, { internalType: "int256[]", name: "_cols", type: "int256[]" } ], name: "batchMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "decodeTokenId", outputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "estateData", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "_operator", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getEstateData", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "getTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "landOfOwner", outputs: [ { internalType: "int256[]", name: "", type: "int256[]" }, { internalType: "int256[]", name: "", type: "int256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "landType", outputs: [ { internalType: "enum LandV3.LandType", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "landTypeMigrated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_itemId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "_owner", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" } ], name: "ownerOfLand", 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: [], name: "removeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_baseTokenURI", type: "string" } ], name: "setBaseTokenURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "int256", name: "_row", type: "int256" }, { internalType: "int256", name: "_col", type: "int256" }, { internalType: "string", name: "_data", type: "string" } ], name: "setEstateData", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "enum LandV3.LandType[]", name: "_landTypes", type: "uint8[]" } ], name: "setLandTypes", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "_supported", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "toggleLandTypeMigrated", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var LAND_V3 = { name: "Land V3", address: "0x8095586a53bce83e1aa427ea4c269ed833cb6fd6", is_deprecated: false, created_at: 1719227358, abi: abi231 }; var land_v3_default = LAND_V3; // src/contracts/level_merge.ts var abi232 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "InsufficientFee", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "feeReceiver", type: "address" } ], name: "FeeReceiverChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "uint256", name: "targetTokenId", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "materialTokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint16", name: "successRate", type: "uint16" }, { indexed: false, internalType: "bool", name: "upgraded", type: "bool" } ], name: "MonsterMerged", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "FEE_RECEIVER", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NYANGKIT", outputs: [ { internalType: "contract INyangKit", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAYMENT_TOKEN", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "RAGMON", outputs: [ { internalType: "contract IRagmon", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "calculateAccumulatedValue", outputs: [ { internalType: "uint16", name: "accumulatedValue", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" } ], name: "calculateAccumulatedValues", outputs: [ { internalType: "uint16[]", name: "", type: "uint16[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "targetTokenId", type: "uint256" }, { internalType: "uint256[]", name: "materialTokenIds", type: "uint256[]" } ], name: "calculateMergeSuccessRate", outputs: [ { internalType: "uint16", name: "successRate", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint8[]", name: "materialLevels", type: "uint8[]" } ], name: "calculateTotalValue", outputs: [ { internalType: "uint256", name: "totalValue", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "callbackGasLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint16", name: "successRate", type: "uint16" } ], name: "estimateAdditionalCost", outputs: [ { internalType: "uint256", name: "totalFee", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "gasPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" } ], name: "getBaseProbabilities", outputs: [ { internalType: "uint16[]", name: "", type: "uint16[]" } ], 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: "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: "_ragmon", type: "address" }, { internalType: "address", name: "_nyangkit", type: "address" }, { internalType: "address", name: "_vrfCoordinator", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "targetTokenId", type: "uint256" }, { internalType: "uint256[]", name: "materialTokenIds", type: "uint256[]" }, { internalType: "uint16", name: "berryAmount", type: "uint16" } ], name: "merge", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "", type: "uint8" } ], name: "mergeCostByRarity", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], 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: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", 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: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint16[]", name: "baseProbabilities", type: "uint16[]" } ], name: "setBaseProbabilities", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_feeReceiver", type: "address" } ], name: "setFeeReceiver", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint256", name: "mergeCost", type: "uint256" } ], name: "setMergeCost", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_paymentToken", type: "address" } ], name: "setPaymentToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint16", name: "_treasuryRate", type: "uint16" } ], name: "setTreasuryRate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "_gasPrice", type: "uint256" } ], name: "setVRFVariables", 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: "treasuryRate", outputs: [ { internalType: "uint16", name: "", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var LEVEL_MERGE = { name: "Level Merge", address: "0x3c4752ba472d2da88ca86586f879dc32da72d336", is_deprecated: false, created_at: 1723600926, abi: abi232 }; var level_merge_default = LEVEL_MERGE; // src/contracts/level_merge_proxy.ts var abi233 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LEVEL_MERGE_PROXY = { name: "Level Merge Proxy", address: "0x67c9be474793a3df69450aa5ead24b3acc3efacb", is_deprecated: false, created_at: 1721787854, abi: abi233 }; var level_merge_proxy_default = LEVEL_MERGE_PROXY; // src/contracts/level_upgrade.ts var abi234 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "feeReceiver", type: "address" } ], name: "FeeReceiverChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "uint256", name: "targetTokenId", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "materialTokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint16", name: "successRate", type: "uint16" }, { indexed: false, internalType: "bool", name: "upgraded", type: "bool" } ], name: "MonsterMerged", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "FEE_RECEIVER", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NYANGKIT", outputs: [ { internalType: "contract INyangKit", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAYMENT_TOKEN", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "RAGMON", outputs: [ { internalType: "contract IRagmon", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint16", name: "berryAmount", type: "uint16" }, { internalType: "uint8", name: "level", type: "uint8" } ], name: "calculateAdditionalSuccessRate", outputs: [ { internalType: "uint16", name: "", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint16", name: "multiplier", type: "uint16" }, { internalType: "uint8", name: "level", type: "uint8" } ], name: "calculateSuccessRate", outputs: [ { internalType: "uint16", name: "", type: "uint16" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "callbackGasLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint16", name: "successRate", type: "uint16" } ], name: "estimateVRFCost", outputs: [ { internalType: "uint256", name: "totalFee", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "gasPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" } ], name: "getBaseProbabilities", outputs: [ { internalType: "uint16[]", name: "", type: "uint16[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBerryMultiplier", outputs: [ { internalType: "uint16", name: "", type: "uint16" } ], 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: "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: "_ragmon", type: "address" }, { internalType: "address", name: "_nyangkit", type: "address" }, { internalType: "address", name: "_vrfCoordinator", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "", type: "uint8" } ], name: "mergeCostByRarity", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], 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: "bytes32", name: "_reqHash", type: "bytes32" }, { internalType: "uint256", name: "_randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", 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: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint16[]", name: "baseProbabilities", type: "uint16[]" } ], name: "setBaseProbabilities", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint16", name: "_berryMultiplier", type: "uint16" } ], name: "setBerryMultiplier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_feeReceiver", type: "address" } ], name: "setFeeReceiver", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "uint256", name: "mergeCost", type: "uint256" } ], name: "setMergeCost", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_paymentToken", type: "address" } ], name: "setPaymentToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "_gasPrice", type: "uint256" } ], name: "setVRFVariables", 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: "targetTokenId", type: "uint256" }, { internalType: "uint16", name: "multiplier", type: "uint16" }, { internalType: "uint16", name: "berryAmount", type: "uint16" } ], name: "upgrade", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var LEVEL_UPGRADE = { name: "Level Upgrade", address: "0x7cd8525efe624cca67699e38b944077cf082cf3d", is_deprecated: false, created_at: 1729734404, abi: abi234 }; var level_upgrade_default = LEVEL_UPGRADE; // src/contracts/level_upgrade_proxy.ts var abi235 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LEVEL_UPGRADE_PROXY = { name: "Level Upgrade Proxy", address: "0x301ef55fe33ca98dc793cbe74c29674f4323755c", is_deprecated: false, created_at: 1729576812, abi: abi235 }; var level_upgrade_proxy_default = LEVEL_UPGRADE_PROXY; // src/contracts/limit_order_executor.ts var abi236 = [ { inputs: [], name: "AmountOutUnderLimit", type: "error" }, { inputs: [], name: "FeeExceedsMaximum", type: "error" }, { inputs: [], name: "InsufficientBalance", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "OrderExpired", type: "error" }, { inputs: [], name: "Unauthorized", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "trader", type: "address" }, { indexed: true, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "uint256", name: "newBalance", type: "uint256" } ], name: "BaseTokenBalanceDecreased", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "trader", type: "address" }, { indexed: true, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "uint256", name: "newBalance", type: "uint256" } ], name: "BaseTokenDeposited", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "amount", type: "uint256" } ], name: "BaseTokenFeeBalanceWithdrawn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "trader", type: "address" }, { indexed: true, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "uint256", name: "newBalance", type: "uint256" } ], name: "BaseTokenWithdrawn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: true, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Erc20FeeBalanceWithdrawn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "trader", type: "address" }, { indexed: true, internalType: "address", name: "tokenIn", type: "address" }, { indexed: true, internalType: "address", name: "tokenOut", type: "address" }, { indexed: false, internalType: "uint256", name: "amountIn", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amountOut", type: "uint256" }, { indexed: false, internalType: "uint256", name: "feePercent", type: "uint256" } ], name: "LimitOrderExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "oldRouter", type: "address" }, { indexed: true, internalType: "address", name: "newRouter", type: "address" } ], name: "RouterChanged", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "addOperator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "depositBaseToken", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "getAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "trader", type: "address" } ], name: "getBaseTokenBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBaseTokenFeeBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRouter", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "admin_", type: "address" } ], name: "initializeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "isOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "removeOperator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newRouter", type: "address" }, { internalType: "address[]", name: "tokensToRevoke", type: "address[]" } ], name: "setRouter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "trader", type: "address" }, { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint256", name: "feePercent", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "uint256", name: "slippagePercent", type: "uint256" } ], internalType: "struct Order", name: "order", type: "tuple" } ], name: "swapExactRONForTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "trader", type: "address" }, { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint256", name: "feePercent", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "uint256", name: "slippagePercent", type: "uint256" } ], internalType: "struct Order", name: "order", type: "tuple" } ], name: "swapExactTokensForRON", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "trader", type: "address" }, { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "uint256", name: "feePercent", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "uint256", name: "slippagePercent", type: "uint256" } ], internalType: "struct Order", name: "order", type: "tuple" } ], name: "swapExactTokensForTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "withdrawBaseToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawBaseTokenFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "withdrawErc20Fee", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LIMIT_ORDER_EXECUTOR = { name: "Limit Order Executor", address: "0x5c73c9e93ec2a05f0ddf3e301a1519435d25ce65", is_deprecated: false, created_at: 1718925389, abi: abi236 }; var limit_order_executor_default = LIMIT_ORDER_EXECUTOR; // src/contracts/limit_order_executor_proxy.ts var abi237 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var LIMIT_ORDER_EXECUTOR_PROXY = { name: "Limit Order Executor Proxy", address: "0xf07500fd3961d9993dd85ea4370331156e6f6c2e", is_deprecated: false, created_at: 1718925401, abi: abi237 }; var limit_order_executor_proxy_default = LIMIT_ORDER_EXECUTOR_PROXY; // src/contracts/liquidity_assessor.ts var abi238 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "error", type: "uint256" }, { indexed: false, internalType: "uint256", name: "info", type: "uint256" }, { indexed: false, internalType: "uint256", name: "detail", type: "uint256" } ], name: "Failure", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newAdmin", type: "address" }, { indexed: true, internalType: "address", name: "previousAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { constant: false, inputs: [ { internalType: "contract AppraisalOracleInterface", name: "newAppraisalOracle", type: "address" } ], name: "_setAppraisalOracle", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract ComptrollerInterface", name: "newComptroller", type: "address" } ], name: "_setComptroller", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "appraisalOracle", outputs: [ { internalType: "contract AppraisalOracleInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptroller", outputs: [ { internalType: "contract ComptrollerInterface", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "account", type: "address" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "getAccountLiquidity", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "wire", type: "tuple" }, { internalType: "address", name: "cErc721Token", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getAppraisal", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "contract CTokenInterface", name: "cTokenModify", type: "address" }, { internalType: "contract CErc20CollateralInterface", name: "cErc20CollateralTokenModify", type: "address" }, { internalType: "uint256", name: "redeemTokens", type: "uint256" }, { internalType: "uint256", name: "borrowAmount", type: "uint256" }, { internalType: "contract CErc721Interface", name: "cErc721TokenModify", type: "address" }, { internalType: "uint256[]", name: "redeemErc721TokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "getHypotheticalAccountLiquidity", outputs: [ { internalType: "enum ComptrollerErrorReporter.Error", name: "", type: "uint8" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "getTotalBorrows", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "contract CTokenInterface", name: "cToken", type: "address" } ], name: "isDeprecated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cTokenCollateral", type: "address" }, { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAllowed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cErc721TokenCollateral", type: "address" }, { internalType: "address", name: "borrower", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { components: [ { internalType: "address[]", name: "appraisalTokens", type: "address[]" }, { internalType: "uint256[]", name: "appraisalLengths", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "appraisalValues", type: "uint256[]" }, { internalType: "uint256", name: "appraisalGoodUntil", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], internalType: "struct AppraisalStruct.Wire", name: "appraisal", type: "tuple" } ], name: "liquidateBorrowAllowedErc721", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cErc20CollateralToken", type: "address" }, { internalType: "uint256", name: "repayAmount", type: "uint256" } ], name: "liquidateCalculateSeizeCErc20Collateral", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "cTokenBorrowed", type: "address" }, { internalType: "address", name: "cTokenCollateral", type: "address" }, { internalType: "uint256", name: "actualRepayAmount", type: "uint256" } ], name: "liquidateCalculateSeizeTokens", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "setAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var LIQUIDITY_ASSESSOR = { name: "Liquidity Assessor", address: "0x9e97f0a5b8582a336123667338992d8a8499cdf3", is_deprecated: false, created_at: 1684958665, abi: abi238 }; var liquidity_assessor_default = LIQUIDITY_ASSESSOR; // src/contracts/lua.ts var abi239 = [ { inputs: [ { internalType: "contract IConfig", name: "_config", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "minter", type: "address" } ], name: "MinterChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "signer", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "signer", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "config", outputs: [ { internalType: "contract IConfig", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minter", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "_minter", type: "address" } ], name: "setMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var LUA = { name: "LUA", address: "0xd61bbbb8369c46c15868ad9263a2710aced156c4", is_deprecated: false, created_at: 1729315838, abi: abi239 }; var lua_default = LUA; // src/contracts/luausd.ts var abi240 = [ { inputs: [ { internalType: "contract IConfig", name: "_config", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "minter", type: "address" } ], name: "MinterChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "signer", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "signer", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "config", outputs: [ { internalType: "contract IConfig", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minter", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "_minter", type: "address" } ], name: "setMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var LUAUSD = { name: "LUAUSD", address: "0x18d2bdef572c67127e218c425f546fe64430a92c", is_deprecated: false, created_at: 1729315847, abi: abi240 }; var luausd_default = LUAUSD; // src/contracts/lumiterra_game_item.ts var abi241 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var LUMITERRA_GAME_ITEM = { name: "Lumiterra Game Item", address: "0xcc451977a4be9adee892f7e610fe3e3b3927b5a1", is_deprecated: false, created_at: 1720869853, abi: abi241 }; var lumiterra_game_item_default = LUMITERRA_GAME_ITEM; // src/contracts/lumiterra_withdraw.ts var abi242 = [ { inputs: [ { internalType: "contract IConfig", name: "_config", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "gameToken", type: "address" }, { indexed: false, internalType: "address", name: "roninToken", type: "address" } ], name: "TokenUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool", name: "enabled", type: "bool" } ], name: "WithdrawEnabledUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "recipient", type: "address" } ], name: "WithdrawFeeRecipientUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "fee", type: "uint256" } ], name: "WithdrawFeeUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "withdrawHash", type: "bytes32" }, { indexed: false, internalType: "uint8", name: "status", type: "uint8" } ], name: "WithdrawStatusUpdateEvent", type: "event" }, { inputs: [], name: "PRECENT_DENOMINATOR", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_WITHDRAW_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "gameToken", type: "address" }, { internalType: "address", name: "roninToken", type: "address" } ], name: "addToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "config", outputs: [ { internalType: "contract IConfig", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "crossAuthWeighted", outputs: [ { internalType: "contract ICrossAuthWeighted", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "domainSeparator", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getChainId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "dataHash", type: "bytes32" } ], name: "hashTypedData", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract ICrossAuthWeighted", name: "_crossAuthWeighted", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bool", name: "enabled", type: "bool" } ], name: "setWithdrawEnabled", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "fee", type: "uint256" } ], name: "setWithdrawFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" } ], name: "setWithdrawFeeRecipient", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], internalType: "struct LumiterraWithdraw.Withdraw", name: "withdrawCalldata", type: "tuple" }, { internalType: "bytes", name: "poof", type: "bytes" } ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawEnabled", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawFeeRecipient", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], internalType: "struct LumiterraWithdraw.Withdraw", name: "withdrawCalldata", type: "tuple" } ], name: "withdrawHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], internalType: "struct LumiterraWithdraw.Withdraw", name: "withdrawCalldata", type: "tuple" } ], name: "withdrawRollup", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var LUMITERRA_WITHDRAW = { name: "Lumiterra Withdraw", address: "0x60928dee31cf300b0919e14e6316b174490888e2", is_deprecated: false, created_at: 1727689311, abi: abi242 }; var lumiterra_withdraw_default = LUMITERRA_WITHDRAW; // src/contracts/luna_n_solar_burner_proxy.ts var abi243 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var LUNA_N_SOLAR_BURNER_PROXY = { name: "Luna N Solar Burner Proxy", address: "0x4520b9562aab89dae009a840bc0b2f6c755d634c", is_deprecated: false, created_at: 1718826043, abi: abi243 }; var luna_n_solar_burner_proxy_default = LUNA_N_SOLAR_BURNER_PROXY; // src/contracts/lunacian_express.ts var abi244 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var LUNACIAN_EXPRESS = { name: "Lunacian Express", address: "0x20dad05af3f2663c652495f3e581b3fed926f39c", is_deprecated: false, created_at: 1668593188, abi: abi244 }; var lunacian_express_default = LUNACIAN_EXPRESS; // src/contracts/m_gold_20_proxy.ts var abi245 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var M_GOLD_20_PROXY = { name: "M Gold 20 Proxy", address: "0x6a1d85c9876ea93ee460ca1d36ae7d95d0cd8f05", is_deprecated: false, created_at: 1728626383, abi: abi245 }; var m_gold_20_proxy_default = M_GOLD_20_PROXY; // src/contracts/m_gold_20_wallet_proxy.ts var abi246 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var M_GOLD_20_WALLET_PROXY = { name: "M Gold 20 Wallet Proxy", address: "0x4b2612de90a3cdadf8020dc17d4b692df1e1f705", is_deprecated: false, created_at: 1728626464, abi: abi246 }; var m_gold_20_wallet_proxy_default = M_GOLD_20_WALLET_PROXY; // src/contracts/maintenance.ts var abi247 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrAlreadyOnMaintenance", type: "error" }, { inputs: [], name: "ErrAlreadyScheduled", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrCooldownTimeNotYetEnded", type: "error" }, { inputs: [], name: "ErrEndBlockOutOfRange", type: "error" }, { inputs: [], name: "ErrInvalidMaintenanceDuration", type: "error" }, { inputs: [], name: "ErrInvalidMaintenanceDurationConfig", type: "error" }, { inputs: [], name: "ErrInvalidOffsetToStartScheduleConfigs", type: "error" }, { inputs: [], name: "ErrNotOnMaintenance", type: "error" }, { inputs: [], name: "ErrStartBlockOutOfRange", type: "error" }, { inputs: [], name: "ErrTotalOfSchedulesExceeded", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [], name: "ErrUnexistedSchedule", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "minMaintenanceDurationInBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxMaintenanceDurationInBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "minOffsetToStartSchedule", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxOffsetToStartSchedule", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxSchedules", type: "uint256" }, { indexed: false, internalType: "uint256", name: "cooldownSecsToMaintain", type: "uint256" } ], name: "MaintenanceConfigUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" } ], name: "MaintenanceExited", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" } ], name: "MaintenanceScheduleCancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { components: [ { internalType: "uint256", name: "from", type: "uint256" }, { internalType: "uint256", name: "to", type: "uint256" }, { internalType: "uint256", name: "lastUpdatedBlock", type: "uint256" }, { internalType: "uint256", name: "requestTimestamp", type: "uint256" } ], indexed: false, internalType: "struct IMaintenance.Schedule", name: "", type: "tuple" } ], name: "MaintenanceScheduled", type: "event" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "cancelSchedule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "checkCooldownEnded", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "uint256", name: "atBlock", type: "uint256" } ], name: "checkMaintained", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "candidateId", type: "address" }, { internalType: "uint256", name: "atBlock", type: "uint256" } ], name: "checkMaintainedById", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "uint256", name: "fromBlock", type: "uint256" }, { internalType: "uint256", name: "toBlock", type: "uint256" } ], name: "checkMaintainedInBlockRange", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "addrList", type: "address[]" }, { internalType: "uint256", name: "atBlock", type: "uint256" } ], name: "checkManyMaintained", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "idList", type: "address[]" }, { internalType: "uint256", name: "atBlock", type: "uint256" } ], name: "checkManyMaintainedById", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "addrList", type: "address[]" }, { internalType: "uint256", name: "fromBlock", type: "uint256" }, { internalType: "uint256", name: "toBlock", type: "uint256" } ], name: "checkManyMaintainedInBlockRange", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "idList", type: "address[]" }, { internalType: "uint256", name: "fromBlock", type: "uint256" }, { internalType: "uint256", name: "toBlock", type: "uint256" } ], name: "checkManyMaintainedInBlockRangeById", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "checkScheduled", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "cooldownSecsToMaintain", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "exitMaintenance", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "getSchedule", outputs: [ { components: [ { internalType: "uint256", name: "from", type: "uint256" }, { internalType: "uint256", name: "to", type: "uint256" }, { internalType: "uint256", name: "lastUpdatedBlock", type: "uint256" }, { internalType: "uint256", name: "requestTimestamp", type: "uint256" } ], internalType: "struct IMaintenance.Schedule", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "validatorContract", type: "address" }, { internalType: "uint256", name: "minMaintenanceDurationInBlock_", type: "uint256" }, { internalType: "uint256", name: "maxMaintenanceDurationInBlock_", type: "uint256" }, { internalType: "uint256", name: "minOffsetToStartSchedule_", type: "uint256" }, { internalType: "uint256", name: "maxOffsetToStartSchedule_", type: "uint256" }, { internalType: "uint256", name: "maxSchedule_", type: "uint256" }, { internalType: "uint256", name: "cooldownSecsToMaintain_", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "profileContract_", type: "address" } ], name: "initializeV3", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "initializeV4", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "maxMaintenanceDurationInBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxOffsetToStartSchedule", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxSchedule", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minMaintenanceDurationInBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minOffsetToStartSchedule", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "uint256", name: "startedAtBlock", type: "uint256" }, { internalType: "uint256", name: "endedAtBlock", type: "uint256" } ], name: "schedule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "minMaintenanceDurationInBlock_", type: "uint256" }, { internalType: "uint256", name: "maxMaintenanceDurationInBlock_", type: "uint256" }, { internalType: "uint256", name: "minOffsetToStartSchedule_", type: "uint256" }, { internalType: "uint256", name: "maxOffsetToStartSchedule_", type: "uint256" }, { internalType: "uint256", name: "maxSchedule_", type: "uint256" }, { internalType: "uint256", name: "cooldownSecsToMaintain_", type: "uint256" } ], name: "setMaintenanceConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "totalSchedule", outputs: [ { internalType: "uint256", name: "count", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var MAINTENANCE = { name: "Maintenance", address: "0x3e07aeeef99a1f6ebc9b236b8b0051ac18560a48", is_deprecated: false, created_at: 1718685420, abi: abi247 }; var maintenance_default = MAINTENANCE; // src/contracts/mana_vending_machine.ts var abi248 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { 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: "buyer", type: "address" }, { indexed: false, internalType: "uint256[]", name: "quantities", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "totalEth", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalMana", type: "uint256" } ], name: "PurchasePackages", type: "event" }, { inputs: [], name: "contractBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "getManaBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint8", name: "pkgId", type: "uint8" } ], name: "getPackageFromId", outputs: [ { components: [ { internalType: "uint256", name: "manaQty", type: "uint256" }, { internalType: "uint256", name: "price", type: "uint256" } ], internalType: "struct ManaVendingMachine.Package", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPackages", outputs: [ { components: [ { internalType: "uint256", name: "manaQty", type: "uint256" }, { internalType: "uint256", name: "price", type: "uint256" } ], internalType: "struct ManaVendingMachine.Package[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPkgQty", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "manaBalances", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "packages", outputs: [ { internalType: "uint256", name: "manaQty", type: "uint256" }, { internalType: "uint256", name: "price", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pkgQty", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_qty", type: "uint256[]" } ], name: "purchasePackages", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_manaQty", type: "uint256[]" }, { internalType: "uint256[]", name: "_prices", type: "uint256[]" } ], name: "setPackages", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_vaultAdress", type: "address" } ], name: "setVaultAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vaultAddress", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawAll", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var MANA_VENDING_MACHINE = { name: "Mana Vending Machine", address: "0xd5c7e6257d264ede9cc7a2e74e52df65e727eb4e", is_deprecated: false, created_at: 1721411235, abi: abi248 }; var mana_vending_machine_default = MANA_VENDING_MACHINE; // src/contracts/market_commission_proxy.ts var abi249 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MARKET_COMMISSION_PROXY = { name: "Market Commission Proxy", address: "0x35d30aefe3d3620b644336229d1f3a2bffbf4917", is_deprecated: false, created_at: 1682577966, abi: abi249 }; var market_commission_proxy_default = MARKET_COMMISSION_PROXY; // src/contracts/market_gateway.ts var abi250 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool", name: "", type: "bool" } ], name: "AllowedAllPaymentTokens", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string[]", name: "interfaces", type: "string[]" }, { indexed: false, internalType: "address[]", name: "addresses", type: "address[]" } ], name: "InterfacesUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IKatanaRouter", name: "KatanaRouterContract", type: "address" } ], name: "KatanaRouterUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool", name: "referralFeature", type: "bool" }, { indexed: false, internalType: "contract IMarketCommission", name: "marketCommission", type: "address" }, { indexed: false, internalType: "bool", name: "autoTransferReferralReward", type: "bool" } ], name: "MarketCommissionConfigUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "minMarketFeePercentage", type: "uint256" } ], name: "MinMarketFeePercentageUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "tokens", type: "address[]" }, { indexed: false, internalType: "bool", name: "allowed", type: "bool" } ], name: "PaymentTokensAllowed", 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: false, internalType: "address", name: "", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IWRON", name: "wronContract", type: "address" }, { indexed: false, internalType: "contract IWRONHelper", name: "wronHelper", type: "address" } ], name: "WRONConfigUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "WRON", outputs: [ { internalType: "contract IWRON", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "allowedAllPaymentTokens", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" } ], name: "allowedPaymentToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "_interface", type: "string" } ], name: "getInterface", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMarketCommissionConfig", outputs: [ { internalType: "bool", name: "referralFeature_", type: "bool" }, { internalType: "contract IMarketCommission", name: "marketCommission_", type: "address" }, { internalType: "bool", name: "autoTransferReferralReward_", type: "bool" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "contract IWRON", name: "_wronContract", type: "address" }, { internalType: "contract IWRONHelper", name: "_wronHelper", type: "address" }, { internalType: "bool", name: "_allowedAllPaymentTokens", type: "bool" }, { internalType: "bool", name: "_referralFeature", type: "bool" }, { internalType: "contract IMarketCommission", name: "_marketCommission", type: "address" }, { internalType: "bool", name: "_autoTransferReferralReward", type: "bool" }, { internalType: "address[]", name: "_paymentTokens", type: "address[]" }, { internalType: "string[]", name: "_interfaces", type: "string[]" }, { internalType: "address[][2]", name: "_addresses", type: "address[][2]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_interface", type: "string" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "interactWith", 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: "bool", name: "_flag", type: "bool" } ], name: "setAllowedAllPaymentTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string[]", name: "_interfaces", type: "string[]" }, { internalType: "address[]", name: "_addresses", type: "address[]" } ], name: "setInterfaces", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IKatanaRouter", name: "_routerContract", type: "address" } ], name: "setKatanaRouter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "referralFeature_", type: "bool" }, { internalType: "contract IMarketCommission", name: "marketCommission_", type: "address" }, { internalType: "bool", name: "autoTransferReferralReward_", type: "bool" } ], name: "setMarketCommissionConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokens", type: "address[]" }, { internalType: "bool", name: "_allowed", type: "bool" } ], name: "setPaymentTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IWRON", name: "_wronAddr", type: "address" }, { internalType: "contract IWRONHelper", name: "_wronHelper", type: "address" } ], name: "setWRONConfig", 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: "wronHelper", outputs: [ { internalType: "contract IWRONHelper", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MARKET_GATEWAY = { name: "Market Gateway", address: "0x1875a752d3cc9227d94f0d106ed073af81e78163", is_deprecated: false, created_at: 1684224065, abi: abi250 }; var market_gateway_default = MARKET_GATEWAY; // src/contracts/market_gateway_multi_send.ts var abi251 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "marketGateway", type: "address" }, { indexed: true, internalType: "bool", name: "requiredAllSuccess", type: "bool" }, { indexed: false, internalType: "bool[]", name: "results", type: "bool[]" }, { indexed: false, internalType: "bytes[]", name: "returnData", type: "bytes[]" }, { indexed: false, internalType: "uint256", name: "refundAmount", type: "uint256" } ], name: "BulkInteractSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "TARGET_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "marketGateway", type: "address" }, { components: [ { internalType: "string", name: "interfaceName", type: "string" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], internalType: "struct InteractWithParams[]", name: "params", type: "tuple[]" }, { internalType: "bool", name: "requiredAllSuccess", type: "bool" } ], name: "bulkInteractWith", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" }, { internalType: "address[]", name: "_marketGateways", type: "address[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var MARKET_GATEWAY_MULTI_SEND = { name: "Market Gateway Multi Send", address: "0x5404eba4bc27b49a66b7fadc62dd17359dce1de1", is_deprecated: false, created_at: 1709721654, abi: abi251 }; var market_gateway_multi_send_default = MARKET_GATEWAY_MULTI_SEND; // src/contracts/market_gateway_multi_send_proxy.ts var abi252 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MARKET_GATEWAY_MULTI_SEND_PROXY = { name: "Market Gateway Multi Send Proxy", address: "0x21a0a1c081dc2f3e48dc391786f53035f85ce0bc", is_deprecated: false, created_at: 1700720757, abi: abi252 }; var market_gateway_multi_send_proxy_default = MARKET_GATEWAY_MULTI_SEND_PROXY; // src/contracts/market_gateway_proxy.ts var abi253 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MARKET_GATEWAY_PROXY = { name: "Market Gateway Proxy", address: "0x3b3adf1422f84254b7fbb0e7ca62bd0865133fe3", is_deprecated: false, created_at: 1682579265, abi: abi253 }; var market_gateway_proxy_default = MARKET_GATEWAY_PROXY; // src/contracts/marketplace_gateway_v2.ts var abi254 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MARKETPLACE_GATEWAY_V2 = { name: "Marketplace Gateway V2", address: "0xfff9ce5f71ca6178d3beecedb61e7eff1602950e", is_deprecated: false, created_at: 1659687134, abi: abi254 }; var marketplace_gateway_v2_default = MARKETPLACE_GATEWAY_V2; // src/contracts/marketplace_referral.ts var abi255 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MARKETPLACE_REFERRAL = { name: "Marketplace Referral", address: "0xb977383f1c797051ac5361f7ba75db0c46cb6372", is_deprecated: false, created_at: 1653288380, abi: abi255 }; var marketplace_referral_default = MARKETPLACE_REFERRAL; // src/contracts/marketplace_referral_logic.ts var abi256 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "_addresses", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "_percentages", type: "uint256[]" } ], name: "CutPercentagesUpdated", 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: false, internalType: "contract IERC20", name: "_token", type: "address" }, { indexed: false, internalType: "uint256", name: "_oldReserve", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_newReserve", type: "uint256" } ], name: "TotalReserveSynced", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_addr", type: "address" }, { indexed: false, internalType: "contract IERC20", name: "_token", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "UserReserveClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_addr", type: "address" }, { indexed: false, internalType: "contract IERC20", name: "_token", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "UserReserveUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "WRONUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MARKET_CONTRACT_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "WRON", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "claimPendingReserve", outputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" }, { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "claimPendingReserveFor", outputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_addresses", type: "address[]" } ], name: "clearCutPercentages", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "cutPercentage", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "_wron", type: "address" }, { internalType: "address[]", name: "_markets", type: "address[]" }, { internalType: "address[]", name: "_operators", type: "address[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" }, { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "pendingReserve", outputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" }, { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "recordReserveIncreased", outputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], stateMutability: "nonpayable", 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: "_addresses", type: "address[]" }, { internalType: "uint256[]", name: "_percentages", type: "uint256[]" } ], name: "setCutPercentages", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_wron", type: "address" } ], name: "setWRON", 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: [ { internalType: "contract IERC20", name: "", type: "address" } ], name: "totalReserve", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "contract IERC20", name: "", type: "address" } ], name: "userReserve", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MARKETPLACE_REFERRAL_LOGIC = { name: "Marketplace Referral Logic", address: "0x7ce6123c6950b64cc69d8de163c0f3c44efb49d7", is_deprecated: false, created_at: 1653288263, abi: abi256 }; var marketplace_referral_logic_default = MARKETPLACE_REFERRAL_LOGIC; // src/contracts/material_erc1155.ts var abi257 = [ { inputs: [], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "batchMintMaterials", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "bulkMintMaterial", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" }, { internalType: "address[]", name: "minters", type: "address[]" }, { internalType: "string", name: "uri_", type: "string" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mintMaterial", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "uri_", type: "string" } ], name: "setURI", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var MATERIAL_ERC1155 = { name: "Material ERC1155", address: "0x3dc7450004eaee078d4d2b7409f9668b1a1fd50c", is_deprecated: false, created_at: 1701241466, abi: abi257 }; var material_erc1155_default = MATERIAL_ERC1155; // src/contracts/material_erc1155_proxy.ts var abi258 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MATERIAL_ERC1155_PROXY = { name: "Material ERC1155 Proxy", address: "0x12b707c3d2786570cfdc3a998a085b62acdba4b3", is_deprecated: false, created_at: 1701241466, abi: abi258 }; var material_erc1155_proxy_default = MATERIAL_ERC1155_PROXY; // src/contracts/mavis_launchpad.ts var abi259 = [ { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [], name: "ErrDuplicatedAllowedUser", type: "error" }, { inputs: [], name: "ErrEnforcedLaunchPause", type: "error" }, { inputs: [], name: "ErrExpectedLaunchPause", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrFallbackFailed", type: "error" }, { inputs: [], name: "ErrFeeExceedsMintPrice", type: "error" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "ErrHasValueWhileMintByERC20", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectConditionalType", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "actual", type: "uint8" }, { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectStageType", type: "error" }, { inputs: [ { internalType: "uint256", name: "actual", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "ErrInsufficientTxValue", type: "error" }, { inputs: [], name: "ErrInvalidAllowedUser", type: "error" }, { inputs: [], name: "ErrInvalidAmountMintablePerReqToken", type: "error" }, { inputs: [], name: "ErrInvalidCreator", type: "error" }, { inputs: [], name: "ErrInvalidCurrency", type: "error" }, { inputs: [], name: "ErrInvalidFeeBasicPoint", type: "error" }, { inputs: [], name: "ErrInvalidFeeParty", type: "error" }, { inputs: [], name: "ErrInvalidFeeRecipient", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumSuppliesCondStg", type: "uint256" }, { internalType: "uint256", name: "launchSupply", type: "uint256" } ], name: "ErrInvalidLaunchSupply", type: "error" }, { inputs: [], name: "ErrInvalidMaxMintablePerWallet", type: "error" }, { inputs: [], name: "ErrInvalidMaxSupply", type: "error" }, { inputs: [], name: "ErrInvalidRequirementToken", type: "error" }, { inputs: [], name: "ErrInvalidSignerAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageIndex", type: "error" }, { inputs: [], name: "ErrInvalidStageLogicAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageTime", type: "error" }, { inputs: [], name: "ErrInvalidStageType", type: "error" }, { inputs: [], name: "ErrInvalidTierId", type: "error" }, { inputs: [], name: "ErrInvalidTokenStandard", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "uint256", name: "limitPerWallet", type: "uint256" }, { internalType: "uint256", name: "remainMintable", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrLimitPerWalletExceeded", type: "error" }, { inputs: [ { internalType: "uint256", name: "remainingSupply", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrMaxSupplyExceeded", type: "error" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "ErrMinterNotAllowed", type: "error" }, { inputs: [], name: "ErrMismatchMintQtyAndSumReqQty", type: "error" }, { inputs: [], name: "ErrNFTContractExisted", type: "error" }, { inputs: [], name: "ErrNFTContractNotExisted", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrNotAllowedCallingAccessControl", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrNotOwnRequirementToken", type: "error" }, { inputs: [], name: "ErrNotZeroSupplyForPublicStage", type: "error" }, { inputs: [], name: "ErrStageEnded", type: "error" }, { inputs: [], name: "ErrStageNotStarted", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumReqQuantities", type: "uint256" }, { internalType: "uint256", name: "actualQuantity", type: "uint256" } ], name: "ErrSumReqQuantitiesInsufficient", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrTokenIdRedeemed", type: "error" }, { inputs: [], name: "ErrTooMuchConditionalStages", type: "error" }, { inputs: [], name: "ErrUnsupportedNFTInterface", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [], name: "ErrZeroLaunchSupply", type: "error" }, { inputs: [], name: "ErrZeroMintQuantity", type: "error" }, { inputs: [], name: "ErrZeroReqQuantity", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchUnpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" } ], indexed: false, internalType: "struct ILaunchpadStructs.PublicStage", name: "publicStage", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "stageIndexes", type: "uint8[]" } ], name: "LaunchpadDataAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" } ], name: "LaunchpadDataUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "total", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalMintedPerWallet", type: "uint256" } ], name: "MintQuantityRecorded", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], indexed: false, internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType", name: "stageType", type: "uint8" }, { indexed: false, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "address", name: "minter", type: "address" }, { indexed: false, internalType: "uint256", name: "actualPrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "actualMintQuantity", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "mintedIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "mintedAmounts", type: "uint256[]" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], indexed: false, internalType: "struct ILaunchpadStructs.PaymentShare[]", name: "shares", type: "tuple[]" } ], name: "MintSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "launchId", type: "uint256" }, { indexed: false, internalType: "address", name: "oldAddress", type: "address" }, { indexed: false, internalType: "address", name: "newAddress", type: "address" } ], name: "NFTContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "newStageIndexes", type: "uint8[]" } ], name: "NewStageInfoAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "NewTierAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "reqToken", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "requestRedeemPerIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "actualRedeemedPerIds", type: "uint256[]" } ], name: "RequirementTokenRedeemed", 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: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "bytes", name: "stageData", type: "bytes" } ], name: "StageInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "address[]", name: "logicAddrs", type: "address[]" } ], name: "StageLogicUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newSwapForwarder", type: "address" } ], name: "SwapForwarderUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "TierInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "uint8[]", name: "tierIds", type: "uint8[]" }, { indexed: false, internalType: "address[][]", name: "usersByTier", type: "address[][]" } ], name: "UsersAssignedToTier", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "wron", type: "address" }, { indexed: false, internalType: "address", name: "wronHelper", type: "address" } ], name: "WronConfigUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "addAllowUsers", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { internalType: "address", name: "creator", type: "address" }, { internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" } ], internalType: "struct ILaunchpadStructs.PublicStage", name: "publicStage", type: "tuple" }, { internalType: "enum ILaunchpadStructs.StageType[]", name: "conditionalTypes", type: "uint8[]" }, { internalType: "bytes[]", name: "conditionalStages", type: "bytes[]" } ], name: "addNewLaunchpad", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "enum ILaunchpadStructs.StageType[]", name: "conditionalTypes", type: "uint8[]" }, { internalType: "bytes[]", name: "conditionalStages", type: "bytes[]" } ], name: "addNewStageInfos", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "addNewTierInfo", outputs: [ { internalType: "uint8", name: "newTierId", type: "uint8" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "uint8[]", name: "tierIds", type: "uint8[]" }, { internalType: "address[][]", name: "usersByTier", type: "address[][]" } ], name: "assignUsersToTier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "address", name: "minter", type: "address" } ], name: "checkIsEligible", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "stageType", type: "uint8" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "execute", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "getAllConstants", outputs: [ { internalType: "uint256", name: "maxPercentage", type: "uint256" }, { internalType: "uint32", name: "infiniteLimit", type: "uint32" }, { internalType: "uint8", name: "publicStageIndex", type: "uint8" }, { internalType: "uint64", name: "infiniteTimestamp", type: "uint64" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "getAllLaunchpads", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "getAllStages", outputs: [ { internalType: "uint256[][3]", name: "stageIndexes", type: "uint256[][3]" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" } ], internalType: "struct ILaunchpadStructs.PublicStage", name: "", type: "tuple" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" } ], internalType: "struct ILaunchpadStructs.AllowListStage[]", name: "", type: "tuple[]" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" }, { internalType: "address", name: "allowedToken", type: "address" }, { internalType: "uint32", name: "limitQtyPerReqToken", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.TokenGatedStage[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "getLaunchpadData", outputs: [ { internalType: "address", name: "creator", type: "address" }, { internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { internalType: "uint256", name: "launchSupply", type: "uint256" }, { internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocs", type: "tuple[]" }, { internalType: "uint256", name: "latestStageIndex", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" } ], name: "getMintedQtyAtStage", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "address", name: "user", type: "address" } ], name: "getMintedQtyByUserAtStage", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "address", name: "reqToken", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "getRedeemedInfos", outputs: [ { internalType: "uint256[]", name: "redeemedAmounts", type: "uint256[]" }, { internalType: "uint256[]", name: "remainAmounts", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" } ], name: "getStageLogicsOf", outputs: [ { internalType: "address[]", name: "logics", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "address", name: "user", type: "address" } ], name: "getTierOfUser", outputs: [ { internalType: "bool", name: "hasTier", type: "bool" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], internalType: "struct ILaunchpadStructs.UserTier", name: "tierInfo", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "user", type: "address" } ], name: "getTotalMintedByUser", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "getTotalMintedOfNFTContract", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getWronConfigs", outputs: [ { internalType: "address", name: "wron", type: "address" }, { internalType: "address", name: "wronHelper", type: "address" } ], 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: "admin", type: "address" }, { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "address[]", name: "pausers", type: "address[]" }, { internalType: "address", name: "wron", type: "address" }, { internalType: "address", name: "wronHelper", type: "address" }, { internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { internalType: "address[]", name: "logicAddrs", type: "address[]" }, { internalType: "address", name: "swapForwarder", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "forwarder", type: "address" } ], name: "isTrustedForwarder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "pauseLaunch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "pausedOf", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "removeAllowUsers", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { internalType: "address[]", name: "logicAddrs", type: "address[]" } ], name: "setStageLogicAddresses", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "swapForwarder", type: "address" } ], name: "setSwapForwarder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "wron", type: "address" }, { internalType: "address", name: "wronHelper", type: "address" } ], name: "setWronConfigs", 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: "trustedForwarder", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "unpauseLaunch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { internalType: "address", name: "creator", type: "address" }, { internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" } ], name: "updateLaunchpadInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "oldNftContract", type: "address" }, { internalType: "address", name: "newNftContract", type: "address" } ], name: "updateNftContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "stageData", type: "bytes" } ], name: "updateStageInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "updateTierInfo", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var MAVIS_LAUNCHPAD = { name: "Mavis Launchpad", address: "0xcc586c388ba7449e885848033ee8350dc8cdd4a3", is_deprecated: false, created_at: 1719561138, abi: abi259 }; var mavis_launchpad_default = MAVIS_LAUNCHPAD; // src/contracts/mavis_launchpad_proxy.ts var abi260 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var MAVIS_LAUNCHPAD_PROXY = { name: "Mavis Launchpad Proxy", address: "0xa8e9fdf57bbd991c3f494273198606632769db99", is_deprecated: false, created_at: 1711516331, abi: abi260 }; var mavis_launchpad_proxy_default = MAVIS_LAUNCHPAD_PROXY; // src/contracts/mavis_order_exchange.ts var abi261 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "maker", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "MakerNonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "", type: "bytes32" }, { indexed: false, internalType: "address", name: "requester", type: "address" } ], name: "OrderCancelled", type: "event" }, { anonymous: false, inputs: [ { components: [ { components: [ { internalType: "address", name: "maker", type: "address" }, { internalType: "enum OrderKind", name: "kind", type: "uint8" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "baseUnitPrice", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" }, { internalType: "uint256", name: "endedUnitPrice", type: "uint256" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bool", name: "verified", type: "bool" } ], internalType: "struct GenericOrder", name: "info", type: "tuple" }, { internalType: "uint256", name: "realPrice", type: "uint256" }, { internalType: "bytes", name: "extraData", type: "bytes" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], indexed: false, internalType: "struct GenericOrderExtended", name: "order", type: "tuple" }, { indexed: false, internalType: "uint256", name: "settlePrice", type: "uint256" }, { indexed: false, internalType: "address", name: "settleToken", type: "address" }, { indexed: false, internalType: "address", name: "matcher", type: "address" }, { indexed: false, internalType: "uint256", name: "acceptedSettlePrice", type: "uint256" }, { components: [ { internalType: "enum IMarketCommission.AllocType", name: "allocType", type: "uint8" }, { internalType: "address payable", name: "recipient", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "ratio", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], indexed: false, internalType: "struct IMarketCommission.Allocation[]", name: "receivedAllocs", type: "tuple[]" } ], name: "OrderMatched", 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" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MARKET_OPERATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "orderData", type: "bytes" } ], name: "cancelOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Asset[]", name: "assets", type: "tuple[]" } ], name: "getState", outputs: [ { internalType: "uint256", name: "", 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: [], name: "increaseNonceMaker", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "interfaceName", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "maker", type: "address" } ], name: "makerNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], name: "orderFinalized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bytes", name: "orderData", type: "bytes" } ], name: "orderValid", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", 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: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "settlePrice", type: "uint256" } ], name: "settleOrder", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "swapRONAndSettleOrder", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "bytes", name: "orderData", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address", name: "referralAddr", type: "address" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "address", name: "refunder", type: "address" } ], internalType: "struct SettleParameter", name: "settleInfo", type: "tuple" }, { internalType: "uint256", name: "settlePrice", type: "uint256" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "swapTokensAndSettleOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "hashList", type: "bytes32[]" } ], name: "tryBulkCancelOrderByHash", outputs: [ { internalType: "bool[]", name: "orderAlreadyFinalized", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" } ]; var MAVIS_ORDER_EXCHANGE = { name: "Mavis Order Exchange", address: "0xb24592970973a80014fa80feb895873094909b3c", is_deprecated: false, created_at: 1700553615, abi: abi261 }; var mavis_order_exchange_default = MAVIS_ORDER_EXCHANGE; // src/contracts/mavis_pay.ts var abi262 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bool", name: "flag", type: "bool" } ], name: "AllowedAllPaymentTokens", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract IKatanaRouter", name: "router", type: "address" } ], name: "KanataRouterUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "payService", type: "address" }, { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "NoncePayServiceIncreased", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address[]", name: "payServices", type: "address[]" }, { indexed: true, internalType: "address[]", name: "treasuries", type: "address[]" } ], name: "PayServiceInfosUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "orderId", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "price", type: "uint256" }, { indexed: true, internalType: "address", name: "paymentToken", type: "address" }, { indexed: false, internalType: "uint256", name: "validUntil", type: "uint256" }, { indexed: false, internalType: "address", name: "buyer", type: "address" }, { indexed: false, internalType: "address", name: "payToken", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "PaymentSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address[]", name: "tokens", type: "address[]" }, { indexed: true, internalType: "bool", name: "allowed", type: "bool" } ], name: "PaymentTokensAllowed", 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: "contract IWRONHelper", name: "wronHelper", type: "address" } ], name: "WRONHelperUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract IWRON", name: "wron", type: "address" } ], name: "WRONUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "WRON", outputs: [ { internalType: "contract IWRON", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "allowedAllPaymentTokens", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "allowedPaymentToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "payService", type: "address" } ], name: "getNonce", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "payService", type: "address" } ], name: "getTreasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", 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: "payService", type: "address" } ], name: "increaseNoncePayService", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "contract IKatanaRouter", name: "katanaRouter", type: "address" }, { internalType: "contract IWRON", name: "wron", type: "address" }, { internalType: "contract IWRONHelper", name: "wronHelper", type: "address" }, { internalType: "bool", name: "allowedAllPaymentTokens", type: "bool" }, { internalType: "address[]", name: "paymentTokens", type: "address[]" }, { internalType: "address[]", name: "payServices", type: "address[]" }, { internalType: "address[]", name: "treasuries", type: "address[]" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "katanaRouterContract", outputs: [ { internalType: "contract IKatanaRouter", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], name: "orderFinalized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "payService", type: "address" }, { internalType: "bytes32", name: "orderId", type: "bytes32" }, { internalType: "uint256", name: "validUntil", type: "uint256" }, { internalType: "uint256", name: "price", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" } ], internalType: "struct GemOrder", name: "order", type: "tuple" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "payWithRON", stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "payService", type: "address" }, { internalType: "bytes32", name: "orderId", type: "bytes32" }, { internalType: "uint256", name: "validUntil", type: "uint256" }, { internalType: "uint256", name: "price", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" } ], internalType: "struct GemOrder", name: "order", type: "tuple" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "payWithToken", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "flag", type: "bool" } ], name: "setAllowedAllPaymentTokens", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IKatanaRouter", name: "katanaRouter", type: "address" } ], name: "setKatanaRouter", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "payServices", type: "address[]" }, { internalType: "address[]", name: "treasuries", type: "address[]" } ], name: "setPayServiceInfos", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "tokens", type: "address[]" }, { internalType: "bool", name: "allowed", type: "bool" } ], name: "setPaymentTokens", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IWRON", name: "wron", type: "address" } ], name: "setWRON", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IWRONHelper", name: "wronHelper", type: "address" } ], name: "setWRONHelper", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "payService", type: "address" }, { internalType: "bytes32", name: "orderId", type: "bytes32" }, { internalType: "uint256", name: "validUntil", type: "uint256" }, { internalType: "uint256", name: "price", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" } ], internalType: "struct GemOrder", name: "order", type: "tuple" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapRONAndPay", stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "payService", type: "address" }, { internalType: "bytes32", name: "orderId", type: "bytes32" }, { internalType: "uint256", name: "validUntil", type: "uint256" }, { internalType: "uint256", name: "price", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" } ], internalType: "struct GemOrder", name: "order", type: "tuple" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapTokenAndPay", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "wronHelperContract", outputs: [ { internalType: "contract IWRONHelper", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var MAVIS_PAY = { name: "Mavis Pay", address: "0x584514fa22f057a4b49ea136a0c4e8e89d9178df", is_deprecated: false, created_at: 1730272654, abi: abi262 }; var mavis_pay_default = MAVIS_PAY; // src/contracts/mavis_pay_proxy.ts var abi263 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MAVIS_PAY_PROXY = { name: "Mavis Pay Proxy", address: "0x6af384e0bf2ce190e7260f8aeaeed9116bba36e3", is_deprecated: false, created_at: 1691120485, abi: abi263 }; var mavis_pay_proxy_default = MAVIS_PAY_PROXY; // src/contracts/mavis_presale_proxy.ts var abi264 = [ { inputs: [ { internalType: "address", name: "implementation_", type: "address" }, { internalType: "address", name: "initialOwner", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "BeaconInvalidImplementation", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "OwnableInvalidOwner", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "OwnableUnauthorizedAccount", type: "error" }, { 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: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", stateMutability: "nonpayable", type: "function" } ]; var MAVIS_PRESALE_PROXY = { name: "Mavis Presale Proxy", address: "0xe99e8ee2ff5fbdac8801708cf1d3002249ec879c", is_deprecated: false, created_at: 1727857600, abi: abi264 }; var mavis_presale_proxy_default = MAVIS_PRESALE_PROXY; // src/contracts/mavis_store_extended_proxy.ts var abi265 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var MAVIS_STORE_EXTENDED_PROXY = { name: "Mavis Store Extended Proxy", address: "0xa650570c41ee2f8448a40e2b45c92f5d2ba13d2f", is_deprecated: false, created_at: 1706524699, abi: abi265 }; var mavis_store_extended_proxy_default = MAVIS_STORE_EXTENDED_PROXY; // src/contracts/mavis_store_proxy.ts var abi266 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MAVIS_STORE_PROXY = { name: "Mavis Store Proxy", address: "0x8a28c188a067dfa6aaec36e2b67b34d2c3042df9", is_deprecated: false, created_at: 1701069325, abi: abi266 }; var mavis_store_proxy_default = MAVIS_STORE_PROXY; // src/contracts/maximillion.ts var abi267 = [ { inputs: [ { internalType: "contract CEther", name: "cEther_", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { constant: true, inputs: [], name: "cEther", outputs: [ { internalType: "contract CEther", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" } ], name: "repayBehalf", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "borrower", type: "address" }, { internalType: "contract CEther", name: "cEther_", type: "address" } ], name: "repayBehalfExplicit", outputs: [], payable: true, stateMutability: "payable", type: "function" } ]; var MAXIMILLION = { name: "Maximillion", address: "0x8ec33467a63ff3c660369d60dcba3b98ebd3642d", is_deprecated: false, created_at: 1681170038, abi: abi267 }; var maximillion_default = MAXIMILLION; // src/contracts/meo_ii_axie_redemption.ts var abi268 = [ { inputs: [ { internalType: "contract IAxie", name: "_axieContract", type: "address" }, { internalType: "contract IERC20Burnable", name: "_axieEggCoin", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "axieContract", outputs: [ { internalType: "contract IAxie", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "axieEggCoin", outputs: [ { internalType: "contract IERC20Burnable", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "bodies", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "coinRequiredPerAxie", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "partGeneDetails", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_seed", type: "uint256" } ], name: "redeemAxie", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IAxie", name: "_axieContract", type: "address" } ], name: "setAxieContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20Burnable", name: "_axieEggCoin", type: "address" } ], name: "setAxieEggCoin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256[]", name: "_bodies", type: "uint256[]" } ], name: "setBodies", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint8", name: "_coinRequiredPerAxie", type: "uint8" } ], name: "setCoinRequiredPerAxie", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_partType", type: "uint256" }, { internalType: "uint256[]", name: "_partGeneDetails", type: "uint256[]" } ], name: "setPartGeneDetails", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var MEO_II_AXIE_REDEMPTION = { name: "Meo II Axie Redemption", address: "0xbcba374d3ae40a19e41c00331b66642945a773f2", is_deprecated: false, created_at: 1622180510, abi: abi268 }; var meo_ii_axie_redemption_default = MEO_II_AXIE_REDEMPTION; // src/contracts/merch_store_proxy.ts var abi269 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var MERCH_STORE_PROXY = { name: "Merch Store Proxy", address: "0x37e14427bb0c09dfe79c465737312d6d7c74f003", is_deprecated: false, created_at: 1726473066, abi: abi269 }; var merch_store_proxy_default = MERCH_STORE_PROXY; // src/contracts/meta_lend_limit_orders_admin.ts var abi270 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeProxyAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" } ], name: "getProxyAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" } ], name: "getProxyImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "implementation", type: "address" } ], name: "upgrade", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var META_LEND_LIMIT_ORDERS_ADMIN = { name: "Meta Lend Limit Orders Admin", address: "0x6085d53ac09673de430beddcb93e9e5de974422f", is_deprecated: false, created_at: 1718925380, abi: abi270 }; var meta_lend_limit_orders_admin_default = META_LEND_LIMIT_ORDERS_ADMIN; // src/contracts/metalend_premium_user.ts var abi271 = [ { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseTokenURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "_mintFor", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "burnAllowed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "toggleBurnAllowed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var METALEND_PREMIUM_USER = { name: "Metalend Premium User", address: "0xb562695af9c95f4da31cca8be72f1cbed327d54a", is_deprecated: false, created_at: 1689973179, abi: abi271 }; var metalend_premium_user_default = METALEND_PREMIUM_USER; // src/contracts/mintable_erc1155.ts var abi272 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", 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: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minter", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mintingStopped", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newMinter", type: "address" } ], name: "setMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "stopMinting", 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: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_newUri", type: "string" } ], name: "updateURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var MINTABLE_ERC1155 = { name: "Mintable ERC1155", address: "0x9598f7c838c39a81ab5c1c1e489f4ad554cbcce9", is_deprecated: false, created_at: 1727131490, abi: abi272 }; var mintable_erc1155_default = MINTABLE_ERC1155; // src/contracts/minter.ts var abi273 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "AddressInsufficientBalance", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidAirdropId", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "InvalidValidatorContract", type: "error" }, { inputs: [], name: "ItemAlreadyMinted", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "NoValidatorContract", type: "error" }, { inputs: [], name: "NotEnoughPayment", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [], name: "SignatureAlreadyUsed", type: "error" }, { inputs: [], name: "SignatureExpired", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "treasuryAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "FundsSentToTreasury", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint256", name: "oldMintPrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newMintPrice", type: "uint256" } ], name: "MintPriceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "airDropId", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "mintedTokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "genesisTokenIds", type: "uint256[]" }, { indexed: false, internalType: "address[]", name: "recipients", type: "address[]" }, { indexed: false, internalType: "string", name: "mergedDetails", type: "string" } ], name: "NFTAirDroppedBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "price", type: "uint256" }, { indexed: false, internalType: "string", name: "details", type: "string" } ], name: "OffchainItemPurchased", 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: "address", name: "oldAddress", type: "address" }, { indexed: true, internalType: "address", name: "newAddress", type: "address" } ], name: "TreasuryUpdated", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "string", name: "itemId", type: "string" }, { indexed: true, internalType: "uint256", name: "mintedTokenId", type: "uint256" }, { indexed: false, internalType: "string", name: "details", type: "string" }, { indexed: false, internalType: "string", name: "counterName", type: "string" }, { indexed: false, internalType: "uint256", name: "counterValue", type: "uint256" } ], name: "UserMintedNFT", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract Validator", name: "oldContract", type: "address" }, { indexed: true, internalType: "contract Validator", name: "newContract", type: "address" } ], name: "ValidatorContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Withdraw", type: "event" }, { inputs: [], name: "AIRDROP_ID_MULTIPLIER", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "airDropId", type: "uint256" }, { internalType: "contract IExplicitTokenIdNFT", name: "nftContract", type: "address" }, { internalType: "uint256[]", name: "genesisTokenIDs", type: "uint256[]" }, { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "bool", name: "useSafeMint", type: "bool" }, { internalType: "string", name: "details", type: "string" } ], name: "adminAirDropNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "recipients", type: "address[]" }, { internalType: "string[]", name: "details", type: "string[]" } ], name: "adminBatchGiftOffchainItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "string", name: "details", type: "string" } ], name: "adminGiftOffchainItem", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "uint256", name: "mintPrice", type: "uint256" } ], name: "adminSetMintPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "newTreasuryAddress", type: "address" } ], name: "adminSetTreasuryAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract Validator", name: "validator", type: "address" } ], name: "adminSetValidatorContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "adminWithdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "recipient", type: "address" } ], name: "adminWithdrawAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "baseVersion", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "airDropId", type: "uint256" }, { internalType: "uint256", name: "genesisTokenId", type: "uint256" } ], name: "encodeTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "string", name: "counterName", type: "string" } ], name: "getMintCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" } ], name: "getMintPrice", outputs: [ { internalType: "uint256", name: "", 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: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "string", name: "itemId", type: "string" } ], name: "getUserMintedTokenId", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "price", type: "uint256" }, { internalType: "uint256", name: "expireTime", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "string", name: "details", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "bool", name: "verifyMessageHash", type: "bool" } ], internalType: "struct Minter.OffchainPurchasePayload", name: "payload", type: "tuple" } ], name: "purchaseOffchainItem", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "treasuryAddress", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "string", name: "itemId", type: "string" }, { internalType: "uint256", name: "expireTime", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "string", name: "details", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "string", name: "counterName", type: "string" }, { internalType: "bool", name: "verifyMessageHash", type: "bool" } ], internalType: "struct Minter.UserMintPayload", name: "payload", type: "tuple" } ], name: "userMintNFT", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "validatorContract", outputs: [ { internalType: "contract Validator", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var MINTER = { name: "Minter", address: "0x5270ead1da6b3ebdd5b72e616b30d646a7ebdfc5", is_deprecated: false, created_at: 1723513038, abi: abi273 }; var minter_default = MINTER; // src/contracts/mirpass_proxy.ts var abi274 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var MIRPASS_PROXY = { name: "Mirpass Proxy", address: "0xeaa05784e6da3ee53027dc0507cf3970c246c638", is_deprecated: false, created_at: 1730106684, abi: abi274 }; var mirpass_proxy_default = MIRPASS_PROXY; // src/contracts/moki_minter.ts var abi275 = [ { inputs: [ { internalType: "address", name: "_mavisLaunchPad", type: "address" }, { internalType: "address", name: "_mokiNFT", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [], name: "mavisLaunchPad", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_quantity", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "mintLaunchpad", outputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "mokiNFT", outputs: [ { internalType: "contract IMokiNFT", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_to", type: "address[]" } ], name: "ownerMintFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_to", type: "address[]" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "ownerMintIds", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_mavisLaunchPad", type: "address" } ], name: "setMavisLaunchPad", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_mokiNFT", type: "address" } ], name: "setMokiNFT", 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: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var MOKI_MINTER = { name: "Moki Minter", address: "0xf74d6305ca0eeaeaf88071308f8b07022133e4d5", is_deprecated: false, created_at: 1719772216, abi: abi275 }; var moki_minter_default = MOKI_MINTER; // src/contracts/moki_nft.ts var abi276 = [ { inputs: [ { internalType: "address", name: "_minterContract", type: "address" }, { internalType: "string", name: "_newBaseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "approvedContract", type: "address" } ], name: "TokenLocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "approvedContract", type: "address" } ], name: "TokenUnlocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "_baseURI", type: "string" } ], name: "newBaseURI", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_minterContract", type: "address" } ], name: "newMinterContract", type: "event" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "approvedContract", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "address", name: "_contract", type: "address" } ], name: "freeId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "isUnlocked", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "lockCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "lockId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "lockMap", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "lockMapIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_id", type: "uint256" } ], name: "mintNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_to", type: "address[]" }, { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "mintNFTBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minterContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_newBaseURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newMinter", type: "address" } ], name: "setMinterContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "unlockId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_contracts", type: "address[]" }, { internalType: "bool[]", name: "_values", type: "bool[]" } ], name: "updateApprovedContracts", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var MOKI_NFT = { name: "Moki NFT", address: "0x47b5a7c2e4f07772696bbf8c8c32fe2b9eabd550", is_deprecated: false, created_at: 1719772213, abi: abi276 }; var moki_nft_default = MOKI_NFT; // src/contracts/moki_raffle.ts var abi277 = [ { inputs: [ { internalType: "address", name: "_mokuTreasury", type: "address" }, { internalType: "uint256", name: "_ticketPrice", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "buyTicket", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_startIndex", type: "uint256" }, { internalType: "uint256", name: "_maxLen", type: "uint256" } ], name: "getParticipantsTickets", outputs: [ { internalType: "address[]", name: "", type: "address[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "isFinished", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "isPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mokuTreasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "participantAddresses", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "participantTicketCounts", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "participantsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_participants", type: "address[]" }, { internalType: "uint256[]", name: "_ticketAmounts", type: "uint256[]" } ], name: "refundLosingTickets", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "rescueRon", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "setFinished", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "_paused", type: "bool" } ], name: "setPaused", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_mokuTreasury", type: "address" } ], name: "setTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "ticketPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "ticketsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var MOKI_RAFFLE = { name: "Moki Raffle", address: "0x8132021a0960877e758151ab32702b10fb5d066e", is_deprecated: false, created_at: 1718747013, abi: abi277 }; var moki_raffle_default = MOKI_RAFFLE; // src/contracts/moku_proxy_admin.ts var abi278 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeProxyAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" } ], name: "getProxyAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" } ], name: "getProxyImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "implementation", type: "address" } ], name: "upgrade", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract ITransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var MOKU_PROXY_ADMIN = { name: "Moku Proxy Admin", address: "0x405082ae22b3ca0113a7fb97820b7a53fd379dae", is_deprecated: false, created_at: 1715902749, abi: abi278 }; var moku_proxy_admin_default = MOKU_PROXY_ADMIN; // src/contracts/monster_distributor.ts var abi279 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "index", type: "uint256" }, { indexed: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Minted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "mintingId", type: "uint256" }, { indexed: true, internalType: "uint16", name: "monsterType", type: "uint16" }, { indexed: false, internalType: "uint256", name: "tickets", type: "uint256" }, { indexed: false, internalType: "uint256", name: "startedAt", type: "uint256" }, { indexed: false, internalType: "uint256", name: "finishedAt", type: "uint256" }, { indexed: false, internalType: "uint256", name: "limit", type: "uint256" } ], name: "MintingCreated", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NYANGKIT", outputs: [ { internalType: "contract INyangKit", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "RAGMON", outputs: [ { internalType: "contract IRagmon", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint16", name: "_monsterType", type: "uint16" }, { internalType: "uint256", name: "_tickets", type: "uint256" }, { internalType: "uint256", name: "_startedAt", type: "uint256" }, { internalType: "uint256", name: "_finishedAt", type: "uint256" }, { internalType: "uint256", name: "_limit", type: "uint256" } ], name: "addMinting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "address", name: "_to", type: "address" } ], name: "bulkMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "bulkMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], 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: "_ragmon", type: "address" }, { internalType: "address", name: "_nyangkit", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "lastMintingId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "address", name: "_to", type: "address" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mintedAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mintings", outputs: [ { internalType: "uint16", name: "monsterType", type: "uint16" }, { internalType: "uint256", name: "tickets", type: "uint256" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "finishedAt", type: "uint256" }, { internalType: "uint256", name: "limit", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "uint16", name: "_monsterType", type: "uint16" }, { internalType: "uint256", name: "_tickets", type: "uint256" } ], name: "updateMinting", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var MONSTER_DISTRIBUTOR = { name: "Monster Distributor", address: "0x37a8e964c291169ae9e5618d5da56ac8596b379d", is_deprecated: false, created_at: 1719398704, abi: abi279 }; var monster_distributor_default = MONSTER_DISTRIBUTOR; // src/contracts/monster_distributor_proxy.ts var abi280 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MONSTER_DISTRIBUTOR_PROXY = { name: "Monster Distributor Proxy", address: "0x38edcd0d30e161b284a197953d655fbb96e1498c", is_deprecated: false, created_at: 1718725047, abi: abi280 }; var monster_distributor_proxy_default = MONSTER_DISTRIBUTOR_PROXY; // src/contracts/monthly_token_distributor.ts var abi281 = [ { inputs: [ { internalType: "contract IERC20", name: "_tokenAddress", type: "address" }, { internalType: "address", name: "_operator", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: true, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: true, internalType: "uint256", name: "monthNumber", type: "uint256" } ], name: "TokenSent", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_year", type: "uint256" }, { internalType: "uint256", name: "_month", type: "uint256" }, { internalType: "address", name: "_recipient", type: "address" } ], name: "amountReceived", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "currentMonthNumber", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_year", type: "uint256" }, { internalType: "uint256", name: "_month", type: "uint256" }, { internalType: "address[]", name: "_recipients", type: "address[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "distributeTokens", outputs: [ { internalType: "uint256", name: "_recipientCount", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "token", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var MONTHLY_TOKEN_DISTRIBUTOR = { name: "Monthly Token Distributor", address: "0x8b5d69ac8c7dcaf87c0d13e33459f470f6399cf0", is_deprecated: true, created_at: 1633062723, abi: abi281 }; var monthly_token_distributor_default = MONTHLY_TOKEN_DISTRIBUTOR; // src/contracts/multi_read.ts var abi282 = [ { inputs: [ { internalType: "address[]", name: "initialTokens", type: "address[]" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "oldOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnerSet", type: "event" }, { inputs: [ { internalType: "address", name: "tokenAddr", type: "address" } ], name: "addErc20Token", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "changeOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "wallets", type: "address[]" } ], name: "getBalances", outputs: [ { internalType: "uint256[]", name: "nativeBalances", type: "uint256[]" }, { internalType: "uint256[][]", name: "tokenBalances", type: "uint256[][]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getErc20TokenList", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "tokenAddr", type: "address" } ], name: "removeErc20Token", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var MULTI_READ = { name: "Multi Read", address: "0x864ac7a77db1a87d0b0d6061c98755e8fa5fb1a5", is_deprecated: false, created_at: 1727294309, abi: abi282 }; var multi_read_default = MULTI_READ; // src/contracts/multi_send.ts var abi283 = [ { inputs: [], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "oldOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnerSet", type: "event" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "changeOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "charge", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address[]", name: "recipients", type: "address[]" } ], name: "getBatchBalance", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address payable[]", name: "addrs", type: "address[]" }, { internalType: "uint256[]", name: "amnts", type: "uint256[]" } ], name: "withdrawls", outputs: [], stateMutability: "payable", type: "function" } ]; var MULTI_SEND = { name: "Multi Send", address: "0x263eebee6ced9ff47fc9208cd461114e79a03f27", is_deprecated: false, created_at: 1698084111, abi: abi283 }; var multi_send_default = MULTI_SEND; // src/contracts/multi_send_call_only.ts var abi284 = [ { inputs: [ { internalType: "bytes", name: "transactions", type: "bytes" } ], name: "multiSend", outputs: [], stateMutability: "payable", type: "function" } ]; var MULTI_SEND_CALL_ONLY = { name: "Multi Send Call Only", address: "0x40a2accbd92bca938b02010e17a5b8929b49130d", is_deprecated: false, created_at: 1635392455, abi: abi284 }; var multi_send_call_only_default = MULTI_SEND_CALL_ONLY; // src/contracts/multi_soulbound_rewarder.ts var abi285 = [ { inputs: [ { internalType: "address", name: "erc1155", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { 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: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "address", name: "rewardToken", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "RewardClaimed", type: "event" }, { inputs: [], name: "achievement", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "reward_index", type: "uint256" }, { internalType: "uint256[]", name: "nftIds", type: "uint256[]" } ], name: "addNfts", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "address", name: "claimer", type: "address" } ], name: "claim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "claimers", type: "address[]" } ], name: "claimAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "enum MultiSoulboundRewarder.RewardType[]", name: "rewardTypes", type: "uint8[]" }, { internalType: "address[]", name: "rewardTokens", type: "address[]" }, { internalType: "uint256[]", name: "totalRewards", type: "uint256[]" }, { internalType: "uint256[]", name: "rewardsPerTokens", type: "uint256[]" }, { internalType: "uint256[][]", name: "nftIdsArr", type: "uint256[][]" } ], name: "configureRewards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "endReward", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "endRewards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "rewardIndex", type: "uint256" } ], name: "getNextNFTRewardId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "mintingStoppedForToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "reward_index", type: "uint256" }, { internalType: "address", name: "rewardToken", type: "address" }, { internalType: "uint256", name: "totalReward", type: "uint256" }, { internalType: "uint256", name: "rewardsPerToken", type: "uint256" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "modifyReward", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "address", name: "user", type: "address" } ], name: "previewReward", outputs: [ { internalType: "address[]", name: "", type: "address[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "users", type: "address[]" } ], name: "previewRewards", outputs: [ { internalType: "address[][]", name: "", type: "address[][]" }, { internalType: "uint256[][]", name: "", type: "uint256[][]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "rewardIndex", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "nftStartIndex", type: "uint256" }, { internalType: "uint256", name: "nftEndIndex", type: "uint256" } ], name: "recoverReward", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "erc1155", type: "address" } ], name: "setAchievementToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenRewards", outputs: [ { internalType: "enum MultiSoulboundRewarder.RewardType", name: "rewardType", type: "uint8" }, { internalType: "address", name: "rewardToken", type: "address" }, { internalType: "uint256", name: "totalReward", type: "uint256" }, { internalType: "uint256", name: "rewardsPerToken", type: "uint256" }, { internalType: "uint256", name: "totalClaimed", type: "uint256" }, { internalType: "uint256", name: "claimCount", type: "uint256" }, { internalType: "bool", name: "enabled", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenUserClaims", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var MULTI_SOULBOUND_REWARDER = { name: "Multi Soulbound Rewarder", address: "0xc0b3d1912150c45b5b9f8f2f5facd1dbe2f134e8", is_deprecated: false, created_at: 1727131904, abi: abi285 }; var multi_soulbound_rewarder_default = MULTI_SOULBOUND_REWARDER; // src/contracts/multicall.ts var abi286 = [ { inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall.Call[]", name: "calls", type: "tuple[]" } ], name: "aggregate", outputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "bytes[]", name: "returnData", type: "bytes[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" } ], name: "getBlockHash", outputs: [ { internalType: "bytes32", name: "blockHash", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockCoinbase", outputs: [ { internalType: "address", name: "coinbase", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockDifficulty", outputs: [ { internalType: "uint256", name: "difficulty", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockGasLimit", outputs: [ { internalType: "uint256", name: "gaslimit", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockTimestamp", outputs: [ { internalType: "uint256", name: "timestamp", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "getEthBalance", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getLastBlockHash", outputs: [ { internalType: "bytes32", name: "blockHash", type: "bytes32" } ], stateMutability: "view", type: "function" } ]; var MULTICALL = { name: "Multicall", address: "0x100319ddae3764b226a2512ceeb66dfa453cb8a6", is_deprecated: false, created_at: 1714838427, abi: abi286 }; var multicall_default = MULTICALL; // src/contracts/multicall_2.ts var abi287 = [ { constant: false, inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall2.Call[]", name: "_calls", type: "tuple[]" } ], name: "aggregate", outputs: [ { internalType: "uint256", name: "_blockNumber", type: "uint256" }, { internalType: "bytes[]", name: "_returnData", type: "bytes[]" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall2.Call[]", name: "_calls", type: "tuple[]" } ], name: "blockAndAggregate", outputs: [ { internalType: "uint256", name: "_blockNumber", type: "uint256" }, { internalType: "bytes32", name: "_blockHash", type: "bytes32" }, { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall2.Result[]", name: "_returnData", type: "tuple[]" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_blockNumber", type: "uint256" } ], name: "getBlockHash", outputs: [ { internalType: "bytes32", name: "_blockHash", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getBlockNumber", outputs: [ { internalType: "uint256", name: "_blockNumber", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCurrentBlockCoinbase", outputs: [ { internalType: "address", name: "_coinbase", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCurrentBlockDifficulty", outputs: [ { internalType: "uint256", name: "_difficulty", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCurrentBlockGasLimit", outputs: [ { internalType: "uint256", name: "_gaslimit", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getCurrentBlockTimestamp", outputs: [ { internalType: "uint256", name: "_timestamp", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getLastBlockHash", outputs: [ { internalType: "bytes32", name: "_blockHash", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "getRonBalance", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "_requireSuccess", type: "bool" }, { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall2.Call[]", name: "_calls", type: "tuple[]" } ], name: "tryAggregate", outputs: [ { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall2.Result[]", name: "_returnData", type: "tuple[]" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "_requireSuccess", type: "bool" }, { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall2.Call[]", name: "_calls", type: "tuple[]" } ], name: "tryBlockAndAggregate", outputs: [ { internalType: "uint256", name: "_blockNumber", type: "uint256" }, { internalType: "bytes32", name: "_blockHash", type: "bytes32" }, { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall2.Result[]", name: "_returnData", type: "tuple[]" } ], payable: false, stateMutability: "nonpayable", type: "function" } ]; var MULTICALL_2 = { name: "Multicall 2", address: "0xc76d0d0d3aa608190f78db02bf2f5aef374fc0b9", is_deprecated: false, created_at: 1635557898, abi: abi287 }; var multicall_2_default = MULTICALL_2; // src/contracts/multicall_3.ts var abi288 = [ { inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall3.Call[]", name: "calls", type: "tuple[]" } ], name: "aggregate", outputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "bytes[]", name: "returnData", type: "bytes[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bool", name: "allowFailure", type: "bool" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall3.Call3[]", name: "calls", type: "tuple[]" } ], name: "aggregate3", outputs: [ { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall3.Result[]", name: "returnData", type: "tuple[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bool", name: "allowFailure", type: "bool" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall3.Call3Value[]", name: "calls", type: "tuple[]" } ], name: "aggregate3Value", outputs: [ { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall3.Result[]", name: "returnData", type: "tuple[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall3.Call[]", name: "calls", type: "tuple[]" } ], name: "blockAndAggregate", outputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "bytes32", name: "blockHash", type: "bytes32" }, { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall3.Result[]", name: "returnData", type: "tuple[]" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "getBasefee", outputs: [ { internalType: "uint256", name: "basefee", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" } ], name: "getBlockHash", outputs: [ { internalType: "bytes32", name: "blockHash", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBlockNumber", outputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getChainId", outputs: [ { internalType: "uint256", name: "chainid", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockCoinbase", outputs: [ { internalType: "address", name: "coinbase", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockDifficulty", outputs: [ { internalType: "uint256", name: "difficulty", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockGasLimit", outputs: [ { internalType: "uint256", name: "gaslimit", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentBlockTimestamp", outputs: [ { internalType: "uint256", name: "timestamp", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "getEthBalance", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getLastBlockHash", outputs: [ { internalType: "bytes32", name: "blockHash", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bool", name: "requireSuccess", type: "bool" }, { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall3.Call[]", name: "calls", type: "tuple[]" } ], name: "tryAggregate", outputs: [ { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall3.Result[]", name: "returnData", type: "tuple[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bool", name: "requireSuccess", type: "bool" }, { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "callData", type: "bytes" } ], internalType: "struct Multicall3.Call[]", name: "calls", type: "tuple[]" } ], name: "tryBlockAndAggregate", outputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "bytes32", name: "blockHash", type: "bytes32" }, { components: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], internalType: "struct Multicall3.Result[]", name: "returnData", type: "tuple[]" } ], stateMutability: "payable", type: "function" } ]; var MULTICALL_3 = { name: "Multicall 3", address: "0xca11bde05977b3631167028862be2a173976ca11", is_deprecated: false, created_at: 1689897030, abi: abi288 }; var multicall_3_default = MULTICALL_3; // src/contracts/mystery_box_claimer_proxy.ts var abi289 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var MYSTERY_BOX_CLAIMER_PROXY = { name: "Mystery Box Claimer Proxy", address: "0xd6f9734c45f0bdffc6cca98fcbff13449f7b586a", is_deprecated: false, created_at: 1711309373, abi: abi289 }; var mystery_box_claimer_proxy_default = MYSTERY_BOX_CLAIMER_PROXY; // src/contracts/mystic_gene_validator.ts var abi290 = [ { inputs: [ { internalType: "contract IAxie", name: "_axieContract", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { constant: true, inputs: [], name: "axieContract", outputs: [ { internalType: "contract IAxie", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "x", type: "uint256" }, { internalType: "uint256", name: "y", type: "uint256" } ], name: "isMystic", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "isMystic", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var MYSTIC_GENE_VALIDATOR = { name: "Mystic Gene Validator", address: "0x03cbdc84a8352735133b7989199c1b4d06fe2a77", is_deprecated: false, created_at: 1681181524, abi: abi290 }; var mystic_gene_validator_default = MYSTIC_GENE_VALIDATOR; // src/contracts/name_checker.ts var abi291 = [ { inputs: [], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "total", type: "uint256" } ], name: "TotalSubStringTooLarge", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint256", name: "wordCount", type: "uint256" }, { indexed: false, internalType: "bool", name: "shouldForbid", type: "bool" } ], name: "ForbiddenWordsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint8", name: "min", type: "uint8" }, { indexed: false, internalType: "uint8", name: "max", type: "uint8" } ], name: "WordRangeUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" } ], name: "containsBlacklistedWord", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" } ], name: "containsInvalidCharacter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" } ], name: "forbidden", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "str", type: "string" } ], name: "getAllSubStrings", outputs: [ { internalType: "string[]", name: "subStrings", type: "string[]" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getWordRange", outputs: [ { internalType: "uint8", name: "min", type: "uint8" }, { internalType: "uint8", name: "max", type: "uint8" } ], 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: "admin", type: "address" }, { internalType: "uint8", name: "min", type: "uint8" }, { internalType: "uint8", name: "max", type: "uint8" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "str", type: "string" } ], name: "pack", outputs: [ { internalType: "uint256", name: "packed", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "string[]", name: "strs", type: "string[]" } ], name: "packBulk", outputs: [ { internalType: "uint256[]", name: "packeds", type: "uint256[]" } ], stateMutability: "pure", 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: "uint256[]", name: "packedWords", type: "uint256[]" }, { internalType: "bool", name: "shouldForbid", type: "bool" } ], name: "setForbiddenWords", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string[]", name: "words", type: "string[]" }, { internalType: "bool", name: "shouldForbid", type: "bool" } ], name: "setForbiddenWords", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "min", type: "uint8" }, { internalType: "uint8", name: "max", type: "uint8" } ], name: "setWordRange", 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: [ { internalType: "uint256", name: "strlen", type: "uint256" } ], name: "totalSubString", outputs: [ { internalType: "uint256", name: "total", type: "uint256" }, { internalType: "uint256", name: "min", type: "uint256" }, { internalType: "uint256", name: "max", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var NAME_CHECKER = { name: "Name Checker", address: "0x5ada2a3e8a56c43f3d7e306a606ec5561bf0b2fc", is_deprecated: false, created_at: 1699254612, abi: abi291 }; var name_checker_default = NAME_CHECKER; // src/contracts/name_checker_proxy.ts var abi292 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var NAME_CHECKER_PROXY = { name: "Name Checker Proxy", address: "0x486334ab27ffdc989fd6cbaf44e711ffa80a7bc2", is_deprecated: false, created_at: 1699254612, abi: abi292 }; var name_checker_proxy_default = NAME_CHECKER_PROXY; // src/contracts/nebula_expedition.ts var abi293 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "expeditionId", type: "uint256" } ], name: "ExpeditionClaimableNow", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "expeditionId", type: "uint256" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256[]", name: "planetIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "optionalAssetIds", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "keyAmount", type: "uint256" } ], name: "JoinedExpedition", 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: "uint256", name: "expeditionId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "startFrom", type: "uint256" }, { indexed: false, internalType: "uint256", name: "endTo", type: "uint256" }, { components: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "minAmount", type: "uint256" }, { internalType: "uint256", name: "maxAmount", type: "uint256" } ], indexed: false, internalType: "struct ExpeditionMeta.StakeInfo", name: "requiredPlanets", type: "tuple" }, { components: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "minAmount", type: "uint256" }, { internalType: "uint256", name: "maxAmount", type: "uint256" } ], indexed: false, internalType: "struct ExpeditionMeta.StakeInfo", name: "optionalAsset", type: "tuple" }, { indexed: false, internalType: "uint256", name: "requiredKeyAmount", type: "uint256" } ], name: "UpdatedExpedition", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" }, { internalType: "uint256", name: "_keyAmount", type: "uint256" } ], name: "exchangeKeyToToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" }, { internalType: "uint256", name: "_keyAmount", type: "uint256" } ], name: "exchangeTokenToKey", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" } ], name: "getExpeditionInfoList", outputs: [ { components: [ { internalType: "uint256", name: "startFrom", type: "uint256" }, { internalType: "uint256", name: "endTo", type: "uint256" }, { components: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "minAmount", type: "uint256" }, { internalType: "uint256", name: "maxAmount", type: "uint256" } ], internalType: "struct ExpeditionMeta.StakeInfo", name: "requiredPlanet", type: "tuple" }, { components: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "minAmount", type: "uint256" }, { internalType: "uint256", name: "maxAmount", type: "uint256" } ], internalType: "struct ExpeditionMeta.StakeInfo", name: "optionalAsset", type: "tuple" }, { internalType: "uint256[]", name: "optionalAssetWhitelistIds", type: "uint256[]" }, { internalType: "uint256[]", name: "apostleWhitelistClasses", type: "uint256[]" }, { internalType: "uint256", name: "requiredKeyAmount", type: "uint256" }, { internalType: "bool", name: "isClaimableNow", type: "bool" } ], internalType: "struct ExpeditionMeta.ExpeditionInfo", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" } ], name: "getExpeditionState", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_expeditionId", type: "uint256" } ], name: "getUserExpedition", outputs: [ { components: [ { internalType: "uint256", name: "joinedAt", type: "uint256" }, { internalType: "uint256[]", name: "planetIds", type: "uint256[]" }, { internalType: "uint256[]", name: "optionalAssetIds", type: "uint256[]" }, { internalType: "uint256", name: "keyAmount", type: "uint256" } ], internalType: "struct ExpeditionMeta.JoinExpedition", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "getUserExpeditionIds", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" }, { internalType: "uint256[]", name: "_planetIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_assetIds", type: "uint256[]" }, { internalType: "uint256", name: "_keyAmount", type: "uint256" } ], name: "joinExpedition", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "lastExpeditionId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" } ], name: "setExpeditionClaimable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" }, { components: [ { internalType: "uint256", name: "startFrom", type: "uint256" }, { internalType: "uint256", name: "endTo", type: "uint256" }, { components: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "minAmount", type: "uint256" }, { internalType: "uint256", name: "maxAmount", type: "uint256" } ], internalType: "struct ExpeditionMeta.StakeInfo", name: "requiredPlanet", type: "tuple" }, { components: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "minAmount", type: "uint256" }, { internalType: "uint256", name: "maxAmount", type: "uint256" } ], internalType: "struct ExpeditionMeta.StakeInfo", name: "optionalAsset", type: "tuple" }, { internalType: "uint256[]", name: "optionalAssetWhitelistIds", type: "uint256[]" }, { internalType: "uint256[]", name: "apostleWhitelistClasses", type: "uint256[]" }, { internalType: "uint256", name: "requiredKeyAmount", type: "uint256" }, { internalType: "bool", name: "isClaimableNow", type: "bool" } ], internalType: "struct ExpeditionMeta.ExpeditionInfo", name: "_info", type: "tuple" } ], name: "setupExpeditionInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_stakingAndKeys", type: "address" }, { internalType: "address", name: "_tokenReceipt", type: "address" }, { internalType: "address", name: "_blacklist", type: "address" } ], name: "setupPeerContracts", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_assetAddress", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "stakeFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" }, { internalType: "address", name: "_assetAddress", type: "address" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], name: "stakeNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "stakingAndKeysAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_assetAddress", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "unstakeFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expeditionId", type: "uint256" }, { internalType: "address", name: "_assetAddress", type: "address" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], name: "unstakeNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var NEBULA_EXPEDITION = { name: "Nebula Expedition", address: "0xcea0249b9aa0a77d55f5a2e1a37433a900ea45a5", is_deprecated: false, created_at: 1715593047, abi: abi293 }; var nebula_expedition_default = NEBULA_EXPEDITION; // src/contracts/nebula_expedition_proxy.ts var abi294 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var NEBULA_EXPEDITION_PROXY = { name: "Nebula Expedition Proxy", address: "0x95a545bf33e29f6787fce060297679d5d89a1107", is_deprecated: false, created_at: 1704968018, abi: abi294 }; var nebula_expedition_proxy_default = NEBULA_EXPEDITION_PROXY; // src/contracts/nft721.ts var abi295 = [ { inputs: [], name: "ErrInvalidArrayLength", type: "error" }, { inputs: [], name: "ErrNonExistentToken", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "ErrUnauthorizedAccount", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", 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: "tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getAllHolders", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getAllList", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], internalType: "struct NFT721.NFT[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getNft", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], internalType: "struct NFT721.NFT", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_account", type: "address" } ], name: "getNftList", outputs: [ { components: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], internalType: "struct NFT721.NFT[]", name: "", type: "tuple[]" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "_prefixURI", type: "string" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "player", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "birthTime", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "multiBurn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "players", type: "address[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "birthTimes", type: "uint256[]" } ], name: "multiMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "players", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256", name: "birthTimes", type: "uint256" } ], name: "multiMintForSinglePlayer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "setGrantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var NFT721 = { name: "NFT721", address: "0x983be3c113453a361065c5d674e84c96b75ea5f8", is_deprecated: false, created_at: 1728633991, abi: abi295 }; var nft721_default = NFT721; // src/contracts/nft721_proxy.ts var abi296 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var NFT721_PROXY = { name: "NFT721 Proxy", address: "0x72288a7f32bec9de4a42bd19a746b9e7798996bb", is_deprecated: false, created_at: 1729522001, abi: abi296 }; var nft721_proxy_default = NFT721_PROXY; // src/contracts/nft_airdrop.ts var abi297 = [ { inputs: [ { internalType: "address", name: "_nftContract", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "contractAddress", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "to", type: "address" } ], name: "NFTAirdropped", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "contractAddress", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "from", type: "address" } ], name: "NFTReceived", 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" }, { inputs: [], name: "ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "addAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "allowedNFTContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "address[]", name: "recipients", type: "address[]" } ], name: "bulkAirdropNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "bulkReceiveNFTs", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalNFTs", outputs: [ { internalType: "uint256", name: "", 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: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "nftInventory", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "revokeAdmin", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newNFTContract", type: "address" } ], name: "updateAllowedNFTContract", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var NFT_AIRDROP = { name: "NFT Airdrop", address: "0xcdaf3ca3d9ef8dfdd304f4823ec6861e0c132c04", is_deprecated: false, created_at: 1716210082, abi: abi297 }; var nft_airdrop_default = NFT_AIRDROP; // src/contracts/nft_airdrop_v3.ts var abi298 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "contract IERC721Mint", name: "_token", type: "address" }, { components: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "user", type: "address" } ], internalType: "struct NFTAirdropV3.NFTInfo[]", name: "_nftInfos", type: "tuple[]" } ], name: "ERC721Mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var NFT_AIRDROP_V3 = { name: "NFT Airdrop V3", address: "0xc1bf296a7246d6e03ddc71346878ea57f8ed12a0", is_deprecated: false, created_at: 1715082198, abi: abi298 }; var nft_airdrop_v3_default = NFT_AIRDROP_V3; // src/contracts/nft_shop.ts var abi299 = [ { inputs: [ { internalType: "contract IERC20", name: "_WETH", type: "address" }, { internalType: "address payable", name: "_receiver", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "contract IERC20", name: "paymentToken", type: "address" }, { indexed: false, internalType: "uint256", name: "cost", type: "uint256" }, { indexed: false, internalType: "contract IMintableERC721V5", name: "receiveNFT", type: "address" }, { indexed: false, internalType: "uint256[]", name: "nftIds", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "Buy", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "FinishAtChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "contract IERC20", name: "paymentToken", type: "address" }, { indexed: false, internalType: "uint256", name: "cost", type: "uint256" }, { indexed: false, internalType: "contract IMintableERC721V5", name: "receiveNFT", type: "address" }, { indexed: false, internalType: "uint256", name: "receiveNum", type: "uint256" }, { indexed: false, internalType: "bool", name: "available", type: "bool" } ], name: "ItemChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IMintableERC721V5", name: "nft", type: "address" }, { indexed: false, internalType: "uint256", name: "oldSupply", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newSupply", type: "uint256" } ], name: "NftSupplyChanged", 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: "oldReceiver", type: "address" }, { indexed: false, internalType: "address", name: "newReceiver", type: "address" } ], name: "ReceiverChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "StartAtChanged", type: "event" }, { inputs: [], name: "WETH", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC20[]", name: "_paymentTokens", type: "address[]" }, { internalType: "uint256[]", name: "_costs", type: "uint256[]" }, { internalType: "contract IMintableERC721V5[]", name: "_receiveNFTs", type: "address[]" }, { internalType: "uint256[]", name: "_receiveNums", type: "uint256[]" } ], name: "addItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "allItems", outputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "contract IERC20", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "cost", type: "uint256" }, { internalType: "contract IMintableERC721V5", name: "receiveNFT", type: "address" }, { internalType: "uint256", name: "receiveNum", type: "uint256" }, { internalType: "bool", name: "available", type: "bool" } ], internalType: "struct NFTShop.Item[]", name: "itemList", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_cost", type: "uint256" }, { internalType: "uint256", name: "_receiveNum", type: "uint256" } ], name: "buy", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "contract IERC20", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "cost", type: "uint256" }, { internalType: "contract IMintableERC721V5", name: "receiveNFT", type: "address" }, { internalType: "uint256", name: "receiveNum", type: "uint256" }, { internalType: "bool", name: "available", type: "bool" } ], internalType: "struct NFTShop.Item[]", name: "_items", type: "tuple[]" } ], name: "changeItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "_receiver", type: "address" } ], name: "changeReceiver", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IMintableERC721V5", name: "_nft", type: "address" }, { internalType: "uint256", name: "_num", type: "uint256" } ], name: "changeSupply", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "disableItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_ids", type: "uint256[]" } ], name: "enableItems", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "finishAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "itemArrayLength", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "itemLength", outputs: [ { internalType: "uint256", name: "length", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "items", outputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "contract IERC20", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "cost", type: "uint256" }, { internalType: "contract IMintableERC721V5", name: "receiveNFT", type: "address" }, { internalType: "uint256", name: "receiveNum", type: "uint256" }, { internalType: "bool", name: "available", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IMintableERC721V5", name: "", type: "address" } ], name: "nftSelled", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IMintableERC721V5", name: "", type: "address" } ], name: "nftSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "receiver", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_finishAt", type: "uint256" } ], name: "setFinishAt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_startAt", type: "uint256" } ], name: "setStartAt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "startAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "contract IMintableERC721V5", name: "", type: "address" } ], name: "userBuyed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var NFT_SHOP = { name: "NFT Shop", address: "0xb43018e260c1bbbcd33f1c3d96482fdd106a54a8", is_deprecated: false, created_at: 1721399760, abi: abi299 }; var nft_shop_default = NFT_SHOP; // src/contracts/nyang_kit.ts var abi300 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { inputs: [], name: "COMMON_YGGDRASIL_BERRY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "EPIC_YGGDRASIL_BERRY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "LEGENDARY_YGGDRASIL_BERRY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MYTHIC_YGGDRASIL_BERRY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NYANGVINE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "RAGMON_TICKET", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "RARE_YGGDRASIL_BERRY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "burnBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], 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: "string", name: "baseTokenURI", type: "string" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mintLaunchpad", outputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mintYggdrasilBerry", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "enum Rarity", name: "rarity", type: "uint8" } ], name: "rarityToYggdrasilBerry", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newURI", type: "string" } ], name: "setURI", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var NYANG_KIT = { name: "Nyang Kit", address: "0xe7ab3720e2ef4268ad1837196634f49313803b16", is_deprecated: false, created_at: 1721752059, abi: abi300 }; var nyang_kit_default = NYANG_KIT; // src/contracts/nyang_kit_proxy.ts var abi301 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var NYANG_KIT_PROXY = { name: "Nyang Kit Proxy", address: "0x59cfa86b6820901ebeddd60f131c473c15eae130", is_deprecated: false, created_at: 1715785400, abi: abi301 }; var nyang_kit_proxy_default = NYANG_KIT_PROXY; // src/contracts/old_axie_proxy_1.ts var abi302 = []; var OLD_AXIE_PROXY_1 = { name: "Old Axie Proxy 1", address: "0xf747740a019712201002ea7d7a7893ad54c0c299", is_deprecated: true, created_at: 1619515859, abi: abi302 }; var old_axie_proxy_1_default = OLD_AXIE_PROXY_1; // src/contracts/old_axie_proxy_2.ts var abi303 = []; var OLD_AXIE_PROXY_2 = { name: "Old Axie Proxy 2", address: "0x469efe320d172a1932b05d19964ae03d989ccb93", is_deprecated: true, created_at: 1619583665, abi: abi303 }; var old_axie_proxy_2_default = OLD_AXIE_PROXY_2; // src/contracts/order_exchange_logic.ts var abi304 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "maker", type: "address" }, { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" } ], name: "MakerNonceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "", type: "bytes32" }, { indexed: false, internalType: "address", name: "requester", type: "address" } ], name: "OrderCancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "hash", type: "bytes32" }, { indexed: false, internalType: "address", name: "maker", type: "address" }, { indexed: false, internalType: "address", name: "matcher", type: "address" }, { indexed: false, internalType: "enum MarketOrder.OrderKind", name: "kind", type: "uint8" }, { indexed: false, internalType: "address", name: "bidToken", type: "address" }, { indexed: false, internalType: "uint256", name: "bidPrice", type: "uint256" }, { indexed: false, internalType: "address", name: "paymentToken", type: "address" }, { indexed: false, internalType: "uint256", name: "settlePrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "sellerReceived", type: "uint256" }, { indexed: false, internalType: "uint256", name: "marketFeePercentage", type: "uint256" }, { indexed: false, internalType: "uint256", name: "marketFeeTaken", type: "uint256" } ], name: "OrderMatched", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "token", type: "address" }, { indexed: false, internalType: "address", name: "referralAddr", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "address", name: "receiver", type: "address" } ], name: "ReferralRewardTransferred", 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" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "INTERFACE_NAME", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MARKET_OPERATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "maker", type: "address" }, { internalType: "enum MarketOrder.OrderKind", name: "kind", type: "uint8" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct MarketAsset.Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "basePrice", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" }, { internalType: "uint256", name: "endedPrice", type: "uint256" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "marketFeePercentage", type: "uint256" } ], internalType: "struct MarketOrder.Order", name: "_order", type: "tuple" } ], name: "cancelOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct MarketAsset.Asset[]", name: "_assets", type: "tuple[]" } ], name: "getState", outputs: [ { internalType: "uint256", name: "", 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: [], name: "increaseNonceMaker", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_maker", type: "address" } ], name: "makerNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_hash", type: "bytes32" } ], name: "orderFinalized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_hash", type: "bytes32" }, { components: [ { internalType: "address", name: "maker", type: "address" }, { internalType: "enum MarketOrder.OrderKind", name: "kind", type: "uint8" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct MarketAsset.Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "basePrice", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" }, { internalType: "uint256", name: "endedPrice", type: "uint256" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "marketFeePercentage", type: "uint256" } ], internalType: "struct MarketOrder.Order", name: "_order", type: "tuple" } ], name: "orderValid", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", 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: "uint256", name: "_expectedState", type: "uint256" }, { internalType: "uint256", name: "_settlePrice", type: "uint256" }, { internalType: "address", name: "_referralAddr", type: "address" }, { internalType: "bytes", name: "_signature", type: "bytes" }, { components: [ { internalType: "address", name: "maker", type: "address" }, { internalType: "enum MarketOrder.OrderKind", name: "kind", type: "uint8" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct MarketAsset.Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "basePrice", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" }, { internalType: "uint256", name: "endedPrice", type: "uint256" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "marketFeePercentage", type: "uint256" } ], internalType: "struct MarketOrder.Order", name: "_order", type: "tuple" } ], name: "settleOrder", 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: [ { internalType: "uint256", name: "_expectedState", type: "uint256" }, { internalType: "uint256", name: "_settlePrice", type: "uint256" }, { internalType: "address", name: "_referralAddr", type: "address" }, { internalType: "uint256", name: "_deadline", type: "uint256" }, { internalType: "address[]", name: "_path", type: "address[]" }, { internalType: "bytes", name: "_signature", type: "bytes" }, { components: [ { internalType: "address", name: "maker", type: "address" }, { internalType: "enum MarketOrder.OrderKind", name: "kind", type: "uint8" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct MarketAsset.Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "basePrice", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" }, { internalType: "uint256", name: "endedPrice", type: "uint256" }, { internalType: "uint256", name: "expectedState", type: "uint256" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "marketFeePercentage", type: "uint256" } ], internalType: "struct MarketOrder.Order", name: "_order", type: "tuple" } ], name: "swapTokensAndSettleOrder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "_hashList", type: "bytes32[]" } ], name: "tryBulkCancelOrderByHash", outputs: [ { internalType: "bool[]", name: "_orderAlreadyFinalized", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" } ]; var ORDER_EXCHANGE_LOGIC = { name: "Order Exchange Logic", address: "0xa74f8af1bcb92f3037e6235f26cfc55898a550a8", is_deprecated: false, created_at: 1659687110, abi: abi304 }; var order_exchange_logic_default = ORDER_EXCHANGE_LOGIC; // src/contracts/owned_multicaller.ts var abi305 = [ { inputs: [ { internalType: "address", name: "owner_", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "bytes[]", name: "callDatas", type: "bytes[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "multicall", outputs: [ { internalType: "bool[]", name: "results", type: "bool[]" }, { internalType: "bytes[]", name: "returnDatas", type: "bytes[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", 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: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var OWNED_MULTICALLER = { name: "Owned Multicaller", address: "0x27876429db2cddf017dbb63560d0366e4b4e6f8a", is_deprecated: false, created_at: 1721026274, abi: abi305 }; var owned_multicaller_default = OWNED_MULTICALLER; // src/contracts/part_evolution_logic.ts var abi306 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrBodyPartAlreadyEvolved", type: "error" }, { inputs: [], name: "ErrBodyPartStillEvolving", type: "error" }, { inputs: [], name: "ErrInvalidPath", type: "error" }, { inputs: [], name: "ErrInvalidPathLength", type: "error" }, { inputs: [ { internalType: "uint256", name: "evolvedPartCount", type: "uint256" }, { internalType: "uint256", name: "axieLevel", type: "uint256" } ], name: "ErrLevelNotReach", type: "error" }, { inputs: [], name: "ErrMaxEvolved", type: "error" }, { inputs: [], name: "ErrMaxEvolvedPart", type: "error" }, { inputs: [], name: "ErrNotAuthorized", type: "error" }, { inputs: [], name: "ErrNotExistPartEvolvedWaitsForCompletion", type: "error" }, { inputs: [], name: "ErrRequestPaymentAmountFailed", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IAxie", name: "axieContract", type: "address" } ], name: "AxieContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "", type: "uint256" } ], name: "BoostCostMultiplierUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "", type: "uint256" } ], name: "EvolutionDurationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "fees", type: "uint256[]" } ], name: "EvolutionFeesUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract IMaterial", name: "materialContractAddress", type: "address" } ], name: "MaterialContractAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "costs", type: "uint256[]" } ], name: "MaterialCostsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "finishTs", type: "uint256" } ], name: "PartEvolutionCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" } ], name: "PartEvolutionFinished", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "baseToken", type: "address" }, { indexed: false, internalType: "address", name: "paymentToken", type: "address" }, { indexed: false, internalType: "uint256[]", name: "evolutionFees", type: "uint256[]" } ], name: "PaymentConfigsUpdated", 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: false, internalType: "address", name: "routerContract", type: "address" } ], name: "RouterContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "specialMaterialCost", type: "uint256" } ], name: "SpecialMaterialCostUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "treasury", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "completePartEvolution", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" }, { internalType: "enum AxieGenetics.BodyPart", name: "partId", type: "uint8" }, { internalType: "bool", name: "boosted", type: "bool" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "evolvePart", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getAxieContract", outputs: [ { internalType: "contract IAxie", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBoostCostMultiplier", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getEvolutionDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "getEvolutionInfo", outputs: [ { components: [ { internalType: "enum IPartEvolution.EvolutionStatus", name: "status", type: "uint8" }, { internalType: "enum AxieGenetics.BodyPart", name: "partId", type: "uint8" }, { internalType: "uint256", name: "finishTimestamp", type: "uint256" } ], internalType: "struct IPartEvolution.EvolutionInfo", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaterialCosts", outputs: [ { internalType: "uint256[]", name: "costs", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPaymentConfigs", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRouterContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getSpecialMaterialCost", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTreasury", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "admin", type: "address" }, { internalType: "contract IAxie", name: "axieContract", type: "address" }, { internalType: "contract IMaterial", name: "materialContract", type: "address" }, { internalType: "address", name: "treasury", type: "address" }, { internalType: "uint256[]", name: "materialCosts", type: "uint256[]" }, { internalType: "uint256", name: "costMultiplier", type: "uint256" }, { internalType: "uint256", name: "evolutionDuration", type: "uint256" }, { internalType: "address[3]", name: "paymentInfoAddr", type: "address[3]" }, { internalType: "uint256[]", name: "evolutionFees", type: "uint256[]" }, { internalType: "uint256", name: "specialMaterialCost", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "isReadyToComplete", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "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: [], name: "setAxieContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "multiplier", type: "uint256" } ], name: "setBoostCostMultiplier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "duration", type: "uint256" } ], name: "setEvolutionDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IMaterial", name: "addr", type: "address" } ], name: "setMaterialContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "costs", type: "uint256[]" } ], name: "setMaterialCosts", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "baseToken", type: "address" }, { internalType: "address", name: "paymentToken", type: "address" }, { internalType: "uint256[]", name: "evolutionFees", type: "uint256[]" } ], name: "setPaymentConfigs", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "routerContract", type: "address" } ], name: "setRouterContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "cost", type: "uint256" } ], name: "setSpecialMaterialCost", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "treasury", type: "address" } ], name: "setTreasury", 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" } ]; var PART_EVOLUTION_LOGIC = { name: "PartEvolutionLogic", address: "0x0e321b8dbf80a541375e7cee5124f80b93665083", is_deprecated: false, created_at: 1702269527, abi: abi306 }; var part_evolution_logic_default = PART_EVOLUTION_LOGIC; // src/contracts/part_evolution_proxy.ts var abi307 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var PART_EVOLUTION_PROXY = { name: "PartEvolutionProxy", address: "0x6e8699915b5328363855af28543d4bdb7439db71", is_deprecated: false, created_at: 1702269527, abi: abi307 }; var part_evolution_proxy_default = PART_EVOLUTION_PROXY; // src/contracts/pause_enforcer.ts var abi308 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrNotOnEmergencyPause", type: "error" }, { inputs: [], name: "ErrTargetIsNotOnPaused", type: "error" }, { inputs: [], name: "ErrTargetIsOnPaused", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "EmergencyPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "EmergencyUnpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: false, internalType: "contract IPauseTarget", name: "target", type: "address" } ], name: "TargetChanged", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "SENTRY_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IPauseTarget", name: "_target", type: "address" } ], name: "changeTarget", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "emergency", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_sentry", type: "address" } ], name: "grantSentry", 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: "contract IPauseTarget", name: "_target", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "address[]", name: "_sentries", type: "address[]" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_sentry", type: "address" } ], name: "revokeSentry", 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: "target", outputs: [ { internalType: "contract IPauseTarget", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "triggerPause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "triggerUnpause", stateMutability: "nonpayable", type: "function" } ]; var PAUSE_ENFORCER = { name: "Pause Enforcer", address: "0x3ba040bc32352e2dc21f9a85c5573e84696a74dd", is_deprecated: false, created_at: 1722410264, abi: abi308 }; var pause_enforcer_default = PAUSE_ENFORCER; // src/contracts/payment_code.ts var abi309 = [ { inputs: [ { internalType: "address", name: "_signer", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "claimer", type: "address" }, { indexed: true, internalType: "bytes32[]", name: "paymentCodes", type: "bytes32[]" }, { indexed: false, internalType: "address", name: "tokenAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "enum PaymentCode.TokenType", name: "tokenType", type: "uint8" } ], name: "BulkClaim", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "claimer", type: "address" }, { indexed: true, internalType: "bytes32", name: "paymentCode", type: "bytes32" }, { indexed: false, internalType: "address", name: "tokenAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "enum PaymentCode.TokenType", name: "tokenType", type: "uint8" } ], name: "Claimed", 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" }, { inputs: [], name: "ETH_TOKEN_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes32[]", name: "paymentCodes", type: "bytes32[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "enum PaymentCode.TokenType", name: "tokenType", type: "uint8" }, { internalType: "uint256", name: "velocityControlId", type: "uint256" }, { internalType: "bytes[]", name: "signatures", type: "bytes[]" } ], name: "bulkClaim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum PaymentCode.TokenType[]", name: "tokenTypes", type: "uint8[]" }, { internalType: "address[]", name: "tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "bulkRecoverFunds", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes32", name: "paymentCode", type: "bytes32" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "enum PaymentCode.TokenType", name: "tokenType", type: "uint8" }, { internalType: "uint256", name: "velocityControlId", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "claim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes32[]", name: "paymentCodes", type: "bytes32[]" }, { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "address[]", name: "tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "enum PaymentCode.TokenType[]", name: "tokenTypes", type: "uint8[]" }, { internalType: "uint256[]", name: "velocityControlIds", type: "uint256[]" }, { internalType: "bytes[]", name: "signatures", type: "bytes[]" } ], name: "claimMany", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "velocityControlId", type: "uint256" } ], name: "getIntervalAllowedAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes32", name: "paymentCode", type: "bytes32" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "enum PaymentCode.TokenType", name: "tokenType", type: "uint8" }, { internalType: "uint256", name: "velocityControlId", type: "uint256" } ], name: "getMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "messageHash", type: "bytes32" } ], name: "getSignatureHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "recover", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "enum PaymentCode.TokenType", name: "tokenType", type: "uint8" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "recoverFunds", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_signer", type: "address" } ], name: "setSigner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "velocityControlId", type: "uint256" }, { internalType: "uint256", name: "maxPerClaim", type: "uint256" }, { internalType: "uint256", name: "maxTotalClaimed", type: "uint256" }, { internalType: "bool", name: "enabled", type: "bool" }, { internalType: "uint256", name: "expiry", type: "uint256" }, { internalType: "uint256", name: "intervalLimit", type: "uint256" }, { internalType: "uint256", name: "interval", type: "uint256" }, { internalType: "uint256", name: "intervalStart", type: "uint256" } ], name: "setVelocityControl", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "signer", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "usedHashes", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "velocityControls", outputs: [ { internalType: "uint256", name: "maxPerClaim", type: "uint256" }, { internalType: "uint256", name: "maxTotalClaimed", type: "uint256" }, { internalType: "uint256", name: "totalClaimed", type: "uint256" }, { internalType: "uint256", name: "lastClaimedAt", type: "uint256" }, { internalType: "uint256", name: "expiry", type: "uint256" }, { internalType: "uint256", name: "intervalLimit", type: "uint256" }, { internalType: "uint256", name: "interval", type: "uint256" }, { internalType: "uint256", name: "intervalStart", type: "uint256" }, { internalType: "bool", name: "enabled", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "verify", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var PAYMENT_CODE = { name: "Payment Code", address: "0x00abc4acffdb598c3333094f40c286fda64c6198", is_deprecated: false, created_at: 1724955235, abi: abi309 }; var payment_code_default = PAYMENT_CODE; // src/contracts/permissioned_router.ts var abi310 = [ { inputs: [ { internalType: "address", name: "factory_", type: "address" }, { internalType: "address", name: "wron_", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "WRON", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "tokenA", type: "address" }, { internalType: "address", name: "tokenB", type: "address" }, { internalType: "uint256", name: "amountADesired", type: "uint256" }, { internalType: "uint256", name: "amountBDesired", type: "uint256" }, { internalType: "uint256", name: "amountAMin", type: "uint256" }, { internalType: "uint256", name: "amountBMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "addLiquidity", outputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "amountB", type: "uint256" }, { internalType: "uint256", name: "liquidity", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "amountTokenDesired", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "addLiquidityRON", outputs: [ { internalType: "uint256", name: "amountToken", type: "uint256" }, { internalType: "uint256", name: "amountRON", type: "uint256" }, { internalType: "uint256", name: "liquidity", type: "uint256" } ], stateMutability: "payable", type: "function" }, { inputs: [], name: "factory", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "uint256", name: "reserveIn", type: "uint256" }, { internalType: "uint256", name: "reserveOut", type: "uint256" } ], name: "getAmountIn", outputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "reserveIn", type: "uint256" }, { internalType: "uint256", name: "reserveOut", type: "uint256" } ], name: "getAmountOut", outputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "getAmountsIn", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" } ], name: "getAmountsOut", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getGovernance", outputs: [ { internalType: "contract IKatanaGovernance", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "reserveA", type: "uint256" }, { internalType: "uint256", name: "reserveB", type: "uint256" } ], name: "quote", outputs: [ { internalType: "uint256", name: "amountB", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "tokenA", type: "address" }, { internalType: "address", name: "tokenB", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountAMin", type: "uint256" }, { internalType: "uint256", name: "amountBMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "removeLiquidity", outputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "amountB", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "removeLiquidityRON", outputs: [ { internalType: "uint256", name: "amountToken", type: "uint256" }, { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "removeLiquidityRONSupportingFeeOnTransferTokens", outputs: [ { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bool", name: "approveMax", type: "bool" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "removeLiquidityRONWithPermit", outputs: [ { internalType: "uint256", name: "amountToken", type: "uint256" }, { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountTokenMin", type: "uint256" }, { internalType: "uint256", name: "amountRONMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bool", name: "approveMax", type: "bool" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "removeLiquidityRONWithPermitSupportingFeeOnTransferTokens", outputs: [ { internalType: "uint256", name: "amountRON", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "tokenA", type: "address" }, { internalType: "address", name: "tokenB", type: "address" }, { internalType: "uint256", name: "liquidity", type: "uint256" }, { internalType: "uint256", name: "amountAMin", type: "uint256" }, { internalType: "uint256", name: "amountBMin", type: "uint256" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" }, { internalType: "bool", name: "approveMax", type: "bool" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "removeLiquidityWithPermit", outputs: [ { internalType: "uint256", name: "amountA", type: "uint256" }, { internalType: "uint256", name: "amountB", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactRONForTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactRONForTokensSupportingFeeOnTransferTokens", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForRON", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForRONSupportingFeeOnTransferTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountIn", type: "uint256" }, { internalType: "uint256", name: "amountOutMin", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapExactTokensForTokensSupportingFeeOnTransferTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapRONForExactTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "uint256", name: "amountInMax", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapTokensForExactRON", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amountOut", type: "uint256" }, { internalType: "uint256", name: "amountInMax", type: "uint256" }, { internalType: "address[]", name: "path", type: "address[]" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], name: "swapTokensForExactTokens", outputs: [ { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var PERMISSIONED_ROUTER = { name: "Permissioned Router", address: "0xc05afc8c9353c1dd5f872eccfacd60fd5a2a9ac7", is_deprecated: false, created_at: 1716265946, abi: abi310 }; var permissioned_router_default = PERMISSIONED_ROUTER; // src/contracts/pet.ts var abi311 = [ { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseTokenURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "burnAllowed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMintPrice", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "_to", type: "address" } ], name: "publicMint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "publicSaleActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "publicSalePrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_tokenContract", type: "address" } ], name: "setTokenContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "toggleBurnAllowed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_publicSalePrice", type: "uint256" } ], name: "togglePublicSale", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "tokenContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PET = { name: "PET", address: "0xb806028b6ebc35926442770a8a8a7aeab6e2ce5c", is_deprecated: false, created_at: 1698083886, abi: abi311 }; var pet_default = PET; // src/contracts/philippine_peso_coin.ts var abi312 = [ { inputs: [ { internalType: "uint8", name: "_decimal", type: "uint8" }, { internalType: "uint256", name: "_initialSupply", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_user", type: "address" } ], name: "AddedBlackList", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newAddress", type: "address" } ], name: "Deprecate", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_blackListedUser", type: "address" }, { indexed: false, internalType: "uint256", name: "_balance", type: "uint256" } ], name: "DestroyedBlackFunds", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Issue", 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: "uint256", name: "feeBasisPoints", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxFee", type: "uint256" } ], name: "Params", type: "event" }, { anonymous: false, inputs: [], name: "Pause", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Redeem", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_user", type: "address" } ], name: "RemovedBlackList", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpause", type: "event" }, { inputs: [ { internalType: "address", name: "_evilUser", type: "address" } ], name: "addBlackList", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "remaining", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "who", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_upgradedAddress", type: "address" } ], name: "deprecate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "deprecated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_blackListedUser", type: "address" } ], name: "destroyBlackFunds", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_maker", type: "address" } ], name: "getBlackListStatus", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "isBlackListed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "uint256", name: "_amount", type: "uint256" } ], name: "redeem", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_clearedUser", type: "address" } ], name: "removeBlackList", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "upgradedAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var PHILIPPINE_PESO_COIN = { name: "Philippine Peso Coin", address: "0x63c6e9f027947be84d390cfa7b2332d13b529353", is_deprecated: false, created_at: 0, abi: abi312 }; var philippine_peso_coin_default = PHILIPPINE_PESO_COIN; // src/contracts/phzm1155.ts var abi313 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "DailyClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "MysteryBoxOpened", 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: false, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "TokenBlocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "TokenClaimed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "TokenUnblocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "addClaimable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "addMultiClaimable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_users", type: "address[]" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "addMultiClaimables", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "blockToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "blockTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "claimAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "claimAllTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "dailyClaim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "getClaimableAmount", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" } ], name: "hasClaimedToday", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", 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: "string", name: "_name", type: "string" }, { internalType: "string", name: "_uri", type: "string" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "multiBurn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "multiMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "mysteryBoxOpen", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nextClaimTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], 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: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "setClaimable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "setGrantRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "setLastClaimedTimestamp", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "setMultiClaimable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_users", type: "address[]" }, { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "setMultiClaimables", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newuri", type: "string" } ], name: "setURI", 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: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "unblockToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "unblockTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var PHZM1155 = { name: "PHZM1155", address: "0xb2414254ca88f4292b4d482103c03c6d87276ff3", is_deprecated: false, created_at: 1729329197, abi: abi313 }; var phzm1155_default = PHZM1155; // src/contracts/phzm1155_proxy.ts var abi314 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var PHZM1155_PROXY = { name: "PHZM1155 Proxy", address: "0x0e268edc8750d50c440d715c935eba2e7c6ae775", is_deprecated: false, created_at: 1727834489, abi: abi314 }; var phzm1155_proxy_default = PHZM1155_PROXY; // src/contracts/pixel.ts var abi315 = [ { inputs: [ { internalType: "address", name: "defaultAdmin", type: "address" }, { internalType: "address", name: "pauser", type: "address" }, { internalType: "address", name: "minter", type: "address" }, { internalType: "uint256", name: "cappedSupply_", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "cap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], 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: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PIXEL = { name: "PIXEL", address: "0x58a4d05e59f065192173b7ab846aa1eb3727b3bf", is_deprecated: true, created_at: 1706284139, abi: abi315 }; var pixel_default = PIXEL; // src/contracts/pixel_wrapped_ronin.ts var abi316 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var PIXEL_WRAPPED_RONIN = { name: "PIXEL Wrapped Ronin", address: "0xb30b54b9a36188d33eeb34b29eaa38d12511e997", is_deprecated: false, created_at: 1708127482, abi: abi316 }; var pixel_wrapped_ronin_default = PIXEL_WRAPPED_RONIN; // src/contracts/pixels_farmland.ts var abi317 = [ { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseTokenURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "burnAllowed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "toggleBurnAllowed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PIXELS_FARMLAND = { name: "Pixels Farmland", address: "0xf083289535052e8449d69e6dc41c0ae064d8e3f6", is_deprecated: false, created_at: 1704937684, abi: abi317 }; var pixels_farmland_default = PIXELS_FARMLAND; // src/contracts/pixels_game_tracker.ts var abi318 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "userAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "blockTimestamp", type: "uint256" }, { indexed: false, internalType: "string", name: "uid", type: "string" } ], name: "DailyLogDone", type: "event" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "_userDays", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "", type: "string" } ], name: "_userUid", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "uid", type: "string" } ], name: "dailyLog", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "userAddress", type: "address" } ], name: "hasSignInToday", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var PIXELS_GAME_TRACKER = { name: "Pixels Game Tracker", address: "0x02790f32ad7e7eaaecfb0ad21950829932f1a2ee", is_deprecated: false, created_at: 1698084336, abi: abi318 }; var pixels_game_tracker_default = PIXELS_GAME_TRACKER; // src/contracts/planet_attribute_manager.ts var abi319 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", 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: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "uint256", name: "planetAId", type: "uint256" }, { internalType: "uint256", name: "planetBId", type: "uint256" }, { internalType: "uint256", name: "animusUse", type: "uint256" }, { internalType: "bool", name: "shouldUseMiniBlackhole", type: "bool" }, { internalType: "bool", name: "isDryRun", type: "bool" } ], name: "breed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "breedContract", outputs: [ { internalType: "contract BreedPlanet", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "breedPlanetDataContract", outputs: [ { internalType: "contract IBreedPlanetData", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "uint256", name: "planetAId", type: "uint256" }, { internalType: "uint256", name: "planetBId", type: "uint256" }, { internalType: "bool", name: "shouldUseMiniBlackhole", type: "bool" } ], name: "checkCanBreed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "planetId", type: "uint256" } ], name: "getParentID", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "planetContract", outputs: [ { internalType: "contract IApeironPlanet", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "bloodline", type: "uint256" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "fire", type: "uint256" }, { internalType: "uint256", name: "water", type: "uint256" }, { internalType: "uint256", name: "air", type: "uint256" }, { internalType: "uint256", name: "earth", type: "uint256" } ], internalType: "struct PlanetAttributeManager.PlanetTag[]", name: "planetTagArray", type: "tuple[]" } ], name: "setUpBloodline", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_planetAddress", type: "address" }, { internalType: "address payable", name: "_breedAddress", type: "address" } ], name: "setUpContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var PLANET_ATTRIBUTE_MANAGER = { name: "Planet Attribute Manager", address: "0x149aadcaaee54eef85255b0c4c72cb3f04fecd8b", is_deprecated: false, created_at: 1702615179, abi: abi319 }; var planet_attribute_manager_default = PLANET_ATTRIBUTE_MANAGER; // src/contracts/planet_attribute_manager_proxy.ts var abi320 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var PLANET_ATTRIBUTE_MANAGER_PROXY = { name: "Planet Attribute Manager Proxy", address: "0xd0e2bc89b3d8e3d8244d4f221fd7aa4785a8708f", is_deprecated: false, created_at: 1702615188, abi: abi320 }; var planet_attribute_manager_proxy_default = PLANET_ATTRIBUTE_MANAGER_PROXY; // src/contracts/points_proxy.ts var abi321 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var POINTS_PROXY = { name: "Points Proxy", address: "0x80626af42928417801f7492f2b85b61817e2c4aa", is_deprecated: false, created_at: 1730108457, abi: abi321 }; var points_proxy_default = POINTS_PROXY; // src/contracts/pool_factory_proxy.ts var abi322 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var POOL_FACTORY_PROXY = { name: "Pool Factory Proxy", address: "0x1a18a499c0f6f347aa936c62a350233ae716955a", is_deprecated: false, created_at: 1717481742, abi: abi322 }; var pool_factory_proxy_default = POOL_FACTORY_PROXY; // src/contracts/pool_proxy.ts var abi323 = [ { inputs: [ { internalType: "address", name: "_defaultAdmin", type: "address" }, { internalType: "address", name: "_impl", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { 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: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var POOL_PROXY = { name: "Pool Proxy", address: "0x083f0011d20e3fe11e4cb37ec60e23e534150f95", is_deprecated: false, created_at: 1717481274, abi: abi323 }; var pool_proxy_default = POOL_PROXY; // src/contracts/portal.ts var abi324 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "address", name: "owner", type: "address" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], indexed: false, internalType: "struct MarketAsset.Asset[]", name: "assets", type: "tuple[]" } ], name: "Deposited", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "timeWindow", type: "uint256" } ], name: "MinWithdrawalPeriodUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "usdc", type: "address" }, { indexed: false, internalType: "address", name: "rune", type: "address" }, { indexed: false, internalType: "uint256[5]", name: "runeWithdrawalFeesInUsdc", type: "uint256[5]" }, { indexed: false, internalType: "address", name: "charm", type: "address" }, { indexed: false, internalType: "uint256[5]", name: "charmWithdrawalFeesInUsdc", type: "uint256[5]" }, { indexed: false, internalType: "address", name: "paymentToken", type: "address" } ], name: "PaymentUpdated", 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: false, internalType: "contract IKatanaRouter", name: "routerContract", type: "address" } ], name: "RouterContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "SLPContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "address", name: "owner", type: "address" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" }, { internalType: "enum PortalAsset.Rarity", name: "rarity", type: "uint8" } ], indexed: false, internalType: "struct PortalAsset.AssetWithRarity[]", name: "assets", type: "tuple[]" }, { indexed: false, internalType: "bytes", name: "extraData", type: "bytes" } ], name: "Withdrew", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PORTAL_OPERATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "burnSLP", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "burnedSLP", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" }, { internalType: "enum PortalAsset.Rarity", name: "rarity", type: "uint8" } ], internalType: "struct PortalAsset.AssetWithRarity[]", name: "_assets", type: "tuple[]" }, { internalType: "address", name: "_paymentToken", type: "address" }, { internalType: "address[]", name: "_path", type: "address[]" } ], name: "calculateWithdrawalFee", outputs: [ { internalType: "uint256", name: "_paymentAmount", type: "uint256" }, { internalType: "uint256", name: "_paymentAmountInUsdc", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "charm", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "charmWithdrawalFeesInUsdc", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct MarketAsset.Asset[]", name: "_assets", type: "tuple[]" } ], name: "deposit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "getPortalInfo", outputs: [ { components: [ { internalType: "enum PortalHistory.Request", name: "kind", type: "uint8" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "address", name: "owner", type: "address" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct MarketAsset.Asset[]", name: "assets", type: "tuple[]" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct PortalHistory.PortalInfo", name: "_info", type: "tuple" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "uint256", name: "_minWithdrawalPeriod", type: "uint256" }, { internalType: "contract IKatanaRouter", name: "_routerContract", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "_treasury", type: "address" }, { internalType: "address", name: "_owner", type: "address" }, { internalType: "address[]", name: "_operators", type: "address[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "lastWithdrawalTimestamp", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minWithdrawalPeriod", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], 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: [], name: "paymentToken", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", 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: [], name: "routerContract", outputs: [ { internalType: "contract IKatanaRouter", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "rune", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "runeWithdrawalFeesInUsdc", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_timeWindow", type: "uint256" } ], name: "setMinWithdrawalPeriod", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_usdc", type: "address" }, { internalType: "address", name: "_rune", type: "address" }, { internalType: "uint256[5]", name: "_runeWithdrawalFeesInUsdc", type: "uint256[5]" }, { internalType: "address", name: "_charm", type: "address" }, { internalType: "uint256[5]", name: "_charmWithdrawalFeesInUsdc", type: "uint256[5]" }, { internalType: "address", name: "_paymentToken", type: "address" } ], name: "setPayment", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IKatanaRouter", name: "_routerContract", type: "address" } ], name: "setRouterContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_slp", type: "address" } ], name: "setSLP", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "setTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "slp", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "usdc", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { components: [ { internalType: "enum MarketAsset.TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "addr", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" }, { internalType: "enum PortalAsset.Rarity", name: "rarity", type: "uint8" } ], internalType: "struct PortalAsset.AssetWithRarity[]", name: "assets", type: "tuple[]" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct PortalExchange.WithdrawalStatement", name: "_withdrawal", type: "tuple" }, { internalType: "bytes", name: "_signature", type: "bytes" }, { internalType: "address[]", name: "_path", type: "address[]" } ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawNativeToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PORTAL = { name: "Portal", address: "0x5937874f2d7a26a0295d7c983a12c845f13c8d30", is_deprecated: false, created_at: 1669175872, abi: abi324 }; var portal_default = PORTAL; // src/contracts/presail_droplet.ts var abi325 = [ { inputs: [ { internalType: "address payable[]", name: "recipients", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "presailDistribute", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "address[]", name: "recipients", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "presailDistributeToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "address[]", name: "recipients", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "presailDistributeTokenSimple", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PRESAIL_DROPLET = { name: "Presail Droplet", address: "0x4745e6b8d030b1b65964242b0005ed63c52bf333", is_deprecated: false, created_at: 1699522829, abi: abi325 }; var presail_droplet_default = PRESAIL_DROPLET; // src/contracts/presale_factory_proxy.ts var abi326 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var PRESALE_FACTORY_PROXY = { name: "Presale Factory Proxy", address: "0xb13e7746b891b1f548596e4ce1cafdbb2ae4454f", is_deprecated: false, created_at: 1727857600, abi: abi326 }; var presale_factory_proxy_default = PRESALE_FACTORY_PROXY; // src/contracts/profile.ts var abi327 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [ { internalType: "enum RoleAccess", name: "infoType", type: "uint8" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "ErrDuplicatedInfo", type: "error" }, { inputs: [ { internalType: "bytes", name: "pubkey", type: "bytes" } ], name: "ErrDuplicatedPubkey", type: "error" }, { inputs: [], name: "ErrExistentProfile", type: "error" }, { inputs: [], name: "ErrIdAndConsensusDiffer", type: "error" }, { inputs: [], name: "ErrNonExistentProfile", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "enum RoleAccess", name: "infoType", type: "uint8" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { inputs: [], name: "ErrZeroPubkey", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" } ], name: "ProfileAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" }, { indexed: true, internalType: "enum RoleAccess", name: "addressType", type: "uint8" } ], name: "ProfileAddressChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" }, { indexed: false, internalType: "bytes", name: "pubkey", type: "bytes" } ], name: "PubkeyChanged", type: "event" }, { inputs: [ { components: [ { internalType: "address", name: "id", type: "address" }, { internalType: "address", name: "consensus", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "address payable", name: "treasury", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "bytes", name: "pubkey", type: "bytes" } ], internalType: "struct IProfile.CandidateProfile", name: "profile", type: "tuple" } ], name: "addNewProfile", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" }, { internalType: "bytes", name: "pubkey", type: "bytes" } ], name: "changePubkey", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2Profile", outputs: [ { components: [ { internalType: "address", name: "id", type: "address" }, { internalType: "address", name: "consensus", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "address payable", name: "treasury", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "bytes", name: "pubkey", type: "bytes" } ], internalType: "struct IProfile.CandidateProfile", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "validatorContract", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "migrateMainnetV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "id", type: "address" }, { internalType: "address", name: "consensus", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "address payable", name: "treasury", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "bytes", name: "pubkey", type: "bytes" } ], internalType: "struct IProfile.CandidateProfile", name: "profile", type: "tuple" } ], name: "registerProfile", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PROFILE = { name: "Profile", address: "0x3ec92e7a835bb58832df64e7f8206467e07d54a3", is_deprecated: false, created_at: 1696245584, abi: abi327 }; var profile_default = PROFILE; // src/contracts/profile_mainnet.ts var abi328 = [ { inputs: [], name: "ErrCallPrecompiled", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [ { internalType: "enum RoleAccess", name: "infoType", type: "uint8" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "ErrDuplicatedInfo", type: "error" }, { inputs: [ { internalType: "bytes", name: "pubkey", type: "bytes" } ], name: "ErrDuplicatedPubkey", type: "error" }, { inputs: [ { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" } ], name: "ErrDuplicatedVRFKeyHash", type: "error" }, { inputs: [], name: "ErrExistentProfile", type: "error" }, { inputs: [], name: "ErrIdAndConsensusDiffer", type: "error" }, { inputs: [ { internalType: "bytes", name: "pubkey", type: "bytes" }, { internalType: "bytes", name: "proofOfPossession", type: "bytes" } ], name: "ErrInvalidProofOfPossession", type: "error" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "ErrLookUpIdFailed", type: "error" }, { inputs: [ { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" } ], name: "ErrLookUpIdFromVRFKeyFailed", type: "error" }, { inputs: [], name: "ErrNonExistentProfile", type: "error" }, { inputs: [], name: "ErrProfileChangeCooldownNotEnded", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum ContractType", name: "expectedContractType", type: "uint8" }, { internalType: "address", name: "actual", type: "address" } ], name: "ErrUnexpectedInternalCall", type: "error" }, { inputs: [ { internalType: "address", name: "cid", type: "address" } ], name: "ErrValidatorOnRenunciation", type: "error" }, { inputs: [ { internalType: "enum RoleAccess", name: "infoType", type: "uint8" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { inputs: [], name: "ErrZeroPubkey", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" } ], name: "ConsensusAddressOfNonGovernorChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" } ], name: "ProfileAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" }, { indexed: true, internalType: "enum RoleAccess", name: "addressType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ProfileAddressChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" }, { indexed: true, internalType: "address", name: "admin", type: "address" }, { indexed: true, internalType: "address", name: "treasury", type: "address" } ], name: "ProfileMigrated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" }, { indexed: false, internalType: "bytes", name: "pubkey", type: "bytes" } ], name: "PubkeyChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes", name: "pubkey", type: "bytes" }, { indexed: false, internalType: "bytes", name: "proofOfPossession", type: "bytes" } ], name: "PubkeyVerified", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "id", type: "address" }, { indexed: false, internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" } ], name: "VRFKeyHashChanged", type: "event" }, { inputs: [ { internalType: "bytes[][2]", name: "listOfPublicKey", type: "bytes[][2]" } ], name: "arePublicKeysRegistered", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" }, { internalType: "address", name: "newAdminAddr", type: "address" } ], name: "changeAdminAddr", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" }, { internalType: "TConsensus", name: "newConsensusAddr", type: "address" } ], name: "changeConsensusAddr", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" }, { internalType: "bytes", name: "pubkey", type: "bytes" }, { internalType: "bytes", name: "proofOfPossession", type: "bytes" } ], name: "changePubkey", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address payable", name: "", type: "address" } ], name: "changeTreasuryAddr", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" }, { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" } ], name: "changeVRFKeyHash", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "address", name: "id", type: "address" }, { internalType: "address", name: "treasury", type: "address" }, { internalType: "bytes", name: "pubkey", type: "bytes" }, { internalType: "bytes", name: "proofOfPossession", type: "bytes" } ], name: "execApplyValidatorCandidate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "getConsensus2Id", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCooldownConfig", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2Admin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2BeaconInfo", outputs: [ { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" }, { internalType: "uint256", name: "vrfKeyHashLastChange", type: "uint256" }, { internalType: "uint256", name: "registeredAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2Consensus", outputs: [ { internalType: "TConsensus", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2OldConsensus", outputs: [ { internalType: "TConsensus", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2OldPubkey", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2Profile", outputs: [ { components: [ { internalType: "address", name: "id", type: "address" }, { internalType: "TConsensus", name: "consensus", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "address payable", name: "treasury", type: "address" }, { internalType: "address", name: "__reservedGovernor", type: "address" }, { internalType: "bytes", name: "pubkey", type: "bytes" }, { internalType: "uint256", name: "profileLastChange", type: "uint256" }, { internalType: "bytes", name: "oldPubkey", type: "bytes" }, { internalType: "TConsensus", name: "oldConsensus", type: "address" }, { internalType: "uint256", name: "registeredAt", type: "uint256" }, { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" }, { internalType: "uint256", name: "vrfKeyHashLastChange", type: "uint256" } ], internalType: "struct IProfile.CandidateProfile", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2ProfileLastChange", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2Pubkey", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2RegisteredAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2Treasury", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2VRFKeyHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "getId2VRFKeyHashLastChange", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusList", type: "address[]" } ], name: "getManyConsensus2Id", outputs: [ { internalType: "address[]", name: "idList", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "idList", type: "address[]" } ], name: "getManyId2Admin", outputs: [ { internalType: "address[]", name: "adminList", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "idList", type: "address[]" } ], name: "getManyId2Consensus", outputs: [ { internalType: "TConsensus[]", name: "consensusList", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "idList", type: "address[]" } ], name: "getManyId2RegisteredAt", outputs: [ { internalType: "uint256[]", name: "registeredAtList", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" } ], name: "getVRFKeyHash2BeaconInfo", outputs: [ { internalType: "address", name: "id", type: "address" }, { internalType: "uint256", name: "vrfKeyHashLastChange", type: "uint256" }, { internalType: "uint256", name: "registeredAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" } ], name: "getVRFKeyHash2Id", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "validatorContract", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "stakingContract", type: "address" }, { internalType: "address", name: "trustedOrgContract", type: "address" } ], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "cooldown", type: "uint256" } ], name: "initializeV3", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "migrateOmissionREP4", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "precompileVerifyBLSPublicKeyAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "cooldown", type: "uint256" } ], name: "setCooldownConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "tryGetConsensus2Id", outputs: [ { internalType: "bool", name: "found", type: "bool" }, { internalType: "address", name: "id", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "vrfKeyHash", type: "bytes32" } ], name: "tryGetVRFKeyHash2Id", outputs: [ { internalType: "bool", name: "found", type: "bool" }, { internalType: "address", name: "id", type: "address" } ], stateMutability: "view", type: "function" } ]; var PROFILE_MAINNET = { name: "ProfileMainnet", address: "0xf2686639c1c8d291059eb19ab3c5e75683e50ad2", is_deprecated: false, created_at: 1718685423, abi: abi328 }; var profile_mainnet_default = PROFILE_MAINNET; // src/contracts/profile_mainnet_proxy.ts var abi329 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var PROFILE_MAINNET_PROXY = { name: "ProfileMainnet Proxy", address: "0x840ebf1ca767cb690029e91856a357a43b85d035", is_deprecated: false, created_at: 1696244669, abi: abi329 }; var profile_mainnet_proxy_default = PROFILE_MAINNET_PROXY; // src/contracts/profile_proxy.ts var abi330 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var PROFILE_PROXY = { name: "Profile Proxy", address: "0x840ebf1ca767cb690029e91856a357a43b85d035", is_deprecated: false, created_at: 1707758993, abi: abi330 }; var profile_proxy_default = PROFILE_PROXY; // src/contracts/proxy_admin.ts var abi331 = [ { inputs: [ { internalType: "address", name: "initialOwner", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "contract TransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeProxyAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract TransparentUpgradeableProxy", name: "proxy", type: "address" } ], name: "getProxyAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract TransparentUpgradeableProxy", name: "proxy", type: "address" } ], name: "getProxyImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract TransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "implementation", type: "address" } ], name: "upgrade", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract TransparentUpgradeableProxy", name: "proxy", type: "address" }, { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var PROXY_ADMIN = { name: "Proxy Admin", address: "0x5c41998304eab25eab4618f0866bc9053ae4fa9a", is_deprecated: false, created_at: 1728416706, abi: abi331 }; var proxy_admin_default = PROXY_ADMIN; // src/contracts/proxy_factory.ts var abi332 = [ { inputs: [ { internalType: "address payable", name: "addr", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "deployNewInstance", outputs: [ { internalType: "address", name: "dst", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "mainAddress", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var PROXY_FACTORY = { name: "Proxy Factory", address: "0x84654be796dad370032391d5479f8f1fd9ddd14e", is_deprecated: false, created_at: 1724215734, abi: abi332 }; var proxy_factory_default = PROXY_FACTORY; // src/contracts/public_resolver_proxy.ts var abi333 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var PUBLIC_RESOLVER_PROXY = { name: "Public Resolver Proxy", address: "0xadb077d236d9e81fb24b96ae9cb8089ab9942d48", is_deprecated: false, created_at: 1699254612, abi: abi333 }; var public_resolver_proxy_default = PUBLIC_RESOLVER_PROXY; // src/contracts/public_stage_logic.ts var abi334 = [ { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [], name: "ErrDuplicatedAllowedUser", type: "error" }, { inputs: [], name: "ErrEnforcedLaunchPause", type: "error" }, { inputs: [], name: "ErrExpectedLaunchPause", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrFallbackFailed", type: "error" }, { inputs: [], name: "ErrFeeExceedsMintPrice", type: "error" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "ErrHasValueWhileMintByERC20", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectConditionalType", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "actual", type: "uint8" }, { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectStageType", type: "error" }, { inputs: [ { internalType: "uint256", name: "actual", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "ErrInsufficientTxValue", type: "error" }, { inputs: [], name: "ErrInvalidAllowedUser", type: "error" }, { inputs: [], name: "ErrInvalidAmountMintablePerReqToken", type: "error" }, { inputs: [], name: "ErrInvalidCreator", type: "error" }, { inputs: [], name: "ErrInvalidCurrency", type: "error" }, { inputs: [], name: "ErrInvalidFeeBasicPoint", type: "error" }, { inputs: [], name: "ErrInvalidFeeParty", type: "error" }, { inputs: [], name: "ErrInvalidFeeRecipient", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumSuppliesCondStg", type: "uint256" }, { internalType: "uint256", name: "launchSupply", type: "uint256" } ], name: "ErrInvalidLaunchSupply", type: "error" }, { inputs: [], name: "ErrInvalidMaxMintablePerWallet", type: "error" }, { inputs: [], name: "ErrInvalidMaxSupply", type: "error" }, { inputs: [], name: "ErrInvalidRequirementToken", type: "error" }, { inputs: [], name: "ErrInvalidSignerAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageIndex", type: "error" }, { inputs: [], name: "ErrInvalidStageLogicAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageTime", type: "error" }, { inputs: [], name: "ErrInvalidStageType", type: "error" }, { inputs: [], name: "ErrInvalidTierId", type: "error" }, { inputs: [], name: "ErrInvalidTokenStandard", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "uint256", name: "limitPerWallet", type: "uint256" }, { internalType: "uint256", name: "remainMintable", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrLimitPerWalletExceeded", type: "error" }, { inputs: [ { internalType: "uint256", name: "remainingSupply", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrMaxSupplyExceeded", type: "error" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "ErrMinterNotAllowed", type: "error" }, { inputs: [], name: "ErrMismatchMintQtyAndSumReqQty", type: "error" }, { inputs: [], name: "ErrNFTContractExisted", type: "error" }, { inputs: [], name: "ErrNFTContractNotExisted", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrNotAllowedCallingAccessControl", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrNotOwnRequirementToken", type: "error" }, { inputs: [], name: "ErrNotZeroSupplyForPublicStage", type: "error" }, { inputs: [], name: "ErrStageEnded", type: "error" }, { inputs: [], name: "ErrStageNotStarted", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumReqQuantities", type: "uint256" }, { internalType: "uint256", name: "actualQuantity", type: "uint256" } ], name: "ErrSumReqQuantitiesInsufficient", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrTokenIdRedeemed", type: "error" }, { inputs: [], name: "ErrTooMuchConditionalStages", type: "error" }, { inputs: [], name: "ErrUnsupportedNFTInterface", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [], name: "ErrZeroLaunchSupply", type: "error" }, { inputs: [], name: "ErrZeroMintQuantity", type: "error" }, { inputs: [], name: "ErrZeroReqQuantity", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "MathOverflowedMulDiv", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchUnpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" } ], indexed: false, internalType: "struct ILaunchpadStructs.PublicStage", name: "publicStage", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "stageIndexes", type: "uint8[]" } ], name: "LaunchpadDataAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" } ], name: "LaunchpadDataUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "total", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalMintedPerWallet", type: "uint256" } ], name: "MintQuantityRecorded", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], indexed: false, internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType", name: "stageType", type: "uint8" }, { indexed: false, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "address", name: "minter", type: "address" }, { indexed: false, internalType: "uint256", name: "actualPrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "actualMintQuantity", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "mintedIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "mintedAmounts", type: "uint256[]" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], indexed: false, internalType: "struct ILaunchpadStructs.PaymentShare[]", name: "shares", type: "tuple[]" } ], name: "MintSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "launchId", type: "uint256" }, { indexed: false, internalType: "address", name: "oldAddress", type: "address" }, { indexed: false, internalType: "address", name: "newAddress", type: "address" } ], name: "NFTContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "newStageIndexes", type: "uint8[]" } ], name: "NewStageInfoAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "NewTierAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "reqToken", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "requestRedeemPerIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "actualRedeemedPerIds", type: "uint256[]" } ], name: "RequirementTokenRedeemed", 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: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "bytes", name: "stageData", type: "bytes" } ], name: "StageInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "address[]", name: "logicAddrs", type: "address[]" } ], name: "StageLogicUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newSwapForwarder", type: "address" } ], name: "SwapForwarderUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "TierInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "uint8[]", name: "tierIds", type: "uint8[]" }, { indexed: false, internalType: "address[][]", name: "usersByTier", type: "address[][]" } ], name: "UsersAssignedToTier", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "wron", type: "address" }, { indexed: false, internalType: "address", name: "wronHelper", type: "address" } ], name: "WronConfigUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { internalType: "address", name: "minter", type: "address" } ], name: "getPriceOf", outputs: [ { internalType: "uint256", name: "actualPrice", type: "uint256" }, { internalType: "uint256", name: "requestedPrice", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "forwarder", type: "address" } ], name: "isTrustedForwarder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" } ], name: "mintPublic", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "pausedOf", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "trustedForwarder", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var PUBLIC_STAGE_LOGIC = { name: "Public Stage Logic", address: "0x8c6b811dc467dbe2abeb4ed0576f5b64869dc0df", is_deprecated: false, created_at: 1716444531, abi: abi334 }; var public_stage_logic_default = PUBLIC_STAGE_LOGIC; // src/contracts/puff_go_market_proxy.ts var abi335 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var PUFF_GO_MARKET_PROXY = { name: "Puff Go Market Proxy", address: "0x319dc6358ef00551d97c5d8f676fb2cb30852875", is_deprecated: false, created_at: 1714838244, abi: abi335 }; var puff_go_market_proxy_default = PUFF_GO_MARKET_PROXY; // src/contracts/puff_new_year_claim.ts var abi336 = [ { inputs: [ { internalType: "contract IMintableERC721V3", name: "_puffNewYearNFT", type: "address" }, { internalType: "contract IMintableERC721V3", name: "_classicNFT", type: "address" }, { internalType: "contract INFTShop", name: "_nftShop", type: "address" }, { internalType: "uint256", name: "_claimCondition", type: "uint256" }, { internalType: "uint256", name: "_totalSupply", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "nftId", type: "uint256" } ], name: "Claim", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "ClaimConditionChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "FinishAtChanged", 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: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "StartAtChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newValue", type: "uint256" } ], name: "TotalSupplyChanged", type: "event" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "available", outputs: [ { internalType: "uint256", name: "totalNum", type: "uint256" }, { internalType: "uint256", name: "claimedNum", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "claim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "claimCondition", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "classicNFT", outputs: [ { internalType: "contract IMintableERC721V3", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "finishAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nftShop", outputs: [ { internalType: "contract INFTShop", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "puffNewYearNFT", outputs: [ { internalType: "contract IMintableERC721V3", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_condition", type: "uint256" } ], name: "setClaimCondition", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_finishAt", type: "uint256" } ], name: "setFinishAt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_startAt", type: "uint256" } ], name: "setStartAt", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_totalSupply", type: "uint256" } ], name: "setTotalSupply", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "startAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalClaimed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "userClaimed", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var PUFF_NEW_YEAR_CLAIM = { name: "Puff New Year Claim", address: "0xfa351807651688853d4f7cf2faea3b2dee350ec7", is_deprecated: false, created_at: 1721398965, abi: abi336 }; var puff_new_year_claim_default = PUFF_NEW_YEAR_CLAIM; // src/contracts/puff_new_year_nft.ts var abi337 = [ { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "BURN_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PUFF_NEW_YEAR_NFT = { name: "Puff New Year NFT", address: "0x3e4296fe2989e6f62255af6c8e918aeda695819c", is_deprecated: false, created_at: 1714835340, abi: abi337 }; var puff_new_year_nft_default = PUFF_NEW_YEAR_NFT; // src/contracts/puff_on_chain.ts var abi338 = [ { inputs: [ { internalType: "address", name: "verifier", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "operationType", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" } ], name: "Operation", 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: "oldVerifier", type: "address" }, { indexed: false, internalType: "address", name: "newVerifier", type: "address" } ], name: "VerifierChanged", type: "event" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "operationType", type: "uint256" } ], name: "getUsedNonce", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "operationType", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "operate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_verifier", type: "address" } ], name: "setVerifier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "verifier", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var PUFF_ON_CHAIN = { name: "Puff On Chain", address: "0x7c5d20f5d6db2812def1f05544823c4851156687", is_deprecated: false, created_at: 1721400618, abi: abi338 }; var puff_on_chain_default = PUFF_ON_CHAIN; // src/contracts/puff_record.ts var abi339 = [ { inputs: [ { internalType: "uint256", name: "_nonce", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "tokenType", type: "uint256" }, { indexed: false, internalType: "address", name: "user", type: "address" } ], name: "Record", type: "event" }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "tokenType", type: "uint256" } ], name: "search", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PUFF_RECORD = { name: "Puff Record", address: "0x96fae041a03a77b6b69cafb6847c0054bbb85357", is_deprecated: false, created_at: 1721399205, abi: abi339 }; var puff_record_default = PUFF_RECORD; // src/contracts/pyth_oracle.ts var abi340 = [ { inputs: [ { internalType: "address", name: "pythContract", type: "address" }, { internalType: "address", name: "_katanaOracle", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newAdmin", type: "address" }, { indexed: true, internalType: "address", name: "previousAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "cTokenToPriceFeed", outputs: [ { internalType: "bytes32", name: "basePriceId", type: "bytes32" }, { internalType: "bytes32", name: "quotePriceId", type: "bytes32" }, { internalType: "uint32", name: "inputDecimals", type: "uint32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimalScale", outputs: [ { internalType: "int32", name: "", type: "int32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "getUnderlyingDecimals", outputs: [ { internalType: "uint32", name: "", type: "uint32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "cToken", type: "address" } ], name: "getUnderlyingPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "katanaOracle", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pyth", outputs: [ { internalType: "contract IPyth", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_katanaOracle", type: "address" } ], name: "setKatanaOracle", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cToken", type: "address" }, { internalType: "bytes32", name: "basePriceId", type: "bytes32" }, { internalType: "bytes32", name: "quotePriceId", type: "bytes32" }, { internalType: "uint8", name: "inputDecimals", type: "uint8" } ], name: "setPriceFeed", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var PYTH_ORACLE = { name: "Pyth Oracle", address: "0x41b3805bafc04c498de063888445783139aa9f6d", is_deprecated: false, created_at: 1706644418, abi: abi340 }; var pyth_oracle_default = PYTH_ORACLE; // src/contracts/pyth_upgradable_proxy.ts var abi341 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var PYTH_UPGRADABLE_PROXY = { name: "Pyth Upgradable Proxy", address: "0x2880ab155794e7179c9ee2e38200202908c17b43", is_deprecated: false, created_at: 1692987312, abi: abi341 }; var pyth_upgradable_proxy_default = PYTH_UPGRADABLE_PROXY; // src/contracts/raffle.ts var abi342 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidInterval", type: "error" }, { inputs: [], name: "InvalidMaxCheckin", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "MaxCheckinReached", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "SignatureAlreadyUsed", type: "error" }, { inputs: [], name: "SignatureExpired", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldInterval", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newInterval", type: "uint256" } ], name: "CheckinIntervalUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldMaxCheckin", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newMaxCheckin", type: "uint256" } ], name: "MaxCheckinUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "wallet", type: "address" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newPeriodCheckin", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newTotalCheckin", type: "uint256" } ], name: "RaffleCheckin", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "newInterval", type: "uint256" } ], name: "adminSetCheckinInterval", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newMaxCheckin", type: "uint256" } ], name: "adminSetMaxCheckin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "checkin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "wallet", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "checkinCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "checkinInterval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "wallet", type: "address" }, { internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "checkinLeft", outputs: [ { internalType: "uint256", name: "", 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: "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: "admin", type: "address" }, { internalType: "uint256", name: "_checkinInterval", type: "uint256" }, { internalType: "uint256", name: "_maxCheckin", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "maxCheckin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], 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: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "wallet", type: "address" } ], name: "totalCheckin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var RAFFLE = { name: "Raffle", address: "0x503c2d306b0237224caeba7749747500af33d020", is_deprecated: false, created_at: 1725612847, abi: abi342 }; var raffle_default = RAFFLE; // src/contracts/raffle_proxy.ts var abi343 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var RAFFLE_PROXY = { name: "Raffle Proxy", address: "0xa62bbfe37d5fd209a83e17c385b0d1034ac41ade", is_deprecated: false, created_at: 1725612886, abi: abi343 }; var raffle_proxy_default = RAFFLE_PROXY; // src/contracts/ragmon_proxy.ts var abi344 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RAGMON_PROXY = { name: "Ragmon Proxy", address: "0x029bb759353f6547fbe387e97869057849ab4d23", is_deprecated: false, created_at: 1715785382, abi: abi344 }; var ragmon_proxy_default = RAGMON_PROXY; // src/contracts/registry.ts var abi345 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "string", name: "_name", type: "string" }, { indexed: true, internalType: "bytes32", name: "_code", type: "bytes32" }, { indexed: true, internalType: "address", name: "_newAddress", type: "address" } ], name: "ContractAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_mainchainToken", type: "address" }, { indexed: true, internalType: "address", name: "_sidechainToken", type: "address" }, { indexed: false, internalType: "uint32", name: "_standard", type: "uint32" } ], name: "TokenMapped", type: "event" }, { constant: true, inputs: [], name: "ACKNOWLEDGEMENT", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "GATEWAY", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "VALIDATOR", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "WETH_TOKEN", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_mainchainToken", type: "address" }, { internalType: "address", name: "_sidechainToken", type: "address" } ], name: "clearMapToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "contractAddresses", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "string", name: "_name", type: "string" } ], name: "getCode", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [ { internalType: "string", name: "_name", type: "string" } ], name: "getContract", outputs: [ { internalType: "address", name: "_address", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "bool", name: "_isMainchain", type: "bool" } ], name: "getMappedToken", outputs: [ { internalType: "address", name: "_mainchainToken", type: "address" }, { internalType: "address", name: "_sidechainToken", type: "address" }, { internalType: "uint32", name: "_standard", type: "uint32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "uint32", name: "_standard", type: "uint32" }, { internalType: "bool", name: "_isMainchain", type: "bool" } ], name: "isTokenMapped", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "mainchainMap", outputs: [ { internalType: "address", name: "mainchainToken", type: "address" }, { internalType: "address", name: "sidechainToken", type: "address" }, { internalType: "uint32", name: "standard", type: "uint32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_mainchainToken", type: "address" }, { internalType: "address", name: "_sidechainToken", type: "address" }, { internalType: "uint32", name: "_standard", type: "uint32" } ], name: "mapToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "sidechainMap", outputs: [ { internalType: "address", name: "mainchainToken", type: "address" }, { internalType: "address", name: "sidechainToken", type: "address" }, { internalType: "uint32", name: "standard", type: "uint32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "address", name: "_newAddress", type: "address" } ], name: "updateContract", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var REGISTRY = { name: "Registry", address: "0x3a860626b0467809d50c58bef89b8ac6247fd62a", is_deprecated: true, created_at: 1611574096, abi: abi345 }; var registry_default = REGISTRY; // src/contracts/release_axie_for_material_logic.ts var abi346 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "floor", type: "uint256" }, { internalType: "uint256", name: "ceiling", type: "uint256" } ], name: "ErrCeilingNotHigherThanFloor", type: "error" }, { inputs: [ { internalType: "uint256", name: "estimatedRandomizationFee", type: "uint256" } ], name: "ErrInsufficientUpfrontFee", type: "error" }, { inputs: [ { internalType: "uint256", name: "axieId", type: "uint256" } ], name: "ErrInvalidAxieStage", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidInput", type: "error" }, { inputs: [], name: "ErrInvalidPercentValue", type: "error" }, { inputs: [], name: "ErrNotAuthorized", type: "error" }, { inputs: [ { internalType: "bytes32", name: "reqHash", type: "bytes32" } ], name: "ErrReleaseRequestNotFound", type: "error" }, { inputs: [], name: "OnlyCoordinatorCanFulfill", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "axieContractAddress", type: "address" } ], name: "AxieContractAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "uint256", name: "axieId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "seed", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalMaterial", type: "uint256" } ], name: "AxieReleaseForMaterialFulfilled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: true, internalType: "bytes32", name: "reqHash", type: "bytes32" }, { indexed: false, internalType: "uint256[]", name: "axieIds", type: "uint256[]" } ], name: "AxieReleaseForMaterialRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256[]", name: "axieIds", type: "uint256[]" } ], name: "AxiesReleased", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "materialContractAddress", type: "address" } ], name: "MaterialContractAddressUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256[]", name: "ranges", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "levelAggregator", type: "uint256" } ], name: "QtyBonusPercentByLevelGroupsUpdated", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "uint128", name: "floor", type: "uint128" }, { internalType: "uint128", name: "ceiling", type: "uint128" } ], indexed: false, internalType: "struct QtyRange[]", name: "ranges", type: "tuple[]" } ], name: "QtyByBreedCountsUpdated", 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: false, internalType: "address", name: "treasuryAddress", type: "address" } ], name: "TreasuryAddressUpdated", 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: "newCoordinator", type: "address" } ], name: "VRFCoordinatorAddressUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "axieContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "axieNum", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" } ], name: "estimateFee", outputs: [ { internalType: "uint256", name: "estimatedFee", type: "uint256" }, { internalType: "uint256", name: "callbackGasLimit", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaxGasOnReleaseOneAxie", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getQtyBonusPercentByLevelGroups", outputs: [ { internalType: "uint256[]", name: "percents", type: "uint256[]" }, { internalType: "uint256", name: "levelAggregator", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getQtyByBreedCounts", outputs: [ { components: [ { internalType: "uint128", name: "floor", type: "uint128" }, { internalType: "uint128", name: "ceiling", type: "uint128" } ], internalType: "struct QtyRange[]", name: "ranges", type: "tuple[]" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner_", type: "address" }, { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "address[4]", name: "packedAddrs", type: "address[4]" }, { internalType: "uint256", name: "maxGasOnReleaseOneAxie", type: "uint256" }, { components: [ { internalType: "uint128", name: "floor", type: "uint128" }, { internalType: "uint128", name: "ceiling", type: "uint128" } ], internalType: "struct QtyRange[]", name: "qtyByBreedCounts", type: "tuple[]" }, { internalType: "uint16", name: "levelAggregator", type: "uint16" }, { internalType: "uint256[]", name: "qtyBonusByLevels", type: "uint256[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "materialContract", 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: "bytes32", name: "reqHash", type: "bytes32" }, { internalType: "uint256", name: "randomSeed", type: "uint256" } ], name: "rawFulfillRandomSeed", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "axieIds", type: "uint256[]" } ], name: "requestReleaseAxie", outputs: [ { internalType: "bytes32", name: "reqHash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IAxie", name: "addr", type: "address" } ], name: "setAxieContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IMaterial", name: "addr", type: "address" } ], name: "setMaterialContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "maxGas", type: "uint256" } ], name: "setMaxGasOnReleaseOneAxie", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint16", name: "levelAggregator", type: "uint16" }, { internalType: "uint256[]", name: "percents", type: "uint256[]" } ], name: "setQtyBonusPercentByLevelGroups", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint128", name: "floor", type: "uint128" }, { internalType: "uint128", name: "ceiling", type: "uint128" } ], internalType: "struct QtyRange[]", name: "ranges", type: "tuple[]" } ], name: "setQtyByBreedCounts", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "setTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "vrfCoordinator_", type: "address" } ], name: "setVRFCoordinator", 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: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vrfCoordinator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var RELEASE_AXIE_FOR_MATERIAL_LOGIC = { name: "ReleaseAxieForMaterialLogic", address: "0x9dcba64a0bf08b90d271f582e5dd84ccb79be977", is_deprecated: true, created_at: 1702268420, abi: abi346 }; var release_axie_for_material_logic_default = RELEASE_AXIE_FOR_MATERIAL_LOGIC; // src/contracts/release_axie_for_material_proxy.ts var abi347 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RELEASE_AXIE_FOR_MATERIAL_PROXY = { name: "ReleaseAxieForMaterialProxy", address: "0x65e133756d621c0a0f5bb052ba7297b61efb66e9", is_deprecated: false, created_at: 1702268420, abi: abi347 }; var release_axie_for_material_proxy_default = RELEASE_AXIE_FOR_MATERIAL_PROXY; // src/contracts/relic_apostle_management.ts var abi348 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_admin", type: "address" }, { indexed: false, internalType: "bool", name: "_enabled", type: "bool" } ], name: "AdminAccessSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_planetOwner", type: "address" }, { indexed: false, internalType: "uint256", name: "_planetID", type: "uint256" }, { indexed: false, internalType: "string", name: "_seedPlanetID", type: "string" }, { indexed: false, internalType: "uint256[]", name: "_slotsWithApostleIDs", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_apostleIDs", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_genes", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_ivs", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "_createTimes", type: "uint256[]" }, { indexed: false, internalType: "enum RelicApostleManagement.ACTION_TYPE[]", name: "_actions", type: "uint8[]" } ], name: "ManageRelicApostle", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_planetOwner", type: "address" }, { components: [ { internalType: "uint256", name: "planetID", type: "uint256" }, { internalType: "string", name: "seedPlanetID", type: "string" }, { internalType: "uint256[]", name: "slotsWithApostleIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "apostleIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "genes", type: "uint256[]" }, { internalType: "uint256[]", name: "ivs", type: "uint256[]" }, { internalType: "uint256[]", name: "createTimes", type: "uint256[]" }, { internalType: "enum RelicApostleManagement.ACTION_TYPE[]", name: "actions", type: "uint8[]" } ], indexed: false, internalType: "struct RelicApostleManagement.ApostlePayload[]", name: "_payloads", type: "tuple[]" } ], name: "ManageRelicApostlesSummary", 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: "uint256[]", name: "_reforgingPriceArray", type: "uint256[]" } ], name: "ReforgePriceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint8", name: "_mintType", type: "uint8" }, { indexed: false, internalType: "uint256", name: "_saleSchedule", type: "uint256" } ], name: "SaleScheduleUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "uint256[]", name: "_planetIDs", type: "uint256[]" }, { internalType: "string[]", name: "_seedPlanetIDs", type: "string[]" } ], name: "getPlanetNonceArray", outputs: [ { internalType: "uint256[]", name: "planetResult", type: "uint256[]" }, { internalType: "uint256[]", name: "seedPlanetResult", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_planetIds", type: "uint256[]" }, { internalType: "string[]", name: "_seedPlanetIds", type: "string[]" } ], name: "getPlanetSlotsWithApostleIDsMapping", outputs: [ { internalType: "uint256[][]", name: "", type: "uint256[][]" }, { internalType: "uint256[][]", name: "", type: "uint256[][]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getReforgingAnimaPriceArray", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "planetID", type: "uint256" }, { internalType: "string", name: "seedPlanetID", type: "string" }, { internalType: "uint256[]", name: "slotsWithApostleIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "apostleIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "genes", type: "uint256[]" }, { internalType: "uint256[]", name: "ivs", type: "uint256[]" }, { internalType: "uint256[]", name: "createTimes", type: "uint256[]" }, { internalType: "enum RelicApostleManagement.ACTION_TYPE[]", name: "actions", type: "uint8[]" } ], internalType: "struct RelicApostleManagement.ApostlePayload[]", name: "_payloads", type: "tuple[]" }, { internalType: "uint256", name: "_time", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "manageRelicApostles", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "bool", name: "enabled", type: "bool" } ], name: "setAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "_isEnabled", type: "bool" } ], name: "setEnabled", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_reforgingPriceArray", type: "uint256[]" } ], name: "setupReforgePrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_tokenReceiptHandler", type: "address" }, { internalType: "address", name: "_planetAddress", type: "address" }, { internalType: "address", name: "_apostleAddress", type: "address" }, { internalType: "address", name: "_animaAddress", type: "address" }, { internalType: "address", name: "_systemAddress", type: "address" } ], name: "updateContractSetting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "address", name: "_wallet", type: "address" } ], name: "withdrawFunds", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var RELIC_APOSTLE_MANAGEMENT = { name: "Relic Apostle Management", address: "0x05560c629b9923820dbfb90b45de462edb7d04bd", is_deprecated: false, created_at: 1726460385, abi: abi348 }; var relic_apostle_management_default = RELIC_APOSTLE_MANAGEMENT; // src/contracts/relic_apostle_management_proxy.ts var abi349 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RELIC_APOSTLE_MANAGEMENT_PROXY = { name: "Relic Apostle Management Proxy", address: "0xbee2036eb93358411d97a57b2ba661fb8ea84074", is_deprecated: false, created_at: 1724227917, abi: abi349 }; var relic_apostle_management_proxy_default = RELIC_APOSTLE_MANAGEMENT_PROXY; // src/contracts/rep16_migrator.ts var abi350 = [ { inputs: [ { internalType: "address", name: "prevImpl", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "uint256", name: "legacyProxySlot", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "nonpayable", type: "fallback" }, { inputs: [], name: "ADMIN", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "LEGACY_PROXY_SLOT", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PREV_IMPL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "SELF", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "proxyAdmin", type: "address" }, { internalType: "address", name: "newImpl", type: "address" } ], name: "initializeDataForREP16", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REP16_MIGRATOR = { name: "REP16 Migrator", address: "0xa5480da95b6f056fb2bb1f296f4e2f1a445ebea9", is_deprecated: false, created_at: 1719219066, abi: abi350 }; var rep16_migrator_default = REP16_MIGRATOR; // src/contracts/reserved_apostle_forge_proxy.ts var abi351 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RESERVED_APOSTLE_FORGE_PROXY = { name: "Reserved Apostle Forge Proxy", address: "0x749ac39daa13764ebcc943d9a3728272c74b104f", is_deprecated: false, created_at: 1724227935, abi: abi351 }; var reserved_apostle_forge_proxy_default = RESERVED_APOSTLE_FORGE_PROXY; // src/contracts/restriction_control.ts var abi352 = [ { inputs: [ { internalType: "address", name: "_atiaShrine", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "string", name: "id", type: "string" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "checkRestriction", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "hasBlessingStatus", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "hasBlessingStreak", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "hasRonBalance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "bytes", name: "args", type: "bytes" } ], name: "hasTokenBalance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "isBlessingActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "isBlessingInactive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "id", type: "string" } ], name: "isValidRestriction", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var RESTRICTION_CONTROL = { name: "Restriction Control", address: "0x0a2ccb496a78cb855673c679d14c42a9d8b0dfe0", is_deprecated: false, created_at: 1696867411, abi: abi352 }; var restriction_control_default = RESTRICTION_CONTROL; // src/contracts/reward_dispenser_proxy.ts var abi353 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REWARD_DISPENSER_PROXY = { name: "Reward Dispenser Proxy", address: "0x919a03764c1099ecb77e1532468d55e5baac8aff", is_deprecated: false, created_at: 1664011277, abi: abi353 }; var reward_dispenser_proxy_default = REWARD_DISPENSER_PROXY; // src/contracts/reward_distributor.ts var abi354 = [ { inputs: [ { internalType: "address", name: "_operator", type: "address" }, { internalType: "uint256[]", name: "_rewardIds", type: "uint256[]" }, { internalType: "contract IERC20[]", name: "_tokenAddresses", type: "address[]" }, { internalType: "uint256[]", name: "_conversionRates", type: "uint256[]" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "uint256", name: "_rewardId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_total", type: "uint256" } ], name: "RewardClaimed", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_rewardId", type: "uint256" }, { internalType: "contract IERC20", name: "_tokenAddress", type: "address" }, { internalType: "uint256", name: "_conversionRate", type: "uint256" } ], name: "addRewardToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_rewardId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "claim", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_rewardId", type: "uint256" } ], name: "getClaimed", outputs: [ { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "rewardMap", outputs: [ { internalType: "contract IERC20", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "conversionRate", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var REWARD_DISTRIBUTOR = { name: "Reward Distributor", address: "0x1a35e7ed2a2476129a32612644c8426bf8e8730c", is_deprecated: false, created_at: 1623663697, abi: abi354 }; var reward_distributor_default = REWARD_DISTRIBUTOR; // src/contracts/reward_distributor_proxy.ts var abi355 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REWARD_DISTRIBUTOR_PROXY = { name: "Reward Distributor Proxy", address: "0x6530bf3d49351c4d76c18d49ac22814153ede589", is_deprecated: false, created_at: 1709786096, abi: abi355 }; var reward_distributor_proxy_default = REWARD_DISTRIBUTOR_PROXY; // src/contracts/reward_distributor_proxy_for_axie_quest.ts var abi356 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REWARD_DISTRIBUTOR_PROXY_FOR_AXIE_QUEST = { name: "Reward Distributor Proxy For Axie Quest", address: "0x21d18ae443f86a755ba47d6241c49c5bcf070bbf", is_deprecated: false, created_at: 1712906463, abi: abi356 }; var reward_distributor_proxy_for_axie_quest_default = REWARD_DISTRIBUTOR_PROXY_FOR_AXIE_QUEST; // src/contracts/reward_distributor_proxy_for_classic.ts var abi357 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REWARD_DISTRIBUTOR_PROXY_FOR_CLASSIC = { name: "Reward Distributor Proxy For Classic", address: "0x6530bf3d49351c4d76c18d49ac22814153ede589", is_deprecated: false, created_at: 1709786096, abi: abi357 }; var reward_distributor_proxy_for_classic_default = REWARD_DISTRIBUTOR_PROXY_FOR_CLASSIC; // src/contracts/reward_distributor_proxy_for_duet_monster.ts var abi358 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REWARD_DISTRIBUTOR_PROXY_FOR_DUET_MONSTER = { name: "Reward Distributor Proxy For Duet Monster", address: "0xf5f10ba656fd800848a43feaa00cd88512783317", is_deprecated: false, created_at: 1718599463, abi: abi358 }; var reward_distributor_proxy_for_duet_monster_default = REWARD_DISTRIBUTOR_PROXY_FOR_DUET_MONSTER; // src/contracts/reward_distributor_proxy_for_land.ts var abi359 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REWARD_DISTRIBUTOR_PROXY_FOR_LAND = { name: "Reward Distributor Proxy For Land", address: "0x193e04a8944d9aaa57abd2586b0c5c8044d21804", is_deprecated: false, created_at: 1694577294, abi: abi359 }; var reward_distributor_proxy_for_land_default = REWARD_DISTRIBUTOR_PROXY_FOR_LAND; // src/contracts/reward_distributor_proxy_for_origins.ts var abi360 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var REWARD_DISTRIBUTOR_PROXY_FOR_ORIGINS = { name: "Reward Distributor Proxy For Origins", address: "0xd609ecedbd02858dda812621a27b68c52732cc01", is_deprecated: false, created_at: 1712649612, abi: abi360 }; var reward_distributor_proxy_for_origins_default = REWARD_DISTRIBUTOR_PROXY_FOR_ORIGINS; // src/contracts/reward_distributor_proxy_for_wallet_quest.ts var abi361 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var REWARD_DISTRIBUTOR_PROXY_FOR_WALLET_QUEST = { name: "Reward Distributor Proxy For Wallet Quest", address: "0x81588c2db2f47851960dcdc1366a2331355badf5", is_deprecated: false, created_at: 1728292891, abi: abi361 }; var reward_distributor_proxy_for_wallet_quest_default = REWARD_DISTRIBUTOR_PROXY_FOR_WALLET_QUEST; // src/contracts/reward_multiplier.ts var abi362 = [ { inputs: [ { internalType: "address", name: "_depositToken", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { 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: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Staked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Withdrawn", type: "event" }, { inputs: [], name: "depositToken", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_days", type: "uint256" } ], name: "getStakingHistory", outputs: [ { components: [ { internalType: "uint256", name: "currentBalance", type: "uint256" }, { internalType: "uint256", name: "lowestBalance", type: "uint256" }, { internalType: "uint256", name: "day", type: "uint256" } ], internalType: "struct AddressStaking[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_days", type: "uint256" } ], name: "getSystemStats", outputs: [ { components: [ { internalType: "uint256", name: "totalStaked", type: "uint256" }, { internalType: "uint256", name: "day", type: "uint256" } ], internalType: "struct SystemStats[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "hasStaked", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "lastStakingHistory", outputs: [ { components: [ { internalType: "uint256", name: "currentBalance", type: "uint256" }, { internalType: "uint256", name: "lowestBalance", type: "uint256" }, { internalType: "uint256", name: "day", type: "uint256" } ], internalType: "struct AddressStaking", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "stake", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "stakingHistory", outputs: [ { internalType: "uint256", name: "currentBalance", type: "uint256" }, { internalType: "uint256", name: "lowestBalance", type: "uint256" }, { internalType: "uint256", name: "day", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "systemStakingHistory", outputs: [ { internalType: "uint256", name: "totalStaked", type: "uint256" }, { internalType: "uint256", name: "day", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "totalStaked", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "walletCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var REWARD_MULTIPLIER = { name: "Reward Multiplier", address: "0xf125090a4992a0ff5d485961504a069028786ef9", is_deprecated: false, created_at: 1729045341, abi: abi362 }; var reward_multiplier_default = REWARD_MULTIPLIER; // src/contracts/reward_splitter.ts var abi363 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_old", type: "address" }, { indexed: false, internalType: "address", name: "_new", type: "address" } ], name: "ContractAddressUpdated", 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: "uint256", name: "_amount", type: "uint256" }, { indexed: false, internalType: "address[]", name: "_recipients", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "_sharePercentages", type: "uint256[]" } ], name: "SLPShared", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_token", type: "address" }, { indexed: false, internalType: "uint256", name: "_amount", type: "uint256" }, { indexed: false, internalType: "address[]", name: "_recipients", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "_sharePercentages", type: "uint256[]" } ], name: "TokenShared", type: "event" }, { inputs: [], name: "TOTAL_SHARE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "acceptOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newAddress", type: "address" } ], name: "changeRewardContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_newAddress", type: "address" } ], name: "changeSlpContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" }, { internalType: "uint256[]", name: "_sharePercentages", type: "uint256[]" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "claimAndSplitSLP", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" }, { internalType: "uint256[]", name: "_sharePercentages", type: "uint256[]" }, { internalType: "address", name: "_tokenContract", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "claimAndSplitToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "rewardContractAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "slpContractAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_candidate", type: "address" } ], name: "tryTransferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var REWARD_SPLITTER = { name: "Reward Splitter", address: "0x13b17ae62ec87775222789d1c544fe1c1b3dccb3", is_deprecated: false, created_at: 1646053158, abi: abi363 }; var reward_splitter_default = REWARD_SPLITTER; // src/contracts/rewards.ts var abi364 = [ { inputs: [ { internalType: "address", name: "_singleton", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" } ]; var REWARDS = { name: "Rewards", address: "0xd217ad3332335e5dca5ca566d35177f25d92059c", is_deprecated: false, created_at: 1660894269, abi: abi364 }; var rewards_default = REWARDS; // src/contracts/rns_auction.ts var abi365 = [ { inputs: [], stateMutability: "payable", type: "constructor" }, { inputs: [], name: "AlreadyBidding", type: "error" }, { inputs: [], name: "ContractBidderIsForbidden", type: "error" }, { inputs: [], name: "EventIsNotCreatedOrAlreadyStarted", type: "error" }, { inputs: [], name: "InsufficientAmount", type: "error" }, { inputs: [], name: "InvalidArrayLength", type: "error" }, { inputs: [], name: "InvalidEventRange", type: "error" }, { inputs: [], name: "NameNotReserved", type: "error" }, { inputs: [], name: "NoOneBidded", type: "error" }, { inputs: [], name: "NotYetEnded", type: "error" }, { inputs: [], name: "NullAssignment", type: "error" }, { inputs: [], name: "QueryIsNotInPeriod", type: "error" }, { inputs: [], name: "RatioIsTooLarge", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "auctionId", type: "bytes32" }, { components: [ { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" } ], indexed: false, internalType: "struct EventRange", name: "range", type: "tuple" } ], name: "AuctionEventSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "ratio", type: "uint256" } ], name: "BidGapRatioUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "auctionId", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "price", type: "uint256" }, { indexed: false, internalType: "address payable", name: "bidder", type: "address" }, { indexed: false, internalType: "uint256", name: "previousPrice", type: "uint256" }, { indexed: false, internalType: "address", name: "previousBidder", type: "address" } ], name: "BidPlaced", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "auctionId", type: "bytes32" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "startingPrices", type: "uint256[]" } ], name: "LabelsListed", 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: "address", name: "addr", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DOMAIN_EXPIRY_DURATION", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_AUCTION_DOMAIN_EXPIRY", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_EXPIRY", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "bulkClaimBidNames", outputs: [ { internalType: "uint256[]", name: "claimedAts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string[]", name: "labels", type: "string[]" } ], name: "bulkRegister", outputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" } ], internalType: "struct EventRange", name: "range", type: "tuple" } ], name: "createAuctionEvent", outputs: [ { internalType: "bytes32", name: "auctionId", type: "bytes32" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "getAuction", outputs: [ { components: [ { internalType: "bytes32", name: "auctionId", type: "bytes32" }, { internalType: "uint256", name: "startingPrice", type: "uint256" }, { components: [ { internalType: "address payable", name: "bidder", type: "address" }, { internalType: "uint256", name: "price", type: "uint256" }, { internalType: "uint256", name: "timestamp", type: "uint256" }, { internalType: "uint256", name: "claimedAt", type: "uint256" } ], internalType: "struct INSAuction.Bid", name: "bid", type: "tuple" } ], internalType: "struct INSAuction.DomainAuction", name: "auction", type: "tuple" }, { internalType: "uint256", name: "beatPrice", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "auctionId", type: "bytes32" } ], name: "getAuctionEvent", outputs: [ { components: [ { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" } ], internalType: "struct EventRange", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBidGapRatio", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRNSUnified", outputs: [ { internalType: "contract INSUnified", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTreasury", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "admin", type: "address" }, { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "contract INSUnified", name: "rnsUnified", type: "address" }, { internalType: "address payable", name: "treasury", type: "address" }, { internalType: "uint256", name: "bidGapRatio", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "auctionId", type: "bytes32" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "startingPrices", type: "uint256[]" } ], name: "listNamesForAuction", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "placeBid", 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: "uint256", name: "id", type: "uint256" } ], name: "reserved", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "auctionId", type: "bytes32" }, { components: [ { internalType: "uint256", name: "startedAt", type: "uint256" }, { internalType: "uint256", name: "endedAt", type: "uint256" } ], internalType: "struct EventRange", name: "range", type: "tuple" } ], name: "setAuctionEvent", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "ratio", type: "uint256" } ], name: "setBidGapRatio", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "addr", type: "address" } ], name: "setTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var RNS_AUCTION = { name: "RNS Auction", address: "0x20143137cb90c8663e575bf509d8f370cd711cb8", is_deprecated: false, created_at: 1699254612, abi: abi365 }; var rns_auction_default = RNS_AUCTION; // src/contracts/rns_auction_proxy.ts var abi366 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RNS_AUCTION_PROXY = { name: "RNS Auction Proxy", address: "0xd55e6d80aea1ff4650bc952c1653ab3cf1b940a9", is_deprecated: false, created_at: 1699254612, abi: abi366 }; var rns_auction_proxy_default = RNS_AUCTION_PROXY; // src/contracts/rns_commission_proxy.ts var abi367 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RNS_COMMISSION_PROXY = { name: "RNS Commission Proxy", address: "0x1bece3a948c14eefbaace67fe6f51cd21b79aa21", is_deprecated: false, created_at: 1720085010, abi: abi367 }; var rns_commission_proxy_default = RNS_COMMISSION_PROXY; // src/contracts/rns_domain_price.ts var abi368 = [ { inputs: [], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "int32", name: "expo1", type: "int32" }, { internalType: "int32", name: "expo2", type: "int32" }, { internalType: "int64", name: "price1", type: "int64" } ], name: "ErrComputedPriceTooLarge", type: "error" }, { inputs: [ { internalType: "int32", name: "expo", type: "int32" } ], name: "ErrExponentTooLarge", type: "error" }, { inputs: [], name: "ExceedAuctionDomainExpiry", type: "error" }, { inputs: [], name: "InvalidArrayLength", type: "error" }, { inputs: [ { internalType: "uint256", name: "n", type: "uint256" } ], name: "PeriodNumOverflowedUint16", type: "error" }, { inputs: [], name: "RenewalFeeIsNotOverriden", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint192", name: "ratio", type: "uint192" }, { indexed: false, internalType: "uint64", name: "period", type: "uint64" } ], name: "DomainPriceScaleRuleUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "bytes32", name: "labelHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "price", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "proofHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "setType", type: "uint256" } ], name: "DomainPriceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "uint256", name: "maxLength", type: "uint256" } ], name: "MaxRenewalFeeLengthUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "contract IPyth", name: "pyth", type: "address" }, { indexed: false, internalType: "uint256", name: "maxAcceptableAge", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "pythIdForRONUSD", type: "bytes32" } ], name: "PythOracleConfigUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "uint256", name: "labelLength", type: "uint256" }, { indexed: false, internalType: "uint256", name: "renewalFee", type: "uint256" } ], name: "RenewalFeeByLengthUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "bytes32", name: "labelHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "inverseRenewalFee", type: "uint256" } ], name: "RenewalFeeOverridingUpdated", 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: "address", name: "operator", type: "address" }, { indexed: true, internalType: "uint256", name: "ratio", type: "uint256" } ], name: "TaxRatioUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_PERCENTAGE", outputs: [ { internalType: "uint64", name: "", type: "uint64" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OVERRIDER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "USD_DECIMALS", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "lbHashes", type: "bytes32[]" }, { internalType: "uint256[]", name: "usdPrices", type: "uint256[]" } ], name: "bulkOverrideRenewalFees", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "lbHashes", type: "bytes32[]" }, { internalType: "uint256[]", name: "ronPrices", type: "uint256[]" }, { internalType: "bytes32[]", name: "proofHashes", type: "bytes32[]" }, { internalType: "uint256[]", name: "setTypes", type: "uint256[]" } ], name: "bulkSetDomainPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "lbHashes", type: "bytes32[]" }, { internalType: "uint256[]", name: "ronPrices", type: "uint256[]" }, { internalType: "bytes32[]", name: "proofHashes", type: "bytes32[]" }, { internalType: "uint256[]", name: "setTypes", type: "uint256[]" } ], name: "bulkTrySetDomainPrice", outputs: [ { internalType: "bool[]", name: "updated", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "ronWei", type: "uint256" } ], name: "convertRONToUSD", outputs: [ { internalType: "uint256", name: "usdWei", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "usdWei", type: "uint256" } ], name: "convertUSDToRON", outputs: [ { internalType: "uint256", name: "ronWei", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "label", type: "string" } ], name: "getDomainPrice", outputs: [ { internalType: "uint256", name: "usdPrice", type: "uint256" }, { internalType: "uint256", name: "ronPrice", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "label", type: "string" } ], name: "getOverriddenRenewalFee", outputs: [ { internalType: "uint256", name: "usdFee", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPythOracleConfig", outputs: [ { internalType: "contract IPyth", name: "pyth", type: "address" }, { internalType: "uint256", name: "maxAcceptableAge", type: "uint256" }, { internalType: "bytes32", name: "pythIdForRONUSD", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "label", type: "string" }, { internalType: "uint256", name: "duration", type: "uint256" } ], name: "getRenewalFee", outputs: [ { components: [ { internalType: "uint256", name: "usd", type: "uint256" }, { internalType: "uint256", name: "ron", type: "uint256" } ], internalType: "struct INSDomainPrice.UnitPrice", name: "basePrice", type: "tuple" }, { components: [ { internalType: "uint256", name: "usd", type: "uint256" }, { internalType: "uint256", name: "ron", type: "uint256" } ], internalType: "struct INSDomainPrice.UnitPrice", name: "tax", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRenewalFeeByLengths", outputs: [ { components: [ { internalType: "uint256", name: "labelLength", type: "uint256" }, { internalType: "uint256", name: "fee", type: "uint256" } ], internalType: "struct INSDomainPrice.RenewalFee[]", name: "renewalFees", type: "tuple[]" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getScaleDownRuleForDomainPrice", outputs: [ { components: [ { internalType: "uint192", name: "ratio", type: "uint192" }, { internalType: "uint64", name: "period", type: "uint64" } ], internalType: "struct PeriodScaler", name: "scaleRule", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTaxRatio", outputs: [ { internalType: "uint256", name: "ratio", 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: "admin", type: "address" }, { internalType: "address[]", name: "operators", type: "address[]" }, { components: [ { internalType: "uint256", name: "labelLength", type: "uint256" }, { internalType: "uint256", name: "fee", type: "uint256" } ], internalType: "struct INSDomainPrice.RenewalFee[]", name: "renewalFees", type: "tuple[]" }, { internalType: "uint256", name: "taxRatio", type: "uint256" }, { components: [ { internalType: "uint192", name: "ratio", type: "uint192" }, { internalType: "uint64", name: "period", type: "uint64" } ], internalType: "struct PeriodScaler", name: "domainPriceScaleRule", type: "tuple" }, { internalType: "contract IPyth", name: "pyth", type: "address" }, { internalType: "contract INSAuction", name: "auction", type: "address" }, { internalType: "uint256", name: "maxAcceptableAge", type: "uint256" }, { internalType: "bytes32", name: "pythIdForRONUSD", type: "bytes32" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "contract IPyth", name: "pyth", type: "address" }, { internalType: "uint256", name: "maxAcceptableAge", type: "uint256" }, { internalType: "bytes32", name: "pythIdForRONUSD", type: "bytes32" } ], name: "setPythOracleConfig", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "labelLength", type: "uint256" }, { internalType: "uint256", name: "fee", type: "uint256" } ], internalType: "struct INSDomainPrice.RenewalFee[]", name: "renewalFees", type: "tuple[]" } ], name: "setRenewalFeeByLengths", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint192", name: "ratio", type: "uint192" }, { internalType: "uint64", name: "period", type: "uint64" } ], internalType: "struct PeriodScaler", name: "scaleRule", type: "tuple" } ], name: "setScaleDownRuleForDomainPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "ratio", type: "uint256" } ], name: "setTaxRatio", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var RNS_DOMAIN_PRICE = { name: "RNS Domain Price", address: "0x2f8c5e6bbe526d0c88979269f2b249271491717c", is_deprecated: false, created_at: 1699254612, abi: abi368 }; var rns_domain_price_default = RNS_DOMAIN_PRICE; // src/contracts/rns_domain_price_proxy.ts var abi369 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RNS_DOMAIN_PRICE_PROXY = { name: "RNS Domain Price Proxy", address: "0x2bdc555a87db9207e5d175f0c12b237736181675", is_deprecated: false, created_at: 1699254612, abi: abi369 }; var rns_domain_price_proxy_default = RNS_DOMAIN_PRICE_PROXY; // src/contracts/rns_operation.ts var abi370 = [ { inputs: [ { internalType: "contract INSUnified", name: "rns_", type: "address" }, { internalType: "address", name: "resolver_", type: "address" }, { internalType: "contract INSAuction", name: "auction_", type: "address" }, { internalType: "contract INSDomainPrice", name: "domainPrice_", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [], name: "auction", outputs: [ { internalType: "contract INSAuction", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "string[]", name: "labels", type: "string[]" }, { internalType: "uint64", name: "duration", type: "uint64" } ], name: "bulkMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string[]", name: "labels", type: "string[]" }, { internalType: "uint256[]", name: "yearlyUSDPrices", type: "uint256[]" } ], name: "bulkOverrideRenewalFees", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string[]", name: "labels", type: "string[]" }, { internalType: "enum INSDomainPrice.Tier[]", name: "tiers", type: "uint8[]" } ], name: "bulkOverrideTiers", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string[]", name: "labels", type: "string[]" }, { internalType: "bool", name: "shouldProtect", type: "bool" } ], name: "bulkSetProtected", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "domainPrice", outputs: [ { internalType: "contract INSDomainPrice", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "tos", type: "address[]" }, { internalType: "string[]", name: "labels", type: "string[]" }, { internalType: "bool", name: "allowFailure", type: "bool" } ], name: "reclaimUnbiddedNames", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "resolver", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "rns", outputs: [ { internalType: "contract INSUnified", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string[]", name: "labels", type: "string[]" } ], name: "toIds", outputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var RNS_OPERATION = { name: "RNS Operation", address: "0xcd245263eddee593a5a66f93f74c58c544957339", is_deprecated: false, created_at: 1710307789, abi: abi370 }; var rns_operation_default = RNS_OPERATION; // src/contracts/rns_reverse_registrar_proxy.ts var abi371 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RNS_REVERSE_REGISTRAR_PROXY = { name: "RNS Reverse Registrar Proxy", address: "0xb8618a73cc08d2c4097d5c0e0f32fa4af4547e2f", is_deprecated: false, created_at: 1699254612, abi: abi371 }; var rns_reverse_registrar_proxy_default = RNS_REVERSE_REGISTRAR_PROXY; // src/contracts/rns_unified_proxy.ts var abi372 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RNS_UNIFIED_PROXY = { name: "RNS Unified Proxy", address: "0x67c409dab0ee741a1b1be874bd1333234cfdbf44", is_deprecated: false, created_at: 1699254612, abi: abi372 }; var rns_unified_proxy_default = RNS_UNIFIED_PROXY; // src/contracts/ron_registrar_controller.ts var abi373 = [ { inputs: [], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "bytes32", name: "commitment", type: "bytes32" } ], name: "CommitmentTooNew", type: "error" }, { inputs: [ { internalType: "bytes32", name: "commitment", type: "bytes32" } ], name: "CommitmentTooOld", type: "error" }, { inputs: [ { internalType: "uint64", name: "duration", type: "uint64" } ], name: "DurationTooShort", type: "error" }, { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "requestOwner", type: "address" }, { internalType: "bool", name: "nameProtected", type: "bool" }, { internalType: "bool", name: "ownerWhitelisted", type: "bool" } ], name: "ErrInvalidRegisterProtectedName", type: "error" }, { inputs: [ { internalType: "string", name: "name", type: "string" } ], name: "ErrRequestedForProtectedName", type: "error" }, { inputs: [], name: "InsufficientValue", type: "error" }, { inputs: [], name: "InvalidArrayLength", type: "error" }, { inputs: [], name: "MaxCommitmentAgeTooHigh", type: "error" }, { inputs: [], name: "MaxCommitmentAgeTooLow", type: "error" }, { inputs: [ { internalType: "string", name: "name", type: "string" } ], name: "NameNotAvailable", type: "error" }, { inputs: [], name: "ResolverRequiredWhenDataSupplied", type: "error" }, { inputs: [ { internalType: "bytes32", name: "node", type: "bytes32" } ], name: "Unauthorized", type: "error" }, { inputs: [ { internalType: "bytes32", name: "commitment", type: "bytes32" } ], name: "UnexpiredCommitmentExists", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint256", name: "minCommitmentAge", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxCommitmentAge", type: "uint256" } ], name: "CommitmentAgeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "contract INSDomainPrice", name: "newDomainPrice", type: "address" } ], name: "DomainPriceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint256", name: "duration", type: "uint256" } ], name: "MinRegistrationDurationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "name", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "uint256", name: "ronPrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "usdPrice", type: "uint256" }, { indexed: false, internalType: "uint64", name: "expires", type: "uint64" } ], name: "NameRegistered", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "name", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "cost", type: "uint256" }, { indexed: false, internalType: "uint64", name: "expires", type: "uint64" } ], name: "NameRenewed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "address[]", name: "owners", type: "address[]" }, { indexed: false, internalType: "bool", name: "status", type: "bool" } ], name: "ProtectedNamesWhitelisted", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MIN_DOMAIN_LENGTH", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" } ], name: "available", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "address[]", name: "owners", type: "address[]" }, { internalType: "bool", name: "status", type: "bool" } ], name: "bulkWhitelistProtectedNames", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "commitment", type: "bytes32" } ], name: "commit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "bytes32", name: "secret", type: "bytes32" }, { internalType: "address", name: "resolver", type: "address" }, { internalType: "bytes[]", name: "data", type: "bytes[]" }, { internalType: "bool", name: "reverseRecord", type: "bool" } ], name: "computeCommitment", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" } ], name: "computeId", outputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "getCommitmentAgeRange", outputs: [ { internalType: "uint256", name: "minCommitmentAge", type: "uint256" }, { internalType: "uint256", name: "maxCommitmentAge", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMinRegistrationDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getNameChecker", outputs: [ { internalType: "contract INameChecker", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPriceOracle", outputs: [ { internalType: "contract INSDomainPrice", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRNSUnified", outputs: [ { internalType: "contract INSUnified", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getReverseRegistrar", outputs: [ { internalType: "contract INSReverseRegistrar", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTreasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "address", name: "owner", type: "address" } ], name: "getWhitelistProtectedNameStatus", outputs: [ { internalType: "bool", name: "status", type: "bool" } ], 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: "admin", type: "address" }, { internalType: "address", name: "pauser", type: "address" }, { internalType: "address payable", name: "treasury", type: "address" }, { internalType: "uint256", name: "maxCommitmentAge", type: "uint256" }, { internalType: "uint256", name: "minCommitmentAge", type: "uint256" }, { internalType: "uint256", name: "minRegistrationDuration", type: "uint256" }, { internalType: "contract INSUnified", name: "rnsUnified", type: "address" }, { internalType: "contract INameChecker", name: "nameChecker", type: "address" }, { internalType: "contract INSDomainPrice", name: "priceOracle", type: "address" }, { internalType: "contract INSReverseRegistrar", name: "reverseRegistrar", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "string", name: "name", type: "string" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "bytes32", name: "secret", type: "bytes32" }, { internalType: "address", name: "resolver", type: "address" }, { internalType: "bytes[]", name: "data", type: "bytes[]" }, { internalType: "bool", name: "reverseRecord", type: "bool" } ], name: "register", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint64", name: "duration", type: "uint64" }, { internalType: "address", name: "resolver", type: "address" }, { internalType: "bytes[]", name: "data", type: "bytes[]" }, { internalType: "bool", name: "reverseRecord", type: "bool" } ], name: "registerProtectedName", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "uint64", name: "duration", type: "uint64" } ], name: "renew", 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: "string", name: "name", type: "string" }, { internalType: "uint64", name: "duration", type: "uint64" } ], name: "rentPrice", outputs: [ { internalType: "uint256", name: "usdPrice", type: "uint256" }, { internalType: "uint256", name: "ronPrice", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "minCommitmentAge", type: "uint256" }, { internalType: "uint256", name: "maxCommitmentAge", type: "uint256" } ], name: "setCommitmentAge", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "duration", type: "uint256" } ], name: "setMinRegistrationDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract INSDomainPrice", name: "priceOracle", type: "address" } ], name: "setPriceOracle", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "addr", type: "address" } ], name: "setTreasury", 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: "string", name: "name", type: "string" } ], name: "valid", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var RON_REGISTRAR_CONTROLLER = { name: "RON Registrar Controller", address: "0x7df2732b400ed050c0cfde58a0dbd870c0502792", is_deprecated: false, created_at: 1699254612, abi: abi373 }; var ron_registrar_controller_default = RON_REGISTRAR_CONTROLLER; // src/contracts/ron_registrar_controller_proxy.ts var abi374 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RON_REGISTRAR_CONTROLLER_PROXY = { name: "RON Registrar Controller Proxy", address: "0x662852853614cbbb5d04bf2e29955b97e3c50b69", is_deprecated: false, created_at: 1699254612, abi: abi374 }; var ron_registrar_controller_proxy_default = RON_REGISTRAR_CONTROLLER_PROXY; // src/contracts/ronaxs_lp.ts var abi375 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONAXS_LP = { name: "RONAXS LP", address: "0x32d1dbb6a4275133cc49f1c61653be3998ada4ff", is_deprecated: false, created_at: 1673939064, abi: abi375 }; var ronaxs_lp_default = RONAXS_LP; // src/contracts/ronaxs_lp_staking_pool.ts var abi376 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONAXS_LP_STAKING_POOL = { name: "RONAXS LP Staking Pool", address: "0x14327fa6a4027d8f08c0a1b7feddd178156e9527", is_deprecated: false, created_at: 1675138513, abi: abi376 }; var ronaxs_lp_staking_pool_default = RONAXS_LP_STAKING_POOL; // src/contracts/ronin_banana_proxy.ts var abi377 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_BANANA_PROXY = { name: "Ronin Banana Proxy", address: "0x1a89ecd466a23e98f07111b0510a2d6c1cd5e400", is_deprecated: false, created_at: 1707758584, abi: abi377 }; var ronin_banana_proxy_default = RONIN_BANANA_PROXY; // src/contracts/ronin_banana_slices.ts var abi378 = [ { inputs: [], name: "ErrCannotBurn", type: "error" }, { inputs: [], name: "ErrInvalidSender", type: "error" }, { inputs: [], name: "ErrNotNana", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "approvedAddresses", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "address", name: "_user", type: "address" } ], name: "burnTo", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "burner", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_nana", type: "address" }, { internalType: "address", name: "_treasury", type: "address" }, { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nana", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "onTransferReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_add", type: "address" }, { internalType: "bool", name: "_val", type: "bool" } ], name: "setApprovedAddress", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_burner", type: "address" }, { internalType: "bool", name: "_val", type: "bool" } ], name: "setBurner", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "updateTreasury", stateMutability: "nonpayable", type: "function" } ]; var RONIN_BANANA_SLICES = { name: "Ronin Banana Slices", address: "0xa2c2a77af812480358a392acc52044b6f0d30ea4", is_deprecated: false, created_at: 1711197701, abi: abi378 }; var ronin_banana_slices_default = RONIN_BANANA_SLICES; // src/contracts/ronin_banana_slices_proxy.ts var abi379 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var RONIN_BANANA_SLICES_PROXY = { name: "Ronin Banana Slices Proxy", address: "0x54efb1cc4f0331405a39d42964c3c885396919e5", is_deprecated: false, created_at: 1711197707, abi: abi379 }; var ronin_banana_slices_proxy_default = RONIN_BANANA_SLICES_PROXY; // src/contracts/ronin_bridge_manager.ts var abi380 = [ { inputs: [ { internalType: "address", name: "voter", type: "address" } ], name: "ErrAlreadyVoted", type: "error" }, { inputs: [], name: "ErrBelowMinRequiredGovernors", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrCurrentProposalIsNotCompleted", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrDuplicated", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "bytes", name: "callData", type: "bytes" } ], name: "ErrExistOneInternalCallFailed", type: "error" }, { inputs: [ { internalType: "address", name: "governor", type: "address" } ], name: "ErrGovernorNotFound", type: "error" }, { inputs: [ { internalType: "address", name: "required", type: "address" }, { internalType: "address", name: "sender", type: "address" } ], name: "ErrGovernorNotMatch", type: "error" }, { inputs: [ { internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ErrInsufficientGas", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidArguments", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "uint256", name: "actual", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "ErrInvalidChainId", type: "error" }, { inputs: [], name: "ErrInvalidExpiryTimestamp", type: "error" }, { inputs: [], name: "ErrInvalidInput", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidOrder", type: "error" }, { inputs: [ { internalType: "bytes32", name: "actual", type: "bytes32" }, { internalType: "bytes32", name: "expected", type: "bytes32" } ], name: "ErrInvalidProposal", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidProposalNonce", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidSignatures", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidThreshold", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidVoteWeight", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "uint256", name: "callIndex", type: "uint256" }, { internalType: "bytes", name: "revertMsg", type: "bytes" } ], name: "ErrLooseProposalInternallyRevert", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrOnlySelfCall", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ErrOperatorNotFound", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" }, { internalType: "address", name: "addr", type: "address" } ], name: "ErrUnsupportedInterface", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrUnsupportedVoteType", type: "error" }, { inputs: [], name: "ErrVoteIsFinalized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" } ], name: "BridgeOperatorAddingFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" } ], name: "BridgeOperatorRemovingFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "governor", type: "address" }, { indexed: true, internalType: "address", name: "fromBridgeOperator", type: "address" }, { indexed: true, internalType: "address", name: "toBridgeOperator", type: "address" } ], name: "BridgeOperatorUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool[]", name: "statuses", type: "bool[]" }, { indexed: false, internalType: "uint96[]", name: "voteWeights", type: "uint96[]" }, { indexed: false, internalType: "address[]", name: "governors", type: "address[]" }, { indexed: false, internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "BridgeOperatorsAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool[]", name: "statuses", type: "bool[]" }, { indexed: false, internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "BridgeOperatorsRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" }, { indexed: false, internalType: "bool", name: "", type: "bool" } ], name: "CallbackRegistered", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "round", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" }, { indexed: false, internalType: "bytes32", name: "globalProposalHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct GlobalProposal.GlobalProposalDetail", name: "globalProposal", type: "tuple" }, { indexed: false, internalType: "address", name: "creator", type: "address" } ], name: "GlobalProposalCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "min", type: "uint256" } ], name: "MinRequiredGovernorUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes", name: "callData", type: "bytes" }, { indexed: false, internalType: "address[]", name: "registers", type: "address[]" }, { indexed: false, internalType: "bool[]", name: "statuses", type: "bool[]" }, { indexed: false, internalType: "bytes[]", name: "returnDatas", type: "bytes[]" } ], name: "Notified", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalApproved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "chainId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "round", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" }, { indexed: false, internalType: "address", name: "creator", type: "address" } ], name: "ProposalCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { indexed: false, internalType: "bool[]", name: "successCalls", type: "bool[]" }, { indexed: false, internalType: "bytes[]", name: "returnDatas", type: "bytes[]" } ], name: "ProposalExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalExpired", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "duration", type: "uint256" } ], name: "ProposalExpiryDurationChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalRejected", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "voter", type: "address" }, { indexed: false, internalType: "enum Ballot.VoteType", name: "support", type: "uint8" }, { indexed: false, internalType: "uint256", name: "weight", type: "uint256" } ], name: "ProposalVoted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum GlobalProposal.TargetOption", name: "targetOption", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "TargetOptionUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "ThresholdUpdated", type: "event" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint96[]", name: "voteWeights", type: "uint96[]" }, { internalType: "address[]", name: "governors", type: "address[]" }, { internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "addBridgeOperators", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct GlobalProposal.GlobalProposalDetail", name: "globalProposal", type: "tuple" }, { internalType: "enum Ballot.VoteType[]", name: "supports_", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "signatures", type: "tuple[]" } ], name: "castGlobalProposalBySignatures", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" }, { internalType: "enum Ballot.VoteType[]", name: "supports_", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "signatures", type: "tuple[]" } ], name: "castProposalBySignatures", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" }, { internalType: "enum Ballot.VoteType", name: "support", type: "uint8" } ], name: "castProposalVoteForCurrentNetwork", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "voteWeight", type: "uint256" } ], name: "checkThreshold", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" } ], name: "execute", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct GlobalProposal.GlobalProposalDetail", name: "globalProposal", type: "tuple" } ], name: "executeGlobal", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "bridgeOperator", type: "address" } ], name: "getBridgeOperatorWeight", outputs: [ { internalType: "uint96", name: "weight", type: "uint96" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBridgeOperators", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCallbackRegisters", outputs: [ { internalType: "address[]", name: "registers", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getFullBridgeOperatorInfos", outputs: [ { internalType: "address[]", name: "governors", type: "address[]" }, { internalType: "address[]", name: "bridgeOperators", type: "address[]" }, { internalType: "uint96[]", name: "weights", type: "uint96[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "round_", type: "uint256" } ], name: "getGlobalProposalSignatures", outputs: [ { internalType: "address[]", name: "voters", type: "address[]" }, { internalType: "enum Ballot.VoteType[]", name: "supports_", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "signatures", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "getGovernorOf", outputs: [ { internalType: "address", name: "governor", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "governor", type: "address" } ], name: "getGovernorWeight", outputs: [ { internalType: "uint96", name: "weight", type: "uint96" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "governors", type: "address[]" } ], name: "getGovernorWeights", outputs: [ { internalType: "uint96[]", name: "weights", type: "uint96[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getGovernors", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "governor", type: "address" } ], name: "getOperatorOf", outputs: [ { internalType: "address", name: "operator", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_round", type: "uint256" } ], name: "getProposalSignatures", outputs: [ { internalType: "address[]", name: "_voters", type: "address[]" }, { internalType: "enum Ballot.VoteType[]", name: "_supports", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "_signatures", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "num", type: "uint256" }, { internalType: "uint256", name: "denom", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "round_", type: "uint256" }, { internalType: "address", name: "voter", type: "address" } ], name: "globalProposalVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newGwImpl", type: "address" } ], name: "hotfix__mapToken_setMinimumThresholds_registerCallbacks", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "isBridgeOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minimumVoteWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_round", type: "uint256" }, { internalType: "address", name: "_voter", type: "address" } ], name: "proposalVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], name: "propose", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], name: "proposeGlobal", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct GlobalProposal.GlobalProposalDetail", name: "globalProposal", type: "tuple" }, { internalType: "enum Ballot.VoteType[]", name: "supports_", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "signatures", type: "tuple[]" } ], name: "proposeGlobalProposalStructAndCastVotes", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" }, { internalType: "enum Ballot.VoteType", name: "support", type: "uint8" } ], name: "proposeProposalForCurrentNetwork", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct Proposal.ProposalDetail", name: "_proposal", type: "tuple" }, { internalType: "enum Ballot.VoteType[]", name: "_supports", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "_signatures", type: "tuple[]" } ], name: "proposeProposalStructAndCastVotes", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "registers", type: "address[]" } ], name: "registerCallbacks", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "removeBridgeOperators", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" } ], name: "resolveTargets", outputs: [ { internalType: "address[]", name: "targets", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "round", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "min", type: "uint256" } ], name: "setMinRequiredGovernor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "num", type: "uint256" }, { internalType: "uint256", name: "denom", type: "uint256" } ], name: "setThreshold", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "governors", type: "address[]" } ], name: "sumGovernorsWeight", outputs: [ { internalType: "uint256", name: "sum", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalBridgeOperator", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "registers", type: "address[]" } ], name: "unregisterCallbacks", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "address[]", name: "targets", type: "address[]" } ], name: "updateManyTargetOption", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "vote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "uint256", name: "againstVoteWeight", type: "uint256" }, { internalType: "uint256", name: "forVoteWeight", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var RONIN_BRIDGE_MANAGER = { name: "Ronin Bridge Manager", address: "0x5d4050d8d1e5fc6e8e19e268b5c30d88cfd22aa7", is_deprecated: false, created_at: 1722925217, abi: abi380 }; var ronin_bridge_manager_default = RONIN_BRIDGE_MANAGER; // src/contracts/ronin_bridge_manager_constructor.ts var abi381 = [ { inputs: [], name: "ErrBelowMinRequiredGovernors", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrCurrentProposalIsNotCompleted", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrDuplicated", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "bytes", name: "callData", type: "bytes" } ], name: "ErrExistOneInternalCallFailed", type: "error" }, { inputs: [ { internalType: "address", name: "governor", type: "address" } ], name: "ErrGovernorNotFound", type: "error" }, { inputs: [ { internalType: "address", name: "required", type: "address" }, { internalType: "address", name: "sender", type: "address" } ], name: "ErrGovernorNotMatch", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidArguments", type: "error" }, { inputs: [], name: "ErrInvalidInput", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidThreshold", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidVoteWeight", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrOnlySelfCall", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ErrOperatorNotFound", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" }, { internalType: "address", name: "addr", type: "address" } ], name: "ErrUnsupportedInterface", type: "error" }, { inputs: [], name: "ErrVoteIsFinalized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" } ], name: "BridgeOperatorAddingFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" } ], name: "BridgeOperatorRemovingFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "governor", type: "address" }, { indexed: true, internalType: "address", name: "fromBridgeOperator", type: "address" }, { indexed: true, internalType: "address", name: "toBridgeOperator", type: "address" } ], name: "BridgeOperatorUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool[]", name: "statuses", type: "bool[]" }, { indexed: false, internalType: "uint96[]", name: "voteWeights", type: "uint96[]" }, { indexed: false, internalType: "address[]", name: "governors", type: "address[]" }, { indexed: false, internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "BridgeOperatorsAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bool[]", name: "statuses", type: "bool[]" }, { indexed: false, internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "BridgeOperatorsRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" }, { indexed: false, internalType: "bool", name: "", type: "bool" } ], name: "CallbackRegistered", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "round", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" }, { indexed: false, internalType: "bytes32", name: "globalProposalHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct GlobalProposal.GlobalProposalDetail", name: "globalProposal", type: "tuple" }, { indexed: false, internalType: "address", name: "creator", type: "address" } ], name: "GlobalProposalCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "min", type: "uint256" } ], name: "MinRequiredGovernorUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes", name: "callData", type: "bytes" }, { indexed: false, internalType: "address[]", name: "registers", type: "address[]" }, { indexed: false, internalType: "bool[]", name: "statuses", type: "bool[]" }, { indexed: false, internalType: "bytes[]", name: "returnDatas", type: "bytes[]" } ], name: "Notified", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalApproved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "chainId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "round", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address", name: "executor", type: "address" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" }, { indexed: false, internalType: "address", name: "creator", type: "address" } ], name: "ProposalCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { indexed: false, internalType: "bool[]", name: "successCalls", type: "bool[]" }, { indexed: false, internalType: "bytes[]", name: "returnDatas", type: "bytes[]" } ], name: "ProposalExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalExpired", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "duration", type: "uint256" } ], name: "ProposalExpiryDurationChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalRejected", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "voter", type: "address" }, { indexed: false, internalType: "enum Ballot.VoteType", name: "support", type: "uint8" }, { indexed: false, internalType: "uint256", name: "weight", type: "uint256" } ], name: "ProposalVoted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum GlobalProposal.TargetOption", name: "targetOption", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "TargetOptionUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "ThresholdUpdated", type: "event" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint96[]", name: "voteWeights", type: "uint96[]" }, { internalType: "address[]", name: "governors", type: "address[]" }, { internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "addBridgeOperators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "voteWeight", type: "uint256" } ], name: "checkThreshold", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "bridgeOperator", type: "address" } ], name: "getBridgeOperatorWeight", outputs: [ { internalType: "uint96", name: "weight", type: "uint96" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBridgeOperators", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCallbackRegisters", outputs: [ { internalType: "address[]", name: "registers", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getFullBridgeOperatorInfos", outputs: [ { internalType: "address[]", name: "governors", type: "address[]" }, { internalType: "address[]", name: "bridgeOperators", type: "address[]" }, { internalType: "uint96[]", name: "weights", type: "uint96[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "round_", type: "uint256" } ], name: "getGlobalProposalSignatures", outputs: [ { internalType: "address[]", name: "voters", type: "address[]" }, { internalType: "enum Ballot.VoteType[]", name: "supports_", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "signatures", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "getGovernorOf", outputs: [ { internalType: "address", name: "governor", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "governor", type: "address" } ], name: "getGovernorWeight", outputs: [ { internalType: "uint96", name: "weight", type: "uint96" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "governors", type: "address[]" } ], name: "getGovernorWeights", outputs: [ { internalType: "uint96[]", name: "weights", type: "uint96[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getGovernors", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "governor", type: "address" } ], name: "getOperatorOf", outputs: [ { internalType: "address", name: "operator", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_round", type: "uint256" } ], name: "getProposalSignatures", outputs: [ { internalType: "address[]", name: "_voters", type: "address[]" }, { internalType: "enum Ballot.VoteType[]", name: "_supports", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "_signatures", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "num", type: "uint256" }, { internalType: "uint256", name: "denom", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "round_", type: "uint256" }, { internalType: "address", name: "voter", type: "address" } ], name: "globalProposalVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "num", type: "uint256" }, { internalType: "uint256", name: "denom", type: "uint256" }, { internalType: "uint256", name: "roninChainId", type: "uint256" }, { internalType: "uint256", name: "expiryDuration", type: "uint256" }, { internalType: "address", name: "bridgeContract", type: "address" }, { internalType: "address[]", name: "callbackRegisters", type: "address[]" }, { internalType: "address[]", name: "bridgeOperators", type: "address[]" }, { internalType: "address[]", name: "governors", type: "address[]" }, { internalType: "uint96[]", name: "voteWeights", type: "uint96[]" }, { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "address[]", name: "targets", type: "address[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "isBridgeOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minimumVoteWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_round", type: "uint256" }, { internalType: "address", name: "_voter", type: "address" } ], name: "proposalVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "registers", type: "address[]" } ], name: "registerCallbacks", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "removeBridgeOperators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" } ], name: "resolveTargets", outputs: [ { internalType: "address[]", name: "targets", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "round", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "min", type: "uint256" } ], name: "setMinRequiredGovernor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "num", type: "uint256" }, { internalType: "uint256", name: "denom", type: "uint256" } ], name: "setThreshold", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "governors", type: "address[]" } ], name: "sumGovernorsWeight", outputs: [ { internalType: "uint256", name: "sum", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalBridgeOperator", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "registers", type: "address[]" } ], name: "unregisterCallbacks", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum GlobalProposal.TargetOption[]", name: "targetOptions", type: "uint8[]" }, { internalType: "address[]", name: "targets", type: "address[]" } ], name: "updateManyTargetOption", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "vote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "uint256", name: "againstVoteWeight", type: "uint256" }, { internalType: "uint256", name: "forVoteWeight", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var RONIN_BRIDGE_MANAGER_CONSTRUCTOR = { name: "Ronin Bridge Manager Constructor", address: "0x89f25ef52e46e583ead6c5e1acd2471ed499c8c7", is_deprecated: false, created_at: 1722328225, abi: abi381 }; var ronin_bridge_manager_constructor_default = RONIN_BRIDGE_MANAGER_CONSTRUCTOR; // src/contracts/ronin_bridge_manager_proxy.ts var abi382 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [ { internalType: "bytes", name: "data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_BRIDGE_MANAGER_PROXY = { name: "Ronin Bridge Manager Proxy", address: "0x2ae89936fc398aea23c63db2404018fe361a8628", is_deprecated: false, created_at: 1722328225, abi: abi382 }; var ronin_bridge_manager_proxy_default = RONIN_BRIDGE_MANAGER_PROXY; // src/contracts/ronin_bridge_tracking.ts var abi383 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_BRIDGE_TRACKING = { name: "Ronin Bridge Tracking", address: "0x3fb325b251ee80945d3fc8c7692f5affca1b8bc2", is_deprecated: false, created_at: 1679636606, abi: abi383 }; var ronin_bridge_tracking_default = RONIN_BRIDGE_TRACKING; // src/contracts/ronin_config.ts var abi384 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [], name: "ConfigUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "address", name: "operator_", type: "address" } ], name: "checkIsOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getGameNFT", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getInitializedVersion", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRollupPoster", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRollupPoster2", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "inbox", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "gameNFT_", type: "address" } ], name: "setGameNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "inbox_", type: "address" } ], name: "setInbox", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator_", type: "address" }, { internalType: "bool", name: "enabled_", type: "bool" } ], name: "setOperator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "poster_", type: "address" } ], name: "setRollupPoster", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "poster_", type: "address" } ], name: "setRollupPoster2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" } ]; var RONIN_CONFIG = { name: "Ronin Config", address: "0x026cd0a70d56a60470ac0bc72e8675dfc8981a14", is_deprecated: false, created_at: 1720869829, abi: abi384 }; var ronin_config_default = RONIN_CONFIG; // src/contracts/ronin_config_proxy.ts var abi385 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_CONFIG_PROXY = { name: "Ronin Config Proxy", address: "0xd5298601cbe23304942cc78f2c148ee0416f22b4", is_deprecated: false, created_at: 1720869838, abi: abi385 }; var ronin_config_proxy_default = RONIN_CONFIG_PROXY; // src/contracts/ronin_game_inbox.ts var abi386 = [ { inputs: [ { internalType: "contract IConfig", name: "_config", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "bytes[]", name: "returnData", type: "bytes[]" } ], name: "AggregateResult", type: "error" }, { inputs: [ { components: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "bool", name: "success", type: "bool" }, { internalType: "bool", name: "force", type: "bool" }, { internalType: "bytes", name: "reason", type: "bytes" } ], internalType: "struct RoninGameInbox.GameResult[]", name: "results", type: "tuple[]" } ], name: "SimulateResult", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "DepositRonToGame", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "gameContract", type: "address" } ], name: "GameContractAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "gameContract", type: "address" } ], name: "GameContractRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "GameOffchainMintBatch", type: "event" }, { anonymous: false, inputs: [], name: "HandleGameMessages", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "messageId", type: "bytes32" }, { components: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "bool", name: "success", type: "bool" }, { internalType: "bool", name: "force", type: "bool" }, { internalType: "bytes", name: "reason", type: "bytes" } ], indexed: false, internalType: "struct RoninGameInbox.GameResult", name: "result", type: "tuple" } ], name: "HandleGameResult", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [ { internalType: "address[]", name: "gameContracts", type: "address[]" } ], name: "addGameContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], internalType: "struct RoninGameInbox.MultiGameMessage[]", name: "multiGameMessages", type: "tuple[]" } ], name: "aggregate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "bytes32", name: "messageId", type: "bytes32" }, { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "address", name: "userAddress", type: "address" }, { internalType: "bool", name: "force", type: "bool" }, { internalType: "uint256", name: "gasFee", type: "uint256" } ], internalType: "struct RoninGameInbox.GameMessage[]", name: "gameMessages", type: "tuple[]" }, { components: [ { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], internalType: "struct RoninGameInbox.Call[]", name: "calls", type: "tuple[]" } ], name: "aggregateAfterGameMessages", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "batchDepositGameNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_contract", type: "address" } ], name: "checkIsGameContract", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "config", outputs: [ { internalType: "contract IConfig", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "depositRonToGame", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "executedMessages", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "bytes32", name: "messageId", type: "bytes32" }, { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "address", name: "userAddress", type: "address" }, { internalType: "bool", name: "force", type: "bool" }, { internalType: "uint256", name: "gasFee", type: "uint256" } ], internalType: "struct RoninGameInbox.GameMessage[]", name: "gameMessages", type: "tuple[]" } ], name: "handle", outputs: [ { components: [ { internalType: "address", name: "userAddress", type: "address" }, { internalType: "bool", name: "success", type: "bool" }, { internalType: "bool", name: "force", type: "bool" }, { internalType: "bytes", name: "reason", type: "bytes" } ], internalType: "struct RoninGameInbox.GameResult[]", name: "", type: "tuple[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "isGameContract", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "isSimulate", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "postUpgrade", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "gameContracts", type: "address[]" } ], name: "removeGameContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "itemIds", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "safeBatchMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "safeBatchMintWithGame", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "bytes32", name: "messageId", type: "bytes32" }, { internalType: "address", name: "target", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "address", name: "userAddress", type: "address" }, { internalType: "bool", name: "force", type: "bool" }, { internalType: "uint256", name: "gasFee", type: "uint256" } ], internalType: "struct RoninGameInbox.GameMessage[]", name: "gameMessages", type: "tuple[]" } ], name: "simulate", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" }, { internalType: "bytes[]", name: "", type: "bytes[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_GAME_INBOX = { name: "Ronin Game Inbox", address: "0xf75ffabbeee2b98031a7b756489a7813400accf7", is_deprecated: false, created_at: 1722685975, abi: abi386 }; var ronin_game_inbox_default = RONIN_GAME_INBOX; // src/contracts/ronin_game_inbox_proxy.ts var abi387 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_GAME_INBOX_PROXY = { name: "Ronin Game Inbox Proxy", address: "0xf8218040d222e5242101c0b7a7ee7dbba14dc85e", is_deprecated: false, created_at: 1720869871, abi: abi387 }; var ronin_game_inbox_proxy_default = RONIN_GAME_INBOX_PROXY; // src/contracts/ronin_game_nft.ts var abi388 = [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_fromTokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_toTokenId", type: "uint256" } ], name: "BatchMetadataUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "messageId", type: "bytes32" } ], name: "GameRollupMessage", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "MetadataUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "ERC1155NFTPrefix", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "ERC20NFTPrefix", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "ERC721NFTPrefix", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "GameNFTPrefix", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "config", outputs: [ { internalType: "contract IConfig", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getItemId", outputs: [ { internalType: "uint8", name: "", type: "uint8" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes", name: "b", type: "bytes" } ], name: "hex2Uint256", outputs: [ { internalType: "uint256", name: "value", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "contract IConfig", name: "config_", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "safeBatchBurn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "itemIds", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "safeBatchMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "bool", name: "canTransfer", type: "bool" } ], name: "setCanTransfer", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "bool", name: "disableExchange", type: "bool" } ], name: "setDistableExchange", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "bool", name: "locked", type: "bool" } ], name: "setLocked", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newURI", type: "string" } ], name: "setMetadataURI", 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: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var RONIN_GAME_NFT = { name: "Ronin Game NFT", address: "0x8042c8bab903da1375c53621ea4c3fc9f42c3178", is_deprecated: false, created_at: 1726986446, abi: abi388 }; var ronin_game_nft_default = RONIN_GAME_NFT; // src/contracts/ronin_game_nft_proxy.ts var abi389 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_GAME_NFT_PROXY = { name: "Ronin Game NFT Proxy", address: "0xcc451977a4be9adee892f7e610fe3e3b3927b5a1", is_deprecated: false, created_at: 1720869853, abi: abi389 }; var ronin_game_nft_proxy_default = RONIN_GAME_NFT_PROXY; // src/contracts/ronin_gateway_pause_enforcer.ts var abi390 = [ { inputs: [ { internalType: "contract IPauseTarget", name: "_target", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "address[]", name: "_sentries", type: "address[]" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "EmergencyPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "EmergencyUnpaused", 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: false, internalType: "contract IPauseTarget", name: "target", type: "address" } ], name: "TargetChanged", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "SENTRY_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IPauseTarget", name: "_target", type: "address" } ], name: "changeTarget", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "emergency", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "address", name: "_sentry", type: "address" } ], name: "grantSentry", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "resetEmergency", 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: "_sentry", type: "address" } ], name: "revokeSentry", 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: "target", outputs: [ { internalType: "contract IPauseTarget", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "triggerPause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "triggerUnpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var RONIN_GATEWAY_PAUSE_ENFORCER = { name: "Ronin Gateway Pause Enforcer", address: "0x09e575648220783fc30e8d78919037e7dc99e83e", is_deprecated: false, created_at: 1680751659, abi: abi390 }; var ronin_gateway_pause_enforcer_default = RONIN_GATEWAY_PAUSE_ENFORCER; // src/contracts/ronin_gateway_v2.ts var abi391 = [ { inputs: [], name: "ErrCallerMustBeBridgeTrackingContract", type: "error" }, { inputs: [], name: "ErrCallerMustBeRoninTrustedOrgContract", type: "error" }, { inputs: [], name: "ErrCallerMustBeValidatorContract", type: "error" }, { inputs: [], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" } ], name: "BridgeTrackingContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "bridgeOperator", type: "address" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" }, { indexed: true, internalType: "uint256", name: "chainId", type: "uint256" }, { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" } ], name: "DepositVoted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "receipt", type: "tuple" } ], name: "Deposited", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "receipt", type: "tuple" } ], name: "MainchainWithdrew", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "tokens", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "threshold", type: "uint256[]" } ], name: "MinimumThresholdsUpdated", 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: false, internalType: "address", name: "", type: "address" } ], name: "RoninTrustedOrganizationContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "ThresholdUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "roninTokens", type: "address[]" }, { indexed: false, internalType: "address[]", name: "mainchainTokens", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "chainIds", type: "uint256[]" }, { indexed: false, internalType: "enum Token.Standard[]", name: "standards", type: "uint8[]" } ], name: "TokenMapped", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "TrustedThresholdUpdated", 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: "", type: "address" } ], name: "ValidatorContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "", type: "tuple" } ], name: "WithdrawalRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "", type: "tuple" } ], name: "WithdrawalSignaturesRequested", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "WITHDRAWAL_MIGRATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "bridgeTrackingContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "recipientAddr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], internalType: "struct Transfer.Request[]", name: "_requests", type: "tuple[]" }, { internalType: "uint256", name: "_chainId", type: "uint256" } ], name: "bulkRequestWithdrawalFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_withdrawals", type: "uint256[]" }, { internalType: "bytes[]", name: "_signatures", type: "bytes[]" } ], name: "bulkSubmitWithdrawalSignatures", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_voteWeight", type: "uint256" } ], name: "checkThreshold", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], internalType: "struct Transfer.Receipt", name: "_receipt", type: "tuple" } ], name: "depositFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "depositVote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "finalHash", type: "bytes32" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_depositId", type: "uint256" }, { internalType: "address", name: "_voter", type: "address" } ], name: "depositVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "emergencyPauser", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_roninToken", type: "address" }, { internalType: "uint256", name: "_chainId", type: "uint256" } ], name: "getMainchainToken", outputs: [ { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "address", name: "tokenAddr", type: "address" } ], internalType: "struct MappedTokenConsumer.MappedToken", name: "_token", type: "tuple" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "num_", type: "uint256" }, { internalType: "uint256", name: "denom_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTrustedThreshold", outputs: [ { internalType: "uint256", name: "trustedNum_", type: "uint256" }, { internalType: "uint256", name: "trustedDenom_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_withdrawalId", type: "uint256" }, { internalType: "address[]", name: "_validators", type: "address[]" } ], name: "getWithdrawalSignatures", outputs: [ { internalType: "bytes[]", name: "_signatures", type: "bytes[]" } ], 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: "_roleSetter", type: "address" }, { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" }, { internalType: "uint256", name: "_trustedNumerator", type: "uint256" }, { internalType: "uint256", name: "_trustedDenominator", type: "uint256" }, { internalType: "address[]", name: "_withdrawalMigrators", type: "address[]" }, { internalType: "address[][2]", name: "_packedAddresses", type: "address[][2]" }, { internalType: "uint256[][2]", name: "_packedNumbers", type: "uint256[][2]" }, { internalType: "enum Token.Standard[]", name: "_standards", type: "uint8[]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_withdrawalId", type: "uint256" } ], name: "mainchainWithdrew", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mainchainWithdrewVote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "finalHash", type: "bytes32" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_withdrawalId", type: "uint256" }, { internalType: "address", name: "_voter", type: "address" } ], name: "mainchainWithdrewVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_roninTokens", type: "address[]" }, { internalType: "address[]", name: "_mainchainTokens", type: "address[]" }, { internalType: "uint256[]", name: "_chainIds", type: "uint256[]" }, { internalType: "enum Token.Standard[]", name: "_standards", type: "uint8[]" } ], name: "mapTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "markWithdrawalMigrated", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "recipientAddr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], internalType: "struct Transfer.Request[]", name: "_requests", type: "tuple[]" }, { internalType: "address[]", name: "_requesters", type: "address[]" } ], name: "migrateWithdrawals", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minimumThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minimumTrustedVoteWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minimumVoteWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "recipientAddr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], internalType: "struct Transfer.Request", name: "_request", type: "tuple" }, { internalType: "uint256", name: "_chainId", type: "uint256" } ], name: "requestWithdrawalFor", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_withdrawalId", type: "uint256" } ], name: "requestWithdrawalSignatures", 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: [], name: "roninTrustedOrganizationContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setBridgeTrackingContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setEmergencyPauser", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokens", type: "address[]" }, { internalType: "uint256[]", name: "_thresholds", type: "uint256[]" } ], name: "setMinimumThresholds", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setRoninTrustedOrganizationContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" } ], name: "setThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_trustedNumerator", type: "uint256" }, { internalType: "uint256", name: "_trustedDenominator", type: "uint256" } ], name: "setTrustedThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setValidatorContract", 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: [ { internalType: "uint256[]", name: "_withdrawalIds", type: "uint256[]" } ], name: "tryBulkAcknowledgeMainchainWithdrew", outputs: [ { internalType: "bool[]", name: "_executedReceipts", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], internalType: "struct Transfer.Receipt[]", name: "_receipts", type: "tuple[]" } ], name: "tryBulkDepositFor", outputs: [ { internalType: "bool[]", name: "_executedReceipts", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "validatorContract", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "withdrawal", outputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct Token.Owner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum Token.Standard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct Token.Info", name: "info", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawalCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawalMigrated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "withdrawalStatVote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "finalHash", type: "bytes32" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_GATEWAY_V2 = { name: "Ronin Gateway V2", address: "0x3036eb56e7e28851a56b87f037101ab3630933ab", is_deprecated: true, created_at: 1680588521, abi: abi391 }; var ronin_gateway_v2_default = RONIN_GATEWAY_V2; // src/contracts/ronin_gateway_v3.ts var abi392 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "voter", type: "address" } ], name: "ErrAlreadyVoted", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrERC1155MintingFailed", type: "error" }, { inputs: [], name: "ErrERC20MintingFailed", type: "error" }, { inputs: [], name: "ErrERC721MintingFailed", type: "error" }, { inputs: [], name: "ErrEmptyArray", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "uint256", name: "actual", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "ErrInvalidChainId", type: "error" }, { inputs: [], name: "ErrInvalidInfo", type: "error" }, { inputs: [], name: "ErrInvalidReceipt", type: "error" }, { inputs: [], name: "ErrInvalidReceiptKind", type: "error" }, { inputs: [], name: "ErrInvalidRequest", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidThreshold", type: "error" }, { inputs: [], name: "ErrInvalidTokenStandard", type: "error" }, { inputs: [], name: "ErrInvalidTrustedThreshold", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [], name: "ErrQueryForTooSmallQuantity", type: "error" }, { inputs: [ { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "tokenInfo", type: "tuple" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "token", type: "address" } ], name: "ErrTokenCouldNotTransfer", type: "error" }, { inputs: [ { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "tokenInfo", type: "tuple" }, { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "address", name: "token", type: "address" } ], name: "ErrTokenCouldNotTransferFrom", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [], name: "ErrUnsupportedStandard", type: "error" }, { inputs: [], name: "ErrUnsupportedToken", type: "error" }, { inputs: [], name: "ErrWithdrawalsMigrated", type: "error" }, { inputs: [], name: "ErrWithdrawnOnMainchainAlready", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "bridgeOperator", type: "address" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" }, { indexed: true, internalType: "uint256", name: "chainId", type: "uint256" }, { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" } ], name: "DepositVoted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "receipt", type: "tuple" } ], name: "Deposited", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "receipt", type: "tuple" } ], name: "MainchainWithdrew", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "tokens", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "threshold", type: "uint256[]" } ], name: "MinimumThresholdsUpdated", 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: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "ThresholdUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "roninTokens", type: "address[]" }, { indexed: false, internalType: "address[]", name: "mainchainTokens", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "chainIds", type: "uint256[]" }, { indexed: false, internalType: "enum TokenStandard[]", name: "standards", type: "uint8[]" } ], name: "TokenMapped", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "TrustedThresholdUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "", type: "tuple" } ], name: "WithdrawalRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "receiptHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], indexed: false, internalType: "struct Transfer.Receipt", name: "", type: "tuple" } ], name: "WithdrawalSignaturesRequested", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "recipientAddr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], internalType: "struct Transfer.Request[]", name: "requests", type: "tuple[]" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], name: "bulkRequestWithdrawalFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "withdrawals", type: "uint256[]" }, { internalType: "bytes[]", name: "signatures", type: "bytes[]" } ], name: "bulkSubmitWithdrawalSignatures", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_voteWeight", type: "uint256" } ], name: "checkThreshold", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], internalType: "struct Transfer.Receipt", name: "_receipt", type: "tuple" } ], name: "depositFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "depositVote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "finalHash", type: "bytes32" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_depositId", type: "uint256" }, { internalType: "address", name: "_voter", type: "address" } ], name: "depositVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "emergencyPauser", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_roninToken", type: "address" }, { internalType: "uint256", name: "_chainId", type: "uint256" } ], name: "getMainchainToken", outputs: [ { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "address", name: "tokenAddr", type: "address" } ], internalType: "struct MappedTokenConsumer.MappedToken", name: "_token", type: "tuple" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "num_", type: "uint256" }, { internalType: "uint256", name: "denom_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTrustedThreshold", outputs: [ { internalType: "uint256", name: "trustedNum_", type: "uint256" }, { internalType: "uint256", name: "trustedDenom_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "withdrawalId", type: "uint256" }, { internalType: "address[]", name: "operators", type: "address[]" } ], name: "getWithdrawalSignatures", outputs: [ { internalType: "bytes[]", name: "_signatures", type: "bytes[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", 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: "_roleSetter", type: "address" }, { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" }, { internalType: "uint256", name: "_trustedNumerator", type: "uint256" }, { internalType: "uint256", name: "_trustedDenominator", type: "uint256" }, { internalType: "address[]", name: "", type: "address[]" }, { internalType: "address[][2]", name: "_packedAddresses", type: "address[][2]" }, { internalType: "uint256[][2]", name: "_packedNumbers", type: "uint256[][2]" }, { internalType: "enum TokenStandard[]", name: "_standards", type: "uint8[]" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "initializeV2", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "bridgeAdmin", type: "address" } ], name: "initializeV3", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_withdrawalId", type: "uint256" } ], name: "mainchainWithdrew", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mainchainWithdrewVote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "finalHash", type: "bytes32" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_withdrawalId", type: "uint256" }, { internalType: "address", name: "_voter", type: "address" } ], name: "mainchainWithdrewVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_roninTokens", type: "address[]" }, { internalType: "address[]", name: "_mainchainTokens", type: "address[]" }, { internalType: "uint256[]", name: "_chainIds", type: "uint256[]" }, { internalType: "enum TokenStandard[]", name: "_standards", type: "uint8[]" } ], name: "mapTokens", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "mainchainToken", type: "address" } ], name: "minimumThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minimumVoteWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "recipientAddr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], internalType: "struct Transfer.Request", name: "_request", type: "tuple" }, { internalType: "uint256", name: "_chainId", type: "uint256" } ], name: "requestWithdrawalFor", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_withdrawalId", type: "uint256" } ], name: "requestWithdrawalSignatures", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setEmergencyPauser", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_tokens", type: "address[]" }, { internalType: "uint256[]", name: "_thresholds", type: "uint256[]" } ], name: "setMinimumThresholds", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" } ], name: "setThreshold", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_trustedNumerator", type: "uint256" }, { internalType: "uint256", name: "_trustedDenominator", type: "uint256" } ], name: "setTrustedThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_withdrawalIds", type: "uint256[]" } ], name: "tryBulkAcknowledgeMainchainWithdrew", outputs: [ { internalType: "bool[]", name: "_executedReceipts", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], internalType: "struct Transfer.Receipt[]", name: "receipts", type: "tuple[]" } ], name: "tryBulkDepositFor", outputs: [ { internalType: "bool[]", name: "_executedReceipts", type: "bool[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "withdrawal", outputs: [ { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "enum Transfer.Kind", name: "kind", type: "uint8" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "mainchain", type: "tuple" }, { components: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "address", name: "tokenAddr", type: "address" }, { internalType: "uint256", name: "chainId", type: "uint256" } ], internalType: "struct TokenOwner", name: "ronin", type: "tuple" }, { components: [ { internalType: "enum TokenStandard", name: "erc", type: "uint8" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "quantity", type: "uint256" } ], internalType: "struct TokenInfo", name: "info", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawalCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "withdrawalStatVote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "finalHash", type: "bytes32" }, { internalType: "uint256", name: "expiredAt", type: "uint256" }, { internalType: "uint256", name: "createdAt", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var RONIN_GATEWAY_V3 = { name: "Ronin Gateway V3", address: "0x5c530fe5920a2991ea6e9fb99028e1b09384d7f4", is_deprecated: false, created_at: 1722410264, abi: abi392 }; var ronin_gateway_v3_default = RONIN_GATEWAY_V3; // src/contracts/ronin_gateway_v3_proxy.ts var abi393 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_GATEWAY_V3_PROXY = { name: "Ronin Gateway V3 Proxy", address: "0x0cf8ff40a508bdbc39fbe1bb679dcba64e65c7df", is_deprecated: false, created_at: 1655882578, abi: abi393 }; var ronin_gateway_v3_proxy_default = RONIN_GATEWAY_V3_PROXY; // src/contracts/ronin_governance_admin.ts var abi394 = [ { inputs: [ { internalType: "uint256", name: "_roninChainId", type: "uint256" }, { internalType: "address", name: "_roninTrustedOrganizationContract", type: "address" }, { internalType: "address", name: "_validatorContract", type: "address" }, { internalType: "uint256", name: "_expiryDuration", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "voter", type: "address" } ], name: "ErrAlreadyVoted", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrCurrentProposalIsNotCompleted", type: "error" }, { inputs: [ { internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ErrInsufficientGas", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "uint256", name: "actual", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "ErrInvalidChainId", type: "error" }, { inputs: [], name: "ErrInvalidExpiryTimestamp", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidOrder", type: "error" }, { inputs: [ { internalType: "bytes32", name: "actual", type: "bytes32" }, { internalType: "bytes32", name: "expected", type: "bytes32" } ], name: "ErrInvalidProposal", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidProposalNonce", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidSignatures", type: "error" }, { inputs: [], name: "ErrInvalidVoteHash", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrOnlySelfCall", type: "error" }, { inputs: [], name: "ErrQueryForEmptyVote", type: "error" }, { inputs: [], name: "ErrQueryForExpiredVote", type: "error" }, { inputs: [], name: "ErrQueryForNonExistentVote", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum ContractType", name: "expectedContractType", type: "uint8" }, { internalType: "address", name: "actual", type: "address" } ], name: "ErrUnexpectedInternalCall", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrUnsupportedVoteType", type: "error" }, { inputs: [], name: "ErrVoteIsFinalized", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "voteHash", type: "bytes32" } ], name: "EmergencyExitPollApproved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "voteHash", type: "bytes32" }, { indexed: false, internalType: "address", name: "validatorId", type: "address" }, { indexed: false, internalType: "address", name: "recipientAfterUnlockedFund", type: "address" }, { indexed: false, internalType: "uint256", name: "requestedAt", type: "uint256" }, { indexed: false, internalType: "uint256", name: "expiredAt", type: "uint256" } ], name: "EmergencyExitPollCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "voteHash", type: "bytes32" } ], name: "EmergencyExitPollExpired", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "voteHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "voter", type: "address" } ], name: "EmergencyExitPollVoted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalApproved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "chainId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "round", type: "uint256" }, { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct Proposal.ProposalDetail", name: "proposal", type: "tuple" }, { indexed: false, internalType: "address", name: "creator", type: "address" } ], name: "ProposalCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { indexed: false, internalType: "bool[]", name: "successCalls", type: "bool[]" }, { indexed: false, internalType: "bytes[]", name: "returnDatas", type: "bytes[]" } ], name: "ProposalExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalExpired", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "duration", type: "uint256" } ], name: "ProposalExpiryDurationChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" } ], name: "ProposalRejected", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "proposalHash", type: "bytes32" }, { indexed: true, internalType: "address", name: "voter", type: "address" }, { indexed: false, internalType: "enum Ballot.VoteType", name: "support", type: "uint8" }, { indexed: false, internalType: "uint256", name: "weight", type: "uint256" } ], name: "ProposalVoted", type: "event" }, { inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct Proposal.ProposalDetail", name: "_proposal", type: "tuple" }, { internalType: "enum Ballot.VoteType[]", name: "_supports", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "_signatures", type: "tuple[]" } ], name: "castProposalBySignatures", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct Proposal.ProposalDetail", name: "_proposal", type: "tuple" }, { internalType: "enum Ballot.VoteType", name: "_support", type: "uint8" } ], name: "castProposalVoteForCurrentNetwork", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_proxy", type: "address" }, { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeProxyAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "validatorId", type: "address" }, { internalType: "address", name: "recipientAfterUnlockedFund", type: "address" }, { internalType: "uint256", name: "requestedAt", type: "uint256" }, { internalType: "uint256", name: "expiredAt", type: "uint256" } ], name: "createEmergencyExitPoll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_round", type: "uint256" } ], name: "deleteExpired", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_voteHash", type: "bytes32" }, { internalType: "address", name: "_voter", type: "address" } ], name: "emergencyPollVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getProposalExpiryDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_round", type: "uint256" } ], name: "getProposalSignatures", outputs: [ { internalType: "address[]", name: "_voters", type: "address[]" }, { internalType: "enum Ballot.VoteType[]", name: "_supports", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "_signatures", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_proxy", type: "address" } ], name: "getProxyAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_proxy", type: "address" } ], name: "getProxyImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_round", type: "uint256" }, { internalType: "address", name: "_voter", type: "address" } ], name: "proposalVoted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_chainId", type: "uint256" }, { internalType: "uint256", name: "_expiryTimestamp", type: "uint256" }, { internalType: "address[]", name: "_targets", type: "address[]" }, { internalType: "uint256[]", name: "_values", type: "uint256[]" }, { internalType: "bytes[]", name: "_calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "_gasAmounts", type: "uint256[]" } ], name: "propose", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expiryTimestamp", type: "uint256" }, { internalType: "address[]", name: "_targets", type: "address[]" }, { internalType: "uint256[]", name: "_values", type: "uint256[]" }, { internalType: "bytes[]", name: "_calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "_gasAmounts", type: "uint256[]" }, { internalType: "enum Ballot.VoteType", name: "_support", type: "uint8" } ], name: "proposeProposalForCurrentNetwork", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" }, { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "calldatas", type: "bytes[]" }, { internalType: "uint256[]", name: "gasAmounts", type: "uint256[]" } ], internalType: "struct Proposal.ProposalDetail", name: "_proposal", type: "tuple" }, { internalType: "enum Ballot.VoteType[]", name: "_supports", type: "uint8[]" }, { components: [ { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], internalType: "struct SignatureConsumer.Signature[]", name: "_signatures", type: "tuple[]" } ], name: "proposeProposalStructAndCastVotes", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "roninChainId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "round", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_expiryDuration", type: "uint256" } ], name: "setProposalExpiryDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "vote", outputs: [ { internalType: "enum VoteStatusConsumer.VoteStatus", name: "status", type: "uint8" }, { internalType: "bytes32", name: "hash", type: "bytes32" }, { internalType: "uint256", name: "againstVoteWeight", type: "uint256" }, { internalType: "uint256", name: "forVoteWeight", type: "uint256" }, { internalType: "uint256", name: "expiryTimestamp", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "voteHash", type: "bytes32" }, { internalType: "address", name: "validatorId", type: "address" }, { internalType: "address", name: "recipientAfterUnlockedFund", type: "address" }, { internalType: "uint256", name: "requestedAt", type: "uint256" }, { internalType: "uint256", name: "expiredAt", type: "uint256" } ], name: "voteEmergencyExit", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var RONIN_GOVERNANCE_ADMIN = { name: "Ronin Governance Admin", address: "0x70fd02049333337a534a9383149c9a99ddf65495", is_deprecated: false, created_at: 1709535721, abi: abi394 }; var ronin_governance_admin_default = RONIN_GOVERNANCE_ADMIN; // src/contracts/ronin_maintenance.ts var abi395 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_MAINTENANCE = { name: "Ronin Maintenance", address: "0x6f45c1f8d84849d497c6c0ac4c3842dc82f49894", is_deprecated: false, created_at: 1679636570, abi: abi395 }; var ronin_maintenance_default = RONIN_MAINTENANCE; // src/contracts/ronin_random_beacon_proxy.ts var abi396 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [ { internalType: "bytes", name: "data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_RANDOM_BEACON_PROXY = { name: "Ronin Random Beacon Proxy", address: "0xae4788294759c1ea2d095766cc902786ba2280dc", is_deprecated: false, created_at: 1718685396, abi: abi396 }; var ronin_random_beacon_proxy_default = RONIN_RANDOM_BEACON_PROXY; // src/contracts/ronin_slash_indicator.ts var abi397 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_SLASH_INDICATOR = { name: "Ronin Slash Indicator", address: "0xebfff2b32fa0df9c5c8c5d5aaa7e8b51d5207ba3", is_deprecated: false, created_at: 1679636585, abi: abi397 }; var ronin_slash_indicator_default = RONIN_SLASH_INDICATOR; // src/contracts/ronin_staking.ts var abi398 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_STAKING = { name: "Ronin Staking", address: "0x545edb750eb8769c868429be9586f5857a768758", is_deprecated: false, created_at: 1679636594, abi: abi398 }; var ronin_staking_default = RONIN_STAKING; // src/contracts/ronin_staking_vesting.ts var abi399 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_STAKING_VESTING = { name: "Ronin Staking Vesting", address: "0xc768423a2ae2b5024cb58f3d6449a8f5db6d8816", is_deprecated: false, created_at: 1679636576, abi: abi399 }; var ronin_staking_vesting_default = RONIN_STAKING_VESTING; // src/contracts/ronin_treasury.ts var abi400 = [ { inputs: [ { internalType: "address", name: "_singleton", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" } ]; var RONIN_TREASURY = { name: "Ronin Treasury", address: "0x22cefc91e9b7c0f3890ebf9527ea89053490694e", is_deprecated: false, created_at: 1660899702, abi: abi400 }; var ronin_treasury_default = RONIN_TREASURY; // src/contracts/ronin_trusted_organization.ts var abi401 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "TConsensus", name: "addr", type: "address" } ], name: "ErrConsensusAddressIsAlreadyAdded", type: "error" }, { inputs: [ { internalType: "TConsensus", name: "addr", type: "address" } ], name: "ErrConsensusAddressIsNotAdded", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrDuplicated", type: "error" }, { inputs: [], name: "ErrEmptyArray", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrGovernorAddressIsAlreadyAdded", type: "error" }, { inputs: [], name: "ErrInvalidRequest", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidThreshold", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidVoteWeight", type: "error" }, { inputs: [], name: "ErrQueryForDupplicated", type: "error" }, { inputs: [], name: "ErrQueryForNonExistentConsensusAddress", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum ContractType", name: "expectedContractType", type: "uint8" }, { internalType: "address", name: "actual", type: "address" } ], name: "ErrUnexpectedInternalCall", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], indexed: false, internalType: "struct IRoninTrustedOrganization.TrustedOrganization", name: "orgAfterChanged", type: "tuple" }, { indexed: false, internalType: "TConsensus", name: "oldConsensus", type: "address" } ], name: "ConsensusAddressOfTrustedOrgChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", 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: "nonce", type: "uint256" }, { indexed: true, internalType: "uint256", name: "numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "previousDenominator", type: "uint256" } ], name: "ThresholdUpdated", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], indexed: false, internalType: "struct IRoninTrustedOrganization.TrustedOrganization[]", name: "orgs", type: "tuple[]" } ], name: "TrustedOrganizationsAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "TConsensus[]", name: "orgs", type: "address[]" } ], name: "TrustedOrganizationsRemoved", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], indexed: false, internalType: "struct IRoninTrustedOrganization.TrustedOrganization[]", name: "orgs", type: "tuple[]" } ], name: "TrustedOrganizationsUpdated", type: "event" }, { inputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], internalType: "struct IRoninTrustedOrganization.TrustedOrganization[]", name: "_list", type: "tuple[]" } ], name: "addTrustedOrganizations", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_voteWeight", type: "uint256" } ], name: "checkThreshold", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "countTrustedOrganization", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "oldAddr", type: "address" }, { internalType: "TConsensus", name: "newAddr", type: "address" } ], name: "execChangeConsensusAddressForTrustedOrg", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getAllTrustedOrganizations", outputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], internalType: "struct IRoninTrustedOrganization.TrustedOrganization[]", name: "list", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "getConsensusWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" } ], name: "getConsensusWeightById", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "list", type: "address[]" } ], name: "getConsensusWeights", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "cids", type: "address[]" } ], name: "getConsensusWeightsById", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_governor", type: "address" } ], name: "getGovernorWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_list", type: "address[]" } ], name: "getGovernorWeights", outputs: [ { internalType: "uint256[]", name: "_res", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "num_", type: "uint256" }, { internalType: "uint256", name: "denom_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "_consensusAddr", type: "address" } ], name: "getTrustedOrganization", outputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], internalType: "struct IRoninTrustedOrganization.TrustedOrganization", name: "res", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_idx", type: "uint256" } ], name: "getTrustedOrganizationAt", outputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], internalType: "struct IRoninTrustedOrganization.TrustedOrganization", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], internalType: "struct IRoninTrustedOrganization.TrustedOrganization[]", name: "trustedOrgs", type: "tuple[]" }, { internalType: "uint256", name: "num", type: "uint256" }, { internalType: "uint256", name: "denom", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "profileContract", type: "address" } ], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minimumVoteWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "list", type: "address[]" } ], name: "removeTrustedOrganizations", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" } ], name: "setThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "_list", type: "address[]" } ], name: "sumConsensusWeight", outputs: [ { internalType: "uint256", name: "_res", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_list", type: "address[]" } ], name: "sumGovernorWeight", outputs: [ { internalType: "uint256", name: "_res", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_list", type: "address[]" } ], name: "sumGovernorWeights", outputs: [ { internalType: "uint256", name: "_res", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalWeight", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalWeights", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "governor", type: "address" }, { internalType: "address", name: "__deprecatedBridgeVoter", type: "address" }, { internalType: "uint256", name: "weight", type: "uint256" }, { internalType: "uint256", name: "addedBlock", type: "uint256" } ], internalType: "struct IRoninTrustedOrganization.TrustedOrganization[]", name: "_list", type: "tuple[]" } ], name: "updateTrustedOrganizations", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var RONIN_TRUSTED_ORGANIZATION = { name: "Ronin Trusted Organization", address: "0xfebc8cfdfd13b69c08ac1b26e1df059260e5130f", is_deprecated: false, created_at: 1711428461, abi: abi401 }; var ronin_trusted_organization_default = RONIN_TRUSTED_ORGANIZATION; // src/contracts/ronin_validator_set.ts var abi402 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrAlreadyRequestedEmergencyExit", type: "error" }, { inputs: [], name: "ErrAlreadyRequestedRevokingCandidate", type: "error" }, { inputs: [], name: "ErrAlreadyRequestedUpdatingCommissionRate", type: "error" }, { inputs: [], name: "ErrAlreadyWrappedEpoch", type: "error" }, { inputs: [], name: "ErrAtEndOfEpochOnly", type: "error" }, { inputs: [], name: "ErrCallerMustBeCoinbase", type: "error" }, { inputs: [ { internalType: "address", name: "validator", type: "address" } ], name: "ErrCannotBailout", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrExceedsMaxNumberOfCandidate", type: "error" }, { inputs: [], name: "ErrExistentCandidate", type: "error" }, { inputs: [ { internalType: "address", name: "candidateAdminAddr", type: "address" } ], name: "ErrExistentCandidateAdmin", type: "error" }, { inputs: [ { internalType: "address", name: "treasuryAddr", type: "address" } ], name: "ErrExistentTreasury", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "uint256", name: "currentBalance", type: "uint256" }, { internalType: "uint256", name: "sendAmount", type: "uint256" } ], name: "ErrInsufficientBalance", type: "error" }, { inputs: [], name: "ErrInvalidCommissionRate", type: "error" }, { inputs: [], name: "ErrInvalidEffectiveDaysOnwards", type: "error" }, { inputs: [], name: "ErrInvalidMaxPrioritizedValidatorNumber", type: "error" }, { inputs: [], name: "ErrInvalidMinEffectiveDaysOnwards", type: "error" }, { inputs: [], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "address", name: "cid", type: "address" } ], name: "ErrLockedFundMightBeRecycled", type: "error" }, { inputs: [ { internalType: "address", name: "cid", type: "address" } ], name: "ErrLockedFundReleaseInfoNotFound", type: "error" }, { inputs: [], name: "ErrNonExistentCandidate", type: "error" }, { inputs: [ { internalType: "uint256", name: "period", type: "uint256" }, { internalType: "uint256", name: "firstTrackedPeriod", type: "uint256" } ], name: "ErrPeriodEndingBlockNotTracked", type: "error" }, { inputs: [ { internalType: "uint256", name: "period", type: "uint256" } ], name: "ErrPeriodNotEndedYet", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrRecipientRevert", type: "error" }, { inputs: [], name: "ErrTrustedOrgCannotRenounce", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [], name: "ErrUnauthorizedReceiveRON", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum ContractType", name: "expectedContractType", type: "uint8" }, { internalType: "address", name: "actual", type: "address" } ], name: "ErrUnexpectedInternalCall", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { inputs: [], name: "NonExistentRecyclingInfo", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: true, internalType: "uint256", name: "epoch", type: "uint256" }, { indexed: false, internalType: "address[]", name: "cids", type: "address[]" } ], name: "BlockProducerSetUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "rewardAmount", type: "uint256" }, { indexed: false, internalType: "enum ICoinbaseExecution.BlockRewardDeprecatedType", name: "deprecatedType", type: "uint8" } ], name: "BlockRewardDeprecated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "submittedAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "bonusAmount", type: "uint256" } ], name: "BlockRewardSubmitted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "bridgeOperator", type: "address" }, { indexed: true, internalType: "address", name: "recipientAddr", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "BridgeOperatorRewardDistributed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "bridgeOperator", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "BridgeOperatorRewardDistributionFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: true, internalType: "uint256", name: "epoch", type: "uint256" }, { indexed: false, internalType: "address[]", name: "bridgeOperators", type: "address[]" } ], name: "BridgeOperatorSetUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "treasuryAddr", type: "address" }, { indexed: true, internalType: "address", name: "admin", type: "address" } ], name: "CandidateGranted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "revokingTimestamp", type: "uint256" } ], name: "CandidateRevokingTimestampUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "topupDeadline", type: "uint256" } ], name: "CandidateTopupDeadlineUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "cids", type: "address[]" } ], name: "CandidatesRevoked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "effectiveTimestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "rate", type: "uint256" } ], name: "CommissionRateUpdateScheduled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "rate", type: "uint256" } ], name: "CommissionRateUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipientAddr", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "balance", type: "uint256" } ], name: "DeprecatedRewardRecycleFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipientAddr", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "DeprecatedRewardRecycled", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "EmergencyExitLockedAmountUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "unlockedAmount", type: "uint256" } ], name: "EmergencyExitLockedFundReleased", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "unlockedAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "EmergencyExitLockedFundReleasingFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "lockedAmount", type: "uint256" } ], name: "EmergencyExitRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "EmergencyExpiryDurationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: true, internalType: "uint256", name: "epoch", type: "uint256" }, { indexed: false, internalType: "address[]", name: "fallbackCids", type: "address[]" } ], name: "EmptyValidatorSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "cids", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "delegatingAmounts", type: "uint256[]" } ], name: "FastFinalityRewardDelegatorsDistributed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "cids", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "delegatingAmounts", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "FastFinalityRewardDelegatorsDistributionFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "FastFinalityRewardDistributed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "FastFinalityRewardDistributionFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "threshold", type: "uint256" } ], name: "MaxValidatorCandidateUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "numOfDays", type: "uint256" } ], name: "MinEffectiveDaysOnwardsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "cids", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "delegatingAmounts", type: "uint256[]" } ], name: "MiningRewardDelegatorsDistributed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "cids", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "delegatingAmounts", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "MiningRewardDelegatorsDistributionFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "MiningRewardDistributed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "MiningRewardDistributionFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "uint256", name: "jailedUntil", type: "uint256" }, { indexed: false, internalType: "uint256", name: "deductedStakingAmount", type: "uint256" }, { indexed: false, internalType: "bool", name: "blockProducerRewardDeprecated", type: "bool" }, { indexed: false, internalType: "bool", name: "bridgeOperatorRewardDeprecated", type: "bool" } ], name: "ValidatorPunished", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: true, internalType: "uint256", name: "epoch", type: "uint256" }, { indexed: false, internalType: "address[]", name: "cids", type: "address[]" } ], name: "ValidatorSetUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "period", type: "uint256" } ], name: "ValidatorUnjailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "periodNumber", type: "uint256" }, { indexed: true, internalType: "uint256", name: "epochNumber", type: "uint256" }, { indexed: false, internalType: "bool", name: "periodEnding", type: "bool" } ], name: "WrappedUpEpoch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "epoch", type: "uint256" }, { indexed: false, internalType: "address[]", name: "cids", type: "address[]" } ], name: "ZeroSumFastFinalityScore", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADDITION_GAS", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PERIOD_DURATION", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "checkJailed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "addr", type: "address" }, { internalType: "uint256", name: "blockNum", type: "uint256" } ], name: "checkJailedAtBlock", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusList", type: "address[]" } ], name: "checkManyJailed", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "candidateIds", type: "address[]" } ], name: "checkManyJailedById", outputs: [ { internalType: "bool[]", name: "", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "checkMiningRewardDeprecated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "checkMiningRewardDeprecatedAtPeriod", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentPeriod", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentPeriodStartAtBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "emergencyExitLockedAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "emergencyExpiryDuration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_block", type: "uint256" } ], name: "epochEndingAt", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_block", type: "uint256" } ], name: "epochOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "candidateAdmin", type: "address" }, { internalType: "address", name: "cid", type: "address" }, { internalType: "address payable", name: "treasuryAddr", type: "address" }, { internalType: "uint256", name: "commissionRate", type: "uint256" } ], name: "execApplyValidatorCandidate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "validatorId", type: "address" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "execBailOut", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" }, { internalType: "address", name: "newAdmin", type: "address" } ], name: "execChangeAdminAddr", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" }, { internalType: "TConsensus", name: "newConsensusAddr", type: "address" } ], name: "execChangeConsensusAddr", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" }, { internalType: "address payable", name: "newTreasury", type: "address" } ], name: "execChangeTreasuryAddr", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" }, { internalType: "address payable", name: "recipient", type: "address" } ], name: "execReleaseLockedFundForEmergencyExitRequest", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" }, { internalType: "uint256", name: "secLeftToRevoke", type: "uint256" } ], name: "execRequestEmergencyExit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" }, { internalType: "uint256", name: "secsLeft", type: "uint256" } ], name: "execRequestRenounceCandidate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" }, { internalType: "uint256", name: "effectiveDaysOnwards", type: "uint256" }, { internalType: "uint256", name: "commissionRate", type: "uint256" } ], name: "execRequestUpdateCommissionRate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "validatorId", type: "address" }, { internalType: "uint256", name: "newJailedUntil", type: "uint256" }, { internalType: "uint256", name: "slashAmount", type: "uint256" }, { internalType: "bool", name: "cannotBailout", type: "bool" } ], name: "execSlash", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getBlockProducerIds", outputs: [ { internalType: "address[]", name: "cids", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBlockProducers", outputs: [ { internalType: "TConsensus[]", name: "consensusList", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "getCandidateInfo", outputs: [ { components: [ { internalType: "address", name: "__shadowedAdmin", type: "address" }, { internalType: "TConsensus", name: "__shadowedConsensus", type: "address" }, { internalType: "address payable", name: "__shadowedTreasury", type: "address" }, { internalType: "address", name: "____deprecatedBridgeOperatorAddr", type: "address" }, { internalType: "uint256", name: "commissionRate", type: "uint256" }, { internalType: "uint256", name: "revokingTimestamp", type: "uint256" }, { internalType: "uint256", name: "topupDeadline", type: "uint256" } ], internalType: "struct ICandidateManager.ValidatorCandidate", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "cid", type: "address" } ], name: "getCandidateInfoById", outputs: [ { components: [ { internalType: "address", name: "__shadowedAdmin", type: "address" }, { internalType: "TConsensus", name: "__shadowedConsensus", type: "address" }, { internalType: "address payable", name: "__shadowedTreasury", type: "address" }, { internalType: "address", name: "____deprecatedBridgeOperatorAddr", type: "address" }, { internalType: "uint256", name: "commissionRate", type: "uint256" }, { internalType: "uint256", name: "revokingTimestamp", type: "uint256" }, { internalType: "uint256", name: "topupDeadline", type: "uint256" } ], internalType: "struct ICandidateManager.ValidatorCandidate", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCandidateInfos", outputs: [ { components: [ { internalType: "address", name: "__shadowedAdmin", type: "address" }, { internalType: "TConsensus", name: "__shadowedConsensus", type: "address" }, { internalType: "address payable", name: "__shadowedTreasury", type: "address" }, { internalType: "address", name: "____deprecatedBridgeOperatorAddr", type: "address" }, { internalType: "uint256", name: "commissionRate", type: "uint256" }, { internalType: "uint256", name: "revokingTimestamp", type: "uint256" }, { internalType: "uint256", name: "topupDeadline", type: "uint256" } ], internalType: "struct ICandidateManager.ValidatorCandidate[]", name: "list", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "getCommissionChangeSchedule", outputs: [ { components: [ { internalType: "uint256", name: "effectiveTimestamp", type: "uint256" }, { internalType: "uint256", name: "commissionRate", type: "uint256" } ], internalType: "struct ICandidateManager.CommissionSchedule", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "getEmergencyExitInfo", outputs: [ { components: [ { internalType: "uint256", name: "lockedAmount", type: "uint256" }, { internalType: "uint256", name: "recyclingAt", type: "uint256" } ], internalType: "struct ICommonInfo.EmergencyExitInfo", name: "_info", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "getJailedTimeLeft", outputs: [ { internalType: "bool", name: "isJailed_", type: "bool" }, { internalType: "uint256", name: "blockLeft_", type: "uint256" }, { internalType: "uint256", name: "epochLeft_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" }, { internalType: "uint256", name: "_blockNum", type: "uint256" } ], name: "getJailedTimeLeftAtBlock", outputs: [ { internalType: "bool", name: "isJailed_", type: "bool" }, { internalType: "uint256", name: "blockLeft_", type: "uint256" }, { internalType: "uint256", name: "epochLeft_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getLastUpdatedBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "period", type: "uint256" } ], name: "getPeriodEndBlock", outputs: [ { internalType: "uint256", name: "endedAtBlock", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getValidatorCandidateIds", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getValidatorCandidates", outputs: [ { internalType: "TConsensus[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getValidatorIds", outputs: [ { internalType: "address[]", name: "cids", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getValidators", outputs: [ { internalType: "TConsensus[]", name: "consensusList", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "isBlockProducer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "id", type: "address" } ], name: "isBlockProducerById", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "admin", type: "address" } ], name: "isCandidateAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "candidateId", type: "address" }, { internalType: "address", name: "admin", type: "address" } ], name: "isCandidateAdminById", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "isPeriodEnding", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "isValidatorCandidate", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxPrioritizedValidatorNumber", outputs: [ { internalType: "uint256", name: "_maximumPrioritizedValidatorNumber", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxValidatorCandidate", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxValidatorNumber", outputs: [ { internalType: "uint256", name: "_maximumValidatorNumber", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "minEffectiveDaysOnward", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "numberOfBlocksInEpoch", outputs: [ { internalType: "uint256", name: "_numberOfBlocks", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "setEmergencyExitLockedAmount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "duration", type: "uint256" } ], name: "setEmergencyExpiryDuration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_number", type: "uint256" } ], name: "setMaxValidatorCandidate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_numOfDays", type: "uint256" } ], name: "setMinEffectiveDaysOnwards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "submitBlockReward", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "totalBlockProducer", outputs: [ { internalType: "uint256", name: "total", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalDeprecatedReward", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_epoch", type: "uint256" } ], name: "tryGetPeriodOfEpoch", outputs: [ { internalType: "bool", name: "_filled", type: "bool" }, { internalType: "uint256", name: "_periodNumber", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "validatorCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "wrapUpEpoch", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_VALIDATOR_SET = { name: "Ronin Validator Set", address: "0xfa8d5bc04514844d5b79b52e46f473c4eeb2f039", is_deprecated: false, created_at: 1719390505, abi: abi402 }; var ronin_validator_set_default = RONIN_VALIDATOR_SET; // src/contracts/ronin_validator_set_proxy.ts var abi403 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_VALIDATOR_SET_PROXY = { name: "Ronin Validator Set Proxy", address: "0x617c5d73662282ea7ffd231e020eca6d2b0d552f", is_deprecated: false, created_at: 1679636600, abi: abi403 }; var ronin_validator_set_proxy_default = RONIN_VALIDATOR_SET_PROXY; // src/contracts/ronin_validator_set_rep10_migrator.ts var abi404 = [ { inputs: [ { internalType: "address", name: "proxyStorage", type: "address" }, { internalType: "address", name: "prevImpl", type: "address" }, { internalType: "address", name: "newImpl", type: "address" }, { internalType: "uint256", name: "activatedAtPeriod", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrDelegateFromUnknownOrigin", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrDuplicated", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrOnlySelfCall", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "proxy", type: "address" }, { indexed: true, internalType: "address", name: "prevImpl", type: "address" }, { indexed: true, internalType: "address", name: "newImpl", type: "address" } ], name: "Constructed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "ACTIVATED_AT_PERIOD", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NEW_IMPL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PREV_IMPL", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PROXY_STORAGE", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "randomBeacon", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "selfUpgrade", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_VALIDATOR_SET_REP10_MIGRATOR = { name: "Ronin Validator Set REP10 Migrator", address: "0xc0d9f3fffe76020f9c62f435672112b0895a4f3b", is_deprecated: false, created_at: 1719390508, abi: abi404 }; var ronin_validator_set_rep10_migrator_default = RONIN_VALIDATOR_SET_REP10_MIGRATOR; // src/contracts/ronin_validator_v2.ts var abi405 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "functionDelegateCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_VALIDATOR_V2 = { name: "Ronin Validator V2", address: "0x7f13232bdc3a010c3f749a1c25bf99f1c053ce70", is_deprecated: false, created_at: 1655882569, abi: abi405 }; var ronin_validator_v2_default = RONIN_VALIDATOR_V2; // src/contracts/ronin_vrf_coordinator.ts var abi406 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "CallerIsNotAConsumer", type: "error" }, { inputs: [], name: "ErrUnauthorizedConsumer", type: "error" }, { inputs: [], name: "InsufficientFee", type: "error" }, { inputs: [], name: "InvalidArrayLength", type: "error" }, { inputs: [], name: "InvalidGasPrice", type: "error" }, { inputs: [], name: "InvalidProofSeed", type: "error" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "InvalidRefundAddress", type: "error" }, { inputs: [], name: "InvalidSender", type: "error" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "RONTransferFailed", type: "error" }, { inputs: [], name: "RandomRequestAlreadyFinalized", type: "error" }, { inputs: [], name: "RequestHashNotFound", type: "error" }, { inputs: [], name: "WrongRandomRequest", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_address", type: "address" }, { indexed: true, internalType: "bool", name: "_status", type: "bool" } ], name: "AddressWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_constantFee", type: "uint256" } ], name: "ConstantFeeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_gasCost", type: "uint256" } ], name: "GasAfterPaymentCalculationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_gasCost", type: "uint256" } ], name: "GasToEstimateRandomFeeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32[]", name: "keyHashList", type: "bytes32[]" }, { indexed: false, internalType: "address[]", name: "oracleAddrList", type: "address[]" } ], name: "OraclesAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32[]", name: "keyHashList", type: "bytes32[]" } ], name: "OraclesRemoved", 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: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "randomSeed", type: "uint256" }, { indexed: false, internalType: "uint256", name: "requestValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "refundAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "paymentAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "constantFee", type: "uint256" }, { indexed: false, internalType: "bool", name: "callbackResult", type: "bool" } ], name: "RandomSeedFulfilled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "reqHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "uint256", name: "callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "uint256", name: "gasFee", type: "uint256" }, { internalType: "address", name: "requester", type: "address" }, { internalType: "address", name: "consumer", type: "address" }, { internalType: "address", name: "refundAddr", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "constantFee", type: "uint256" } ], indexed: false, internalType: "struct SLA.RandomRequest", name: "request", type: "tuple" } ], name: "RandomSeedRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_treasury", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bool", name: "_status", type: "bool" } ], name: "WhitelistAllChanged", type: "event" }, { inputs: [ { internalType: "bytes32[]", name: "_keyHashList", type: "bytes32[]" }, { internalType: "address[]", name: "_oracleAddrList", type: "address[]" } ], name: "addOracles", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "constantFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "_gasPrice", type: "uint256" } ], name: "estimateRequestRandomFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256[2]", name: "pk", type: "uint256[2]" }, { internalType: "uint256[2]", name: "gamma", type: "uint256[2]" }, { internalType: "uint256", name: "c", type: "uint256" }, { internalType: "uint256", name: "s", type: "uint256" }, { internalType: "uint256", name: "seed", type: "uint256" }, { internalType: "address", name: "uWitness", type: "address" }, { internalType: "uint256[2]", name: "cGammaWitness", type: "uint256[2]" }, { internalType: "uint256[2]", name: "sHashWitness", type: "uint256[2]" }, { internalType: "uint256", name: "zInv", type: "uint256" } ], internalType: "struct VRF.Proof", name: "_proof", type: "tuple" }, { components: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "uint256", name: "callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "uint256", name: "gasFee", type: "uint256" }, { internalType: "address", name: "requester", type: "address" }, { internalType: "address", name: "consumer", type: "address" }, { internalType: "address", name: "refundAddr", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "constantFee", type: "uint256" } ], internalType: "struct SLA.RandomRequest", name: "_req", type: "tuple" } ], name: "fulfillRandomSeed", outputs: [ { internalType: "uint256", name: "_paymentAmount", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "gasAfterPaymentCalculation", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "gasToEstimateRandomFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_consumer", type: "address" }, { internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "getRandomRequestHash", outputs: [ { internalType: "bytes32", name: "_hash", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_consumer", type: "address" } ], name: "getRandomRequestNonce", outputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_admin", type: "address" }, { internalType: "uint256", name: "_gasToEstimateRandomFee", type: "uint256" }, { internalType: "uint256", name: "_gasAfterPaymentCalculation", type: "uint256" }, { internalType: "uint256", name: "_constantFee", type: "uint256" }, { internalType: "address", name: "_treasury", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "isWhitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[2]", name: "publicKey", type: "uint256[2]" } ], name: "keyHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_keyHash", type: "bytes32" } ], name: "oracleAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32[]", name: "_keyHashList", type: "bytes32[]" } ], name: "removeOracles", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" } ], name: "requestFinalized", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "_gasPrice", type: "uint256" }, { internalType: "address", name: "_consumer", type: "address" }, { internalType: "address", name: "_refundAddress", type: "address" } ], name: "requestRandomSeed", outputs: [ { internalType: "bytes32", name: "_reqHash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_constantFee", type: "uint256" } ], name: "setConstantFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_gas", type: "uint256" } ], name: "setGasAfterPaymentCalculation", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_gas", type: "uint256" } ], name: "setGasToEstimateRandomFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "setTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "whitelist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "_status", type: "bool" } ], name: "whitelistAllAddresses", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "whitelistedAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var RONIN_VRF_COORDINATOR = { name: "Ronin VRF Coordinator", address: "0x35cf2b791976458219f1dce80eccb156781d9e59", is_deprecated: false, created_at: 1702973515, abi: abi406 }; var ronin_vrf_coordinator_default = RONIN_VRF_COORDINATOR; // src/contracts/ronin_vrf_coordinator_legacy.ts var abi407 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "CallerIsNotAConsumer", type: "error" }, { inputs: [], name: "ErrUnauthorizedConsumer", type: "error" }, { inputs: [], name: "InsufficientFee", type: "error" }, { inputs: [], name: "InvalidArrayLength", type: "error" }, { inputs: [], name: "InvalidGasPrice", type: "error" }, { inputs: [], name: "InvalidProofSeed", type: "error" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "InvalidRefundAddress", type: "error" }, { inputs: [ { internalType: "address", name: "expectedSender", type: "address" } ], name: "InvalidSender", type: "error" }, { inputs: [], name: "Locked", type: "error" }, { inputs: [], name: "RandomRequestAlreadyFinalized", type: "error" }, { inputs: [], name: "RequestHashNotFound", type: "error" }, { inputs: [], name: "WrongRandomRequest", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "addr", type: "address" }, { indexed: true, internalType: "bool", name: "status", type: "bool" } ], name: "AddressWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "constantFee", type: "uint256" } ], name: "ConstantFeeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "gasCost", type: "uint256" } ], name: "GasAfterPaymentCalculationUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "gasCost", type: "uint256" } ], name: "GasToEstimateRandomFeeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32[]", name: "keyHashes", type: "bytes32[]" }, { indexed: false, internalType: "address[]", name: "oracleAddrs", type: "address[]" } ], name: "OraclesAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32[]", name: "keyHashes", type: "bytes32[]" } ], name: "OraclesRemoved", 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: true, internalType: "bytes32", name: "requestHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "randomSeed", type: "uint256" }, { indexed: false, internalType: "uint256", name: "requestValue", type: "uint256" }, { indexed: false, internalType: "uint256", name: "refundAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "paymentAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "constantFee", type: "uint256" }, { indexed: false, internalType: "bool", name: "callbackResult", type: "bool" } ], name: "RandomSeedFulfilled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "reqHash", type: "bytes32" }, { components: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "uint256", name: "callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "uint256", name: "gasFee", type: "uint256" }, { internalType: "address", name: "requester", type: "address" }, { internalType: "address", name: "consumer", type: "address" }, { internalType: "address", name: "refundAddr", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "constantFee", type: "uint256" } ], indexed: false, internalType: "struct LibSLA.RandomRequest", name: "request", type: "tuple" } ], name: "RandomSeedRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "treasury", type: "address" } ], name: "TreasuryUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bool", name: "status", type: "bool" } ], name: "WhitelistAllChanged", type: "event" }, { inputs: [ { internalType: "bytes32[]", name: "keyHashList", type: "bytes32[]" }, { internalType: "address[]", name: "oracleAddrList", type: "address[]" } ], name: "addOracles", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "constantFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" } ], name: "estimateRequestRandomFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "uint256[2]", name: "pk", type: "uint256[2]" }, { internalType: "uint256[2]", name: "gamma", type: "uint256[2]" }, { internalType: "uint256", name: "c", type: "uint256" }, { internalType: "uint256", name: "s", type: "uint256" }, { internalType: "uint256", name: "seed", type: "uint256" }, { internalType: "address", name: "uWitness", type: "address" }, { internalType: "uint256[2]", name: "cGammaWitness", type: "uint256[2]" }, { internalType: "uint256[2]", name: "sHashWitness", type: "uint256[2]" }, { internalType: "uint256", name: "zInv", type: "uint256" } ], internalType: "struct VRF.Proof", name: "proof", type: "tuple" }, { components: [ { internalType: "uint256", name: "blockNumber", type: "uint256" }, { internalType: "uint256", name: "callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "uint256", name: "gasFee", type: "uint256" }, { internalType: "address", name: "requester", type: "address" }, { internalType: "address", name: "consumer", type: "address" }, { internalType: "address", name: "refundAddr", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "constantFee", type: "uint256" } ], internalType: "struct LibSLA.RandomRequest", name: "req", type: "tuple" } ], name: "fulfillRandomSeed", outputs: [ { internalType: "uint256", name: "paymentAmount", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "gasAfterPaymentCalculation", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "gasToEstimateRandomFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "consumer", type: "address" }, { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "getRandomRequestHash", outputs: [ { internalType: "bytes32", name: "hash", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "consumer", type: "address" } ], name: "getRandomRequestNonce", outputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "uint256", name: "gasToEstimateRandomFee_", type: "uint256" }, { internalType: "uint256", name: "gasAfterPaymentCalculation_", type: "uint256" }, { internalType: "uint256", name: "constantFee_", type: "uint256" }, { internalType: "address", name: "treasury_", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "isWhitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[2]", name: "publicKey", type: "uint256[2]" } ], name: "keyHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "keyHash", type: "bytes32" } ], name: "oracleAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32[]", name: "keyHashList", type: "bytes32[]" } ], name: "removeOracles", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "reqHash", type: "bytes32" } ], name: "requestFinalized", outputs: [ { internalType: "bool", name: "finalized", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "callbackGasLimit", type: "uint256" }, { internalType: "uint256", name: "gasPrice", type: "uint256" }, { internalType: "address", name: "consumer", type: "address" }, { internalType: "address", name: "refundAddress", type: "address" } ], name: "requestRandomSeed", outputs: [ { internalType: "bytes32", name: "reqHash", type: "bytes32" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "constantFee_", type: "uint256" } ], name: "setConstantFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "gas", type: "uint256" } ], name: "setGasAfterPaymentCalculation", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "gas", type: "uint256" } ], name: "setGasToEstimateRandomFee", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "treasury_", type: "address" } ], name: "setTreasury", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "addr", type: "address" }, { internalType: "bool", name: "status", type: "bool" } ], name: "whitelist", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "status", type: "bool" } ], name: "whitelistAllAddresses", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "whitelistedAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var RONIN_VRF_COORDINATOR_LEGACY = { name: "Ronin VRF Coordinator Legacy", address: "0x309971c1bb60dea6d1d85f2424773fc4e2c92e93", is_deprecated: false, created_at: 1711104211, abi: abi407 }; var ronin_vrf_coordinator_legacy_default = RONIN_VRF_COORDINATOR_LEGACY; // src/contracts/ronin_vrf_coordinator_proxy.ts var abi408 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_VRF_COORDINATOR_PROXY = { name: "Ronin VRF Coordinator Proxy", address: "0x16a62a921e7fec5bf867ff5c805b662db757b778", is_deprecated: false, created_at: 1692000372, abi: abi408 }; var ronin_vrf_coordinator_proxy_default = RONIN_VRF_COORDINATOR_PROXY; // src/contracts/ronin_weth_gateway.ts var abi409 = [ { inputs: [ { internalType: "contract IERC20", name: "_roninWeth", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_operator", type: "address" } ], name: "OperatorRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_depositId", type: "uint256" }, { indexed: false, internalType: "address", name: "_sender", type: "address" }, { indexed: true, internalType: "address", name: "_receiver", type: "address" }, { indexed: true, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "WETHDeposited", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedOperators", type: "address[]" } ], name: "addOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_depositId", type: "uint256" }, { internalType: "address", name: "_sender", type: "address" }, { internalType: "address", name: "_receiver", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "depositWETH", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "deposits", outputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "receiver", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "operator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "operators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedOperators", type: "address[]" } ], name: "removeOperators", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "roninWeth", outputs: [ { internalType: "contract IERC20", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONIN_WETH_GATEWAY = { name: "Ronin WETH Gateway", address: "0x6abc078a2392abed76c23ade45883227b46f305d", is_deprecated: false, created_at: 1612339763, abi: abi409 }; var ronin_weth_gateway_default = RONIN_WETH_GATEWAY; // src/contracts/ronin_ygg_token_proxy.ts var abi410 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RONIN_YGG_TOKEN_PROXY = { name: "Ronin YGG Token Proxy", address: "0x1c306872bc82525d72bf3562e8f0aa3f8f26e857", is_deprecated: false, created_at: 1708527300, abi: abi410 }; var ronin_ygg_token_proxy_default = RONIN_YGG_TOKEN_PROXY; // src/contracts/ronslp_lp.ts var abi411 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONSLP_LP = { name: "RONSLP LP", address: "0x8f1c5eda143fa3d1bea8b4e92f33562014d30e0d", is_deprecated: false, created_at: 1673939232, abi: abi411 }; var ronslp_lp_default = RONSLP_LP; // src/contracts/ronslp_lp_staking_pool.ts var abi412 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONSLP_LP_STAKING_POOL = { name: "RONSLP LP Staking Pool", address: "0x4e2d6466a53444248272b913c105e9281ec266d8", is_deprecated: false, created_at: 1675138581, abi: abi412 }; var ronslp_lp_staking_pool_default = RONSLP_LP_STAKING_POOL; // src/contracts/ronusdc_lp_staking_pool.ts var abi413 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONUSDC_LP_STAKING_POOL = { name: "RONUSDC LP Staking Pool", address: "0xba1c32baff8f23252259a641fd5ca0bd211d4f65", is_deprecated: false, created_at: 1675138557, abi: abi413 }; var ronusdc_lp_staking_pool_default = RONUSDC_LP_STAKING_POOL; // src/contracts/ronweth_lp.ts var abi414 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONWETH_LP = { name: "RONWETH LP", address: "0x2ecb08f87f075b5769fe543d0e52e40140575ea7", is_deprecated: false, created_at: 1643278520, abi: abi414 }; var ronweth_lp_default = RONWETH_LP; // src/contracts/ronweth_lp_staking_pool.ts var abi415 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var RONWETH_LP_STAKING_POOL = { name: "RONWETH LP Staking Pool", address: "0xb9072cec557528f81dd25dc474d4d69564956e1e", is_deprecated: false, created_at: 1643279576, abi: abi415 }; var ronweth_lp_staking_pool_default = RONWETH_LP_STAKING_POOL; // src/contracts/rune.ts var abi416 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var RUNE = { name: "Rune", address: "0xc25970724f032af21d801978c73653c440cf787c", is_deprecated: false, created_at: 1660119559, abi: abi416 }; var rune_default = RUNE; // src/contracts/runiverse_item.ts var abi417 = [ { inputs: [ { internalType: "string", name: "_baseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Address0Error", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "RuniverseItemMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "approvedContract", type: "address" } ], name: "TokenLocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "approvedContract", type: "address" } ], name: "TokenUnlocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "forwardERC20s", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBaseURI", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "ownerAddress", type: "address" } ], name: "getTokens", outputs: [ { internalType: "uint256[]", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "isItemPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bool", name: "lock", type: "bool" } ], name: "mintTokenId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "mintTokenId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minterAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "numMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pauseContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tag", type: "uint256" }, { internalType: "bool", name: "paused", type: "bool" } ], name: "pauseItem", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tags", type: "uint256[]" }, { internalType: "bool[]", name: "paused", type: "bool[]" } ], name: "pauseItemsBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newMinter", type: "address" } ], name: "setMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setNewBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "unlockTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpauseContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawAll", outputs: [], stateMutability: "payable", type: "function" } ]; var RUNIVERSE_ITEM = { name: "Runiverse Item", address: "0x578b65568b7a6a081a477748590774a64d8a4923", is_deprecated: false, created_at: 1723928576, abi: abi417 }; var runiverse_item_default = RUNIVERSE_ITEM; // src/contracts/runiverse_item_minter.ts var abi418 = [ { inputs: [ { internalType: "contract IRuniverseItem", name: "_runiverseItem", type: "address" }, { internalType: "address", name: "_signer", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Address0Error", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "forwardERC20s", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_messageHash", type: "bytes32" } ], name: "getEthSignedMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "string", name: "_message", type: "string" } ], name: "getMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "getSigner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "address[]", name: "recipients", type: "address[]" } ], name: "ownerMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "runiverseItem", outputs: [ { internalType: "contract IRuniverseItem", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IRuniverseItem", name: "_newruniverseItemAddress", type: "address" } ], name: "setRuniverseItem", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_signer", type: "address" } ], name: "setSigner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "signer", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_message", type: "string" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "verify", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "verifyAndMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawAll", outputs: [], stateMutability: "payable", type: "function" } ]; var RUNIVERSE_ITEM_MINTER = { name: "Runiverse Item Minter", address: "0x6576de94e7fa9039ab823c5719fd7f982b9a2714", is_deprecated: false, created_at: 1723928582, abi: abi418 }; var runiverse_item_minter_default = RUNIVERSE_ITEM_MINTER; // src/contracts/runiverse_land.ts var abi419 = [ { inputs: [ { internalType: "string", name: "baseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Address0Error", type: "error" }, { inputs: [ { internalType: "uint256", name: "gived_global_id", type: "uint256" } ], name: "InvalidVestingGlobalId", type: "error" }, { inputs: [], name: "NoPlotsAvailable", type: "error" }, { inputs: [ { internalType: "uint256", name: "current_time", type: "uint256" }, { internalType: "uint256", name: "token_vesting_time", type: "uint256" } ], name: "TokenNotVested", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "enum IRuniverseLand.PlotSize", name: "size", type: "uint8" } ], name: "LandMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "forwardERC20s", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBaseURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getGlobalId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "ownerAddress", type: "address" } ], name: "getTokens", outputs: [ { internalType: "uint256[]", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "isVested", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "isVestingToken", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "lastVestingGlobalId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "enum IRuniverseLand.PlotSize", name: "size", type: "uint8" } ], name: "mintTokenId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "numMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pauseContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "primaryMinter", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "secondaryMinter", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "market", type: "address" }, { internalType: "bool", name: "denied", type: "bool" } ], name: "setDeniedMarketplace", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newTokenId", type: "uint256" } ], name: "setLastVestingGlobalId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setNewBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newPrimaryMinter", type: "address" } ], name: "setPrimaryMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newSecondaryMinter", type: "address" } ], name: "setSecondaryMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newVestingEnabled", type: "uint256" } ], name: "setVestingEnabled", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newVestingEnd", type: "uint256" } ], name: "setVestingEnd", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newVestingStart", type: "uint256" } ], name: "setVestingStart", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpauseContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vestingEnabled", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vestingEnd", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "vestingStart", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "vestsAt", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawAll", outputs: [], stateMutability: "payable", type: "function" } ]; var RUNIVERSE_LAND = { name: "Runiverse Land", address: "0x775f0a0bb8258501d0862df38a7f7ad8f8f7423d", is_deprecated: false, created_at: 1721414238, abi: abi419 }; var runiverse_land_default = RUNIVERSE_LAND; // src/contracts/runiverse_land_minter.ts var abi420 = [ { inputs: [ { internalType: "contract IRuniverseLand", name: "_runiverseLand", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Address0Error", type: "error" }, { inputs: [], name: "BadSignature", type: "error" }, { inputs: [], name: "DeniedProcessDuringMinting", type: "error" }, { inputs: [ { internalType: "uint256", name: "sended_values", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "GivedValuesNotValid", type: "error" }, { inputs: [], name: "IncorrectPurchaseLimit", type: "error" }, { inputs: [], name: "MisconfiguredPrices", type: "error" }, { inputs: [ { internalType: "uint256", name: "correct_date", type: "uint256" }, { internalType: "uint256", name: "current_date", type: "uint256" } ], name: "WrongDateForProcess", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [], name: "claimlistMerkleRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum IRuniverseLand.PlotSize", name: "plotSize", type: "uint8" }, { internalType: "uint256", name: "numPlots", type: "uint256" }, { internalType: "uint256", name: "claimedMaxPlots", type: "uint256" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "claimlistMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "claimlistMintedPerSize", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "claimsStartTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "claimsStarted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "forwardERC20s", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getAvailableLands", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_messageHash", type: "bytes32" } ], name: "getEthSignedMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "string", name: "_message", type: "string" } ], name: "getMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "userAddress", type: "address" } ], name: "getNonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPlotPrices", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getPlotsAvailablePerSize", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getSigner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getTokenIdPlotType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "getTotalMintedLands", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalMintedLandsBySize", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum IRuniverseLand.PlotSize", name: "plotSize", type: "uint8" }, { internalType: "uint256", name: "numPlots", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "mintlistMerkleRoot1", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mintlistMerkleRoot2", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum IRuniverseLand.PlotSize", name: "plotSize", type: "uint8" }, { internalType: "uint256", name: "numPlots", type: "uint256" }, { internalType: "uint256", name: "claimedMaxPlots", type: "uint256" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "mintlistMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "mintlistMintedPerSize", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mintlistStartTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mintlistStarted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_who", type: "address" }, { internalType: "bytes32", name: "_leaf", type: "bytes32" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "mintlisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum IRuniverseLand.PlotSize[]", name: "plotSizes", type: "uint8[]" }, { internalType: "address[]", name: "recipients", type: "address[]" } ], name: "ownerMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "plotGlobalOffset", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "plotPrices", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "plotSizeLocalOffset", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "plotsMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "publicMintStartTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "publicStarted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "runiverseLand", outputs: [ { internalType: "contract IRuniverseLand", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" } ], name: "setClaimlistMerkleRoot", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newClaimsStartTime", type: "uint256" } ], name: "setClaimsStartTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newGlobalIdOffset", type: "uint256" } ], name: "setGlobalIdOffset", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_newPlotSizeLocalOffset", type: "uint256[]" } ], name: "setLocalIdOffsets", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" } ], name: "setMintlistMerkleRoot1", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" } ], name: "setMintlistMerkleRoot2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newAllowlistMintStartTime", type: "uint256" } ], name: "setMintlistStartTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_newPrices", type: "uint256[]" } ], name: "setPrices", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newPublicMintStartTime", type: "uint256" } ], name: "setPublicMintStartTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IRuniverseLand", name: "_newRuniverseLandAddress", type: "address" } ], name: "setRuniverseLand", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_signer", type: "address" } ], name: "setSigner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "_newVaultAddress", type: "address" } ], name: "setVaultAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "signer", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vault", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "_message", type: "string" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "verify", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "enum IRuniverseLand.PlotSize", name: "plotSize", type: "uint8" } ], name: "verifyAndMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawAll", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var RUNIVERSE_LAND_MINTER = { name: "Runiverse Land Minter", address: "0x8bffe7c3fdb06c40e65bd50259f88a87233c7528", is_deprecated: false, created_at: 1724353840, abi: abi420 }; var runiverse_land_minter_default = RUNIVERSE_LAND_MINTER; // src/contracts/sablier.ts var abi421 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "streamId", type: "uint256" }, { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "senderBalance", type: "uint256" }, { indexed: false, internalType: "uint256", name: "recipientBalance", type: "uint256" } ], name: "CancelStream", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "streamId", type: "uint256" }, { indexed: true, internalType: "address", name: "sender", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "deposit", type: "uint256" }, { indexed: false, internalType: "address", name: "tokenAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "startTime", type: "uint256" }, { indexed: false, internalType: "uint256", name: "stopTime", type: "uint256" } ], name: "CreateStream", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "streamId", type: "uint256" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "WithdrawFromStream", type: "event" }, { constant: true, inputs: [ { internalType: "uint256", name: "streamId", type: "uint256" }, { internalType: "address", name: "who", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "balance", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "streamId", type: "uint256" } ], name: "cancelStream", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "deposit", type: "uint256" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "startTime", type: "uint256" }, { internalType: "uint256", name: "stopTime", type: "uint256" } ], name: "createStream", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "streamId", type: "uint256" } ], name: "deltaOf", outputs: [ { internalType: "uint256", name: "delta", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "streamId", type: "uint256" } ], name: "getStream", outputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "deposit", type: "uint256" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "startTime", type: "uint256" }, { internalType: "uint256", name: "stopTime", type: "uint256" }, { internalType: "uint256", name: "remainingBalance", type: "uint256" }, { internalType: "uint256", name: "ratePerSecond", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "nextStreamId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "streamId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "withdrawFromStream", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" } ]; var SABLIER = { name: "Sablier", address: "0xde9dcc27aa1552d591fc9b9c21881fee43bd8118", is_deprecated: false, created_at: 1658215141, abi: abi421 }; var sablier_default = SABLIER; // src/contracts/scatter.ts var abi422 = [ { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" }, { internalType: "uint256[]", name: "_values", type: "uint256[]" } ], name: "disperseRON", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address[]", name: "_recipients", type: "address[]" }, { internalType: "uint256[]", name: "_values", type: "uint256[]" } ], name: "disperseToken", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_token", type: "address" }, { internalType: "address[]", name: "_recipients", type: "address[]" }, { internalType: "uint256[]", name: "_values", type: "uint256[]" } ], name: "disperseTokenSimple", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SCATTER = { name: "Scatter", address: "0x5d518933351a0bc14b24b329b33b813565608769", is_deprecated: false, created_at: 1677829119, abi: abi422 }; var scatter_default = SCATTER; // src/contracts/sidechain_gateway_manager_proxy.ts var abi423 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "address", name: "_registry", type: "address" }, { internalType: "uint256", name: "_maxPendingWithdrawal", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_withdrawalId", type: "uint256" }, { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_tokenAddress", type: "address" }, { indexed: false, internalType: "address", name: "_mainchainAddress", type: "address" }, { indexed: false, internalType: "uint32", name: "_standard", type: "uint32" }, { indexed: false, internalType: "uint256", name: "_tokenNumber", type: "uint256" } ], name: "RequestTokenWithdrawalSigAgain", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "depositId", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "tokenAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "tokenNumber", type: "uint256" } ], name: "TokenDeposited", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_withdrawId", type: "uint256" }, { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_tokenAddress", type: "address" }, { indexed: false, internalType: "address", name: "_mainchainAddress", type: "address" }, { indexed: false, internalType: "uint32", name: "_standard", type: "uint32" }, { indexed: false, internalType: "uint256", name: "_tokenNumber", type: "uint256" } ], name: "TokenWithdrew", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "deposits", outputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "uint256", name: "tokenNumber", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "maxPendingWithdrawal", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: true, inputs: [], name: "registry", outputs: [ { internalType: "contract Registry", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_maxPendingWithdrawal", type: "uint256" } ], name: "updateMaxPendingWithdrawal", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_registry", type: "address" } ], name: "updateRegistry", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "withdrawalCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "withdrawalSig", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "withdrawalSigners", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "withdrawals", outputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "tokenAddress", type: "address" }, { internalType: "address", name: "mainchainAddress", type: "address" }, { internalType: "uint32", name: "standard", type: "uint32" }, { internalType: "uint256", name: "tokenNumber", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" } ]; var SIDECHAIN_GATEWAY_MANAGER_PROXY = { name: "Sidechain Gateway Manager Proxy", address: "0xe35d62ebe18413d96ca2a2f7cf215bb21a406b4b", is_deprecated: true, created_at: 1611574123, abi: abi423 }; var sidechain_gateway_manager_proxy_default = SIDECHAIN_GATEWAY_MANAGER_PROXY; // src/contracts/sidechain_validator.ts var abi424 = [ { inputs: [ { internalType: "address", name: "_acknowledgement", type: "address" }, { internalType: "address[]", name: "_validators", type: "address[]" }, { internalType: "uint256", name: "_num", type: "uint256" }, { internalType: "uint256", name: "_denom", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_id", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_numerator", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_denominator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_previousNumerator", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_previousDenominator", type: "uint256" } ], name: "ThresholdUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_id", type: "uint256" }, { indexed: true, internalType: "address", name: "_validator", type: "address" } ], name: "ValidatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_id", type: "uint256" }, { indexed: true, internalType: "address", name: "_validator", type: "address" } ], name: "ValidatorRemoved", type: "event" }, { constant: true, inputs: [], name: "acknowledgement", outputs: [ { internalType: "contract Acknowledgement", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "address", name: "_validator", type: "address" } ], name: "addValidator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "_voteCount", type: "uint256" } ], name: "checkThreshold", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "denom", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getValidators", outputs: [ { internalType: "address[]", name: "_validators", type: "address[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isValidator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "num", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "address", name: "_validator", type: "address" } ], name: "removeValidator", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "uint256", name: "_numerator", type: "uint256" }, { internalType: "uint256", name: "_denominator", type: "uint256" } ], name: "updateQuorum", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "validatorCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "validators", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var SIDECHAIN_VALIDATOR = { name: "Sidechain Validator", address: "0x0000000000000000000000000000000000000011", is_deprecated: true, created_at: 1718826026, abi: abi424 }; var sidechain_validator_default = SIDECHAIN_VALIDATOR; // src/contracts/sidekicks.ts var abi425 = [ { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" }, { internalType: "string", name: "newOnchainImageBaseURI", type: "string" }, { internalType: "string", name: "newOnchainAttributesBaseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Sidekicks__CurrentGenMintNotComplete", type: "error" }, { inputs: [], name: "Sidekicks__CurrentGenSoldOut", type: "error" }, { inputs: [], name: "Sidekicks__GenerationNotCreated", type: "error" }, { inputs: [], name: "Sidekicks__InsufficientPayment", type: "error" }, { inputs: [], name: "Sidekicks__InvalidName", type: "error" }, { inputs: [], name: "Sidekicks__InvalidOnchainAttributes", type: "error" }, { inputs: [], name: "Sidekicks__MintCapExceeded", type: "error" }, { inputs: [], name: "Sidekicks__MintIsNotLive", type: "error" }, { inputs: [], name: "Sidekicks__MintIsPaused", type: "error" }, { inputs: [], name: "Sidekicks__NotOperator", type: "error" }, { inputs: [], name: "Sidekicks__NotSidekickOwner", type: "error" }, { inputs: [], name: "Sidekicks__TokenBase64URINotSet", type: "error" }, { inputs: [], name: "Sidekicks__TokenDoesNotExist", type: "error" }, { inputs: [], name: "Sidekicks__UseBatchMint", type: "error" }, { inputs: [], name: "Sidekicks__UseUserMint", type: "error" }, { inputs: [], name: "Sidekicks__WithdrawFailed", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "generation", type: "uint256" }, { components: [ { internalType: "uint256", name: "mintPrice", type: "uint256" }, { internalType: "uint256", name: "mintCap", type: "uint256" }, { internalType: "uint256", name: "supplyCap", type: "uint256" }, { internalType: "uint256", name: "startTime", type: "uint256" }, { internalType: "string", name: "metadataURI", type: "string" } ], indexed: false, internalType: "struct Sidekicks.GenInfo", name: "genInfo", type: "tuple" } ], name: "NewGenerationCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" } ], name: "SidekickMinted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: false, internalType: "string", name: "newName", type: "string" } ], name: "SidekickRenamed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "numSidekicks", type: "uint256" } ], name: "batchMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_mintPrice", type: "uint256" }, { internalType: "uint256", name: "_mintCap", type: "uint256" }, { internalType: "uint256", name: "_supplyCap", type: "uint256" }, { internalType: "uint256", name: "_startTime", type: "uint256" }, { internalType: "string", name: "_metadataURI", type: "string" } ], name: "createGeneration", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "currentGeneration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOperator", type: "address" } ], name: "declareOperator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "generation", type: "uint256" } ], name: "generationInfo", outputs: [ { components: [ { internalType: "uint256", name: "mintPrice", type: "uint256" }, { internalType: "uint256", name: "mintCap", type: "uint256" }, { internalType: "uint256", name: "supplyCap", type: "uint256" }, { internalType: "uint256", name: "startTime", type: "uint256" }, { internalType: "string", name: "metadataURI", type: "string" } ], internalType: "struct Sidekicks.GenInfo", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxSupplyCap", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [], stateMutability: "pure", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "onchainAttributes", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "onchainAttributesBaseURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "onchainImage", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "onchainImageBaseURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "operator", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "uint256", name: "tokenId", type: "uint256" }, { internalType: "string", name: "newName", type: "string" } ], name: "renameSidekick", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newOnchainBaseURI", type: "string" } ], name: "setOnchainAttributesBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newOnchainBaseURI", type: "string" } ], name: "setOnchainImageBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" }, { internalType: "string", name: "_base64Image", type: "string" }, { internalType: "string", name: "_base64Attributes", type: "string" } ], name: "setOnchainURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "tokenCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newmetadataURI", type: "string" }, { internalType: "uint256", name: "generation", type: "uint256" } ], name: "updateMetadataURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newMintCap", type: "uint256" } ], name: "updateMintCap", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newMintPrice", type: "uint256" } ], name: "updateMintPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newStartTime", type: "uint256" } ], name: "updateStartTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newSupplyCap", type: "uint256" } ], name: "updateSupplyCap", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "numSidekicks", type: "uint256" } ], name: "userMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "withdrawFunds", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SIDEKICKS = { name: "Sidekicks", address: "0x97797358f0d12aee117209c15d964ee0022bf1aa", is_deprecated: false, created_at: 1684211894, abi: abi425 }; var sidekicks_default = SIDEKICKS; // src/contracts/sign_puff.ts var abi426 = [ { 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: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "continueNum", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalNum", type: "uint256" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "SignIn", type: "event" }, { inputs: [], name: "BEGIN_TIME", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "continueNum", type: "uint256" }, { internalType: "uint256", name: "totalNum", type: "uint256" }, { internalType: "uint256", name: "lastTime", type: "uint256" } ], internalType: "struct SignPuff.ImportUserInfo[]", name: "importUserInfos", type: "tuple[]" } ], name: "importData", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "interval", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "signIn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" } ], name: "signInInfo", outputs: [ { internalType: "bool", name: "available", type: "bool" }, { internalType: "uint256", name: "userContinueNum", type: "uint256" }, { internalType: "uint256", name: "userTotalNum", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_timestamp", type: "uint256" } ], name: "timeToCrycle", outputs: [ { internalType: "uint256", name: "_crycle", type: "uint256" } ], stateMutability: "pure", type: "function" } ]; var SIGN_PUFF = { name: "Sign Puff", address: "0x72195defc317f7b1fa1895ddfbec6cce2b9fdfa2", is_deprecated: false, created_at: 1714838391, abi: abi426 }; var sign_puff_default = SIGN_PUFF; // src/contracts/sign_puff_v2.ts var abi427 = [ { inputs: [ { internalType: "address", name: "verifier", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { 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: "uint256", name: "nonce", type: "uint256" }, { indexed: false, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "taskType", type: "uint256" }, { indexed: false, internalType: "uint256", name: "subTaskType", type: "uint256" }, { indexed: false, internalType: "uint256", name: "score", type: "uint256" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "SignIn", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldVerifier", type: "address" }, { indexed: false, internalType: "address", name: "newVerifier", type: "address" } ], name: "VerifierChanged", type: "event" }, { inputs: [], name: "acceptOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "nonce", type: "uint256" } ], name: "getUsedNonce", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "setPendingOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_verifier", type: "address" } ], name: "setVerifier", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "nonce", type: "uint256" }, { internalType: "uint256", name: "taskType", type: "uint256" }, { internalType: "uint256", name: "subTaskType", type: "uint256" }, { internalType: "uint256", name: "score", type: "uint256" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "signIn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "verifier", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var SIGN_PUFF_V2 = { name: "Sign Puff V2", address: "0x6ff760dbba98f4df494eaaa1fd2f4b26ac35fbc7", is_deprecated: false, created_at: 1724381908, abi: abi427 }; var sign_puff_v2_default = SIGN_PUFF_V2; // src/contracts/signature_minter.ts var abi428 = [ { inputs: [ { internalType: "address", name: "_achievement", type: "address" }, { internalType: "address", name: "_signer", type: "address" }, { internalType: "address", name: "_rewarder", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [], name: "achievement", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "token_id", type: "uint256" }, { internalType: "address", name: "claimer", type: "address" } ], name: "firstHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "token_id", type: "uint256" }, { internalType: "address", name: "claimer", type: "address" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "token_id", type: "uint256" }, { internalType: "address", name: "claimer", type: "address" }, { internalType: "uint8", name: "v", type: "uint8" }, { internalType: "bytes32", name: "r", type: "bytes32" }, { internalType: "bytes32", name: "s", type: "bytes32" } ], name: "mintAndClaim", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "rewarder", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_rewarder", type: "address" } ], name: "setRewarder", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_signer", type: "address" } ], name: "setSigner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "token_id", type: "uint256" }, { internalType: "address", name: "claimer", type: "address" } ], name: "signatureHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "signer", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "usedHashes", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var SIGNATURE_MINTER = { name: "Signature Minter", address: "0xdd284054b2412b8e4cd6d6853b1659cadf4059ff", is_deprecated: false, created_at: 1727131898, abi: abi428 }; var signature_minter_default = SIGNATURE_MINTER; // src/contracts/simulate_tx_accessor.ts var abi429 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "enum Enum.Operation", name: "operation", type: "uint8" } ], name: "simulate", outputs: [ { internalType: "uint256", name: "estimate", type: "uint256" }, { internalType: "bool", name: "success", type: "bool" }, { internalType: "bytes", name: "returnData", type: "bytes" } ], stateMutability: "nonpayable", type: "function" } ]; var SIMULATE_TX_ACCESSOR = { name: "Simulate Tx Accessor", address: "0x59ad6735bcd8152b84860cb256dd9e96b85f69da", is_deprecated: false, created_at: 1635392386, abi: abi429 }; var simulate_tx_accessor_default = SIMULATE_TX_ACCESSOR; // src/contracts/sky_mavis.ts var abi430 = [ { inputs: [ { internalType: "address", name: "_singleton", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" } ]; var SKY_MAVIS = { name: "Sky Mavis", address: "0x41d8cf42236ae15cc7b0c0df619a95822d7ad423", is_deprecated: false, created_at: 1660732269, abi: abi430 }; var sky_mavis_default = SKY_MAVIS; // src/contracts/slash_indicator.ts var abi431 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrCallPrecompiled", type: "error" }, { inputs: [], name: "ErrCallerMustBeJailedInTheCurrentPeriod", type: "error" }, { inputs: [], name: "ErrCannotSlashAValidatorTwiceOrSlashMoreThanOneValidatorInOneBlock", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [], name: "ErrEvidenceAlreadySubmitted", type: "error" }, { inputs: [], name: "ErrInsufficientCreditScoreToBailOut", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidArguments", type: "error" }, { inputs: [], name: "ErrInvalidCreditScoreConfig", type: "error" }, { inputs: [], name: "ErrInvalidCutOffPercentageConfig", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidThreshold", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum ContractType", name: "expectedContractType", type: "uint8" }, { internalType: "address", name: "actual", type: "address" } ], name: "ErrUnexpectedInternalCall", type: "error" }, { inputs: [], name: "ErrUnregisteredPublicKey", type: "error" }, { inputs: [], name: "ErrValidatorHasBailedOutPreviously", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "uint256", name: "usedCreditScore", type: "uint256" } ], name: "BailedOut", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "gainCreditScore", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxCreditScore", type: "uint256" }, { indexed: false, internalType: "uint256", name: "bailOutCostMultiplier", type: "uint256" }, { indexed: false, internalType: "uint256", name: "cutOffPercentageAfterBailout", type: "uint256" } ], name: "CreditScoreConfigsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "cids", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "creditScores", type: "uint256[]" } ], name: "CreditScoresUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "slashDoubleSignAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "doubleSigningJailUntilBlock", type: "uint256" }, { indexed: false, internalType: "uint256", name: "doubleSigningOffsetLimitBlock", type: "uint256" } ], name: "DoubleSignSlashingConfigsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "slashFastFinalityAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "fastFinalityJailUntilBlock", type: "uint256" } ], name: "FastFinalitySlashingConfigsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "slashRandomBeaconAmount", type: "uint256" } ], name: "RandomBeaconSlashingConfigsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "cid", type: "address" }, { indexed: false, internalType: "enum IBaseSlash.SlashType", name: "slashType", type: "uint8" }, { indexed: false, internalType: "uint256", name: "period", type: "uint256" } ], name: "Slashed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: true, internalType: "address", name: "validatorId", type: "address" } ], name: "SlashingBeaconSkipped", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "unavailabilityTier1Threshold", type: "uint256" }, { indexed: false, internalType: "uint256", name: "unavailabilityTier2Threshold", type: "uint256" }, { indexed: false, internalType: "uint256", name: "slashAmountForUnavailabilityTier2Threshold", type: "uint256" }, { indexed: false, internalType: "uint256", name: "jailDurationForUnavailabilityTier2Threshold", type: "uint256" } ], name: "UnavailabilitySlashingConfigsUpdated", type: "event" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "bailOut", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "checkBailedOutAtPeriod", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" } ], name: "currentUnavailabilityIndicator", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "validatorIds", type: "address[]" } ], name: "execResetCreditScores", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "validatorIds", type: "address[]" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "execUpdateCreditScores", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "getCreditScore", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCreditScoreConfigs", outputs: [ { internalType: "uint256", name: "gainCreditScore_", type: "uint256" }, { internalType: "uint256", name: "maxCreditScore_", type: "uint256" }, { internalType: "uint256", name: "bailOutCostMultiplier_", type: "uint256" }, { internalType: "uint256", name: "cutOffPercentageAfterBailout_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getDoubleSignSlashingConfigs", outputs: [ { internalType: "uint256", name: "slashDoubleSignAmount_", type: "uint256" }, { internalType: "uint256", name: "doubleSigningJailUntilBlock_", type: "uint256" }, { internalType: "uint256", name: "doubleSigningOffsetLimitBlock_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getFastFinalitySlashingConfigs", outputs: [ { internalType: "uint256", name: "slashFastFinalityAmount_", type: "uint256" }, { internalType: "uint256", name: "fastFinalityJailUntilBlock_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusAddrs", type: "address[]" } ], name: "getManyCreditScores", outputs: [ { internalType: "uint256[]", name: "resultList", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRandomBeaconSlashingConfigs", outputs: [ { components: [ { internalType: "uint256", name: "_slashAmount", type: "uint256" }, { internalType: "uint256", name: "_activatedAtPeriod", type: "uint256" } ], internalType: "struct ISlashRandomBeacon.SlashRandomBeaconConfig", name: "config", type: "tuple" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensus", type: "address" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "getUnavailabilityIndicator", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getUnavailabilitySlashingConfigs", outputs: [ { internalType: "uint256", name: "unavailabilityTier1Threshold_", type: "uint256" }, { internalType: "uint256", name: "unavailabilityTier2Threshold_", type: "uint256" }, { internalType: "uint256", name: "slashAmountForUnavailabilityTier2Threshold_", type: "uint256" }, { internalType: "uint256", name: "jailDurationForUnavailabilityTier2Threshold_", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "__validatorContract", type: "address" }, { internalType: "address", name: "__maintenanceContract", type: "address" }, { internalType: "address", name: "__roninTrustedOrganizationContract", type: "address" }, { internalType: "address", name: "__roninGovernanceAdminContract", type: "address" }, { internalType: "uint256[4]", name: "", type: "uint256[4]" }, { internalType: "uint256[2]", name: "", type: "uint256[2]" }, { internalType: "uint256[3]", name: "_doubleSignSlashingConfigs", type: "uint256[3]" }, { internalType: "uint256[4]", name: "_unavailabilitySlashingConfigs", type: "uint256[4]" }, { internalType: "uint256[4]", name: "_creditScoreConfigs", type: "uint256[4]" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "roninGovernanceAdminContract", type: "address" } ], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "profileContract", type: "address" } ], name: "initializeV3", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "randomBeaconContract", type: "address" }, { internalType: "uint256", name: "randomBeaconSlashAmount", type: "uint256" }, { internalType: "uint256", name: "activatedAtPeriod", type: "uint256" } ], name: "initializeV4", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "lastUnavailabilitySlashedBlock", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "precompileValidateDoubleSignAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "precompileValidateFastFinalityAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_gainScore", type: "uint256" }, { internalType: "uint256", name: "_maxScore", type: "uint256" }, { internalType: "uint256", name: "_bailOutMultiplier", type: "uint256" }, { internalType: "uint256", name: "_cutOffPercentage", type: "uint256" } ], name: "setCreditScoreConfigs", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_slashAmount", type: "uint256" }, { internalType: "uint256", name: "_jailUntilBlock", type: "uint256" }, { internalType: "uint256", name: "_offsetLimitBlock", type: "uint256" } ], name: "setDoubleSignSlashingConfigs", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "slashAmount", type: "uint256" }, { internalType: "uint256", name: "jailUntilBlock", type: "uint256" } ], name: "setFastFinalitySlashingConfigs", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "slashAmount", type: "uint256" }, { internalType: "uint256", name: "activatedAtPeriod", type: "uint256" } ], name: "setRandomBeaconSlashingConfigs", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tier1Threshold", type: "uint256" }, { internalType: "uint256", name: "tier2Threshold", type: "uint256" }, { internalType: "uint256", name: "slashAmountForTier2", type: "uint256" }, { internalType: "uint256", name: "jailDurationForTier2", type: "uint256" } ], name: "setUnavailabilitySlashingConfigs", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "bytes", name: "header1", type: "bytes" }, { internalType: "bytes", name: "header2", type: "bytes" } ], name: "slashDoubleSign", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "bytes", name: "voterPublicKey", type: "bytes" }, { internalType: "uint256", name: "targetBlockNumber", type: "uint256" }, { internalType: "bytes32[2]", name: "targetBlockHash", type: "bytes32[2]" }, { internalType: "bytes[][2]", name: "listOfPublicKey", type: "bytes[][2]" }, { internalType: "bytes[2]", name: "aggregatedSignature", type: "bytes[2]" } ], name: "slashFastFinality", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "validatorId", type: "address" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "slashRandomBeacon", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "slashUnavailability", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SLASH_INDICATOR = { name: "Slash Indicator", address: "0xd503747234cd3179508831de24be8990f50ebfc8", is_deprecated: false, created_at: 1718685429, abi: abi431 }; var slash_indicator_default = SLASH_INDICATOR; // src/contracts/slpweth_lp.ts var abi432 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var SLPWETH_LP = { name: "SLPWETH LP", address: "0x306a28279d04a47468ed83d55088d0dcd1369294", is_deprecated: false, created_at: 1635155016, abi: abi432 }; var slpweth_lp_default = SLPWETH_LP; // src/contracts/slpweth_lp_staking_pool.ts var abi433 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "contract IERC20", name: "_newStakingToken", type: "address" }, { internalType: "contract IERC20", name: "_newRewardToken", type: "address" }, { internalType: "contract IERC20StakingManager", name: "_newStakingManager", type: "address" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "methodPaused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "pauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes4", name: "_method", type: "bytes4" } ], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpauseAll", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var SLPWETH_LP_STAKING_POOL = { name: "SLPWETH LP Staking Pool", address: "0xd4640c26c1a31cd632d8ae1a96fe5ac135d1eb52", is_deprecated: false, created_at: 1635157080, abi: abi433 }; var slpweth_lp_staking_pool_default = SLPWETH_LP_STAKING_POOL; // src/contracts/smooth_love_potion.ts var abi434 = [ { inputs: [ { internalType: "uint256", name: "_dailyPotionLimit", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "uint256", name: "_amount", type: "uint256" } ], name: "SmoothLovePotionCheckpoint", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20Receiver", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "approveAndCall", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20PayableReceiver", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "approveAndCallPayable", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "cappedSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "checkpoint", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" }, { internalType: "bytes", name: "_signature", type: "bytes" }, { internalType: "contract IERC20PayableReceiver", name: "_spender", type: "address" }, { internalType: "uint256", name: "_approvedAmount", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "checkpointAndCall", outputs: [ { internalType: "uint256", name: "_balance", type: "uint256" } ], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [], name: "dailyPotionLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" } ], name: "getCheckpoint", outputs: [ { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint256", name: "_createdAt", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_dailyPotionLimit", type: "uint256" } ], name: "setDailyPotionLimit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var SMOOTH_LOVE_POTION = { name: "Smooth Love Potion", address: "0xa8754b9fa15fc18bb59458815510e40a12cd2014", is_deprecated: false, created_at: 1619582048, abi: abi434 }; var smooth_love_potion_default = SMOOTH_LOVE_POTION; // src/contracts/space_nft.ts var abi435 = [ { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "BURN_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "quantity", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "mintLaunchpad", outputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SPACE_NFT = { name: "Space NFT", address: "0xaff25652a30a3033f85c0d7abee204a0bab3ff32", is_deprecated: false, created_at: 1720628791, abi: abi435 }; var space_nft_default = SPACE_NFT; // src/contracts/spark_suit.ts var abi436 = [ { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "address", name: "minter", type: "address" }, { internalType: "string", name: "defaultBaseUrl", type: "string" }, { internalType: "uint256", name: "maxMint", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "destination", type: "address" } ], name: "claimBalance", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "limit", type: "uint256" }, { internalType: "uint256", name: "offset", type: "uint256" } ], name: "getCurrentNFTs", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getCurrentTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getMaxMint", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "maxMint", type: "uint256" } ], name: "setMaxMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "itemId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SPARK_SUIT = { name: "Spark Suit", address: "0x56d4e6ce96f850bdc1dfd086ac1c19a1e2d5b5c5", is_deprecated: false, created_at: 1712257605, abi: abi436 }; var spark_suit_default = SPARK_SUIT; // src/contracts/spirit_guardian_proxy.ts var abi437 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var SPIRIT_GUARDIAN_PROXY = { name: "Spirit Guardian Proxy", address: "0x512a731f1ac0cc2992bc0399d157ad4a409602fd", is_deprecated: false, created_at: 1718059585, abi: abi437 }; var spirit_guardian_proxy_default = SPIRIT_GUARDIAN_PROXY; // src/contracts/stable_coins_of_peso.ts var abi438 = [ { inputs: [ { internalType: "uint8", name: "_decimal", type: "uint8" }, { internalType: "uint256", name: "_initialSupply", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_user", type: "address" } ], name: "AddedBlackList", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newAddress", type: "address" } ], name: "Deprecate", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_blackListedUser", type: "address" }, { indexed: false, internalType: "uint256", name: "_balance", type: "uint256" } ], name: "DestroyedBlackFunds", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Issue", 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: "uint256", name: "feeBasisPoints", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxFee", type: "uint256" } ], name: "Params", type: "event" }, { anonymous: false, inputs: [], name: "Pause", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Redeem", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "_user", type: "address" } ], name: "RemovedBlackList", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [], name: "Unpause", type: "event" }, { inputs: [ { internalType: "address", name: "_evilUser", type: "address" } ], name: "addBlackList", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "remaining", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "who", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_upgradedAddress", type: "address" } ], name: "deprecate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "deprecated", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_blackListedUser", type: "address" } ], name: "destroyBlackFunds", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_maker", type: "address" } ], name: "getBlackListStatus", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "isBlackListed", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "uint256", name: "_amount", type: "uint256" } ], name: "redeem", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_clearedUser", type: "address" } ], name: "removeBlackList", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "upgradedAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var STABLE_COINS_OF_PESO = { name: "Stable Coins Of Peso", address: "0x63c6e9f027947be84d390cfa7b2332d13b529353", is_deprecated: false, created_at: 0, abi: abi438 }; var stable_coins_of_peso_default = STABLE_COINS_OF_PESO; // src/contracts/staking.ts var abi439 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "ErrAdminOfAnyActivePoolForbidden", type: "error" }, { inputs: [], name: "ErrCannotTransferRON", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrDuplicated", type: "error" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "poolId", type: "address" } ], name: "ErrInactivePool", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "uint256", name: "currentBalance", type: "uint256" }, { internalType: "uint256", name: "sendAmount", type: "uint256" } ], name: "ErrInsufficientBalance", type: "error" }, { inputs: [], name: "ErrInsufficientDelegatingAmount", type: "error" }, { inputs: [], name: "ErrInsufficientStakingAmount", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidArguments", type: "error" }, { inputs: [], name: "ErrInvalidArrays", type: "error" }, { inputs: [], name: "ErrInvalidCommissionRate", type: "error" }, { inputs: [], name: "ErrInvalidPoolShare", type: "error" }, { inputs: [], name: "ErrMigrateWasAdminAlreadyDone", type: "error" }, { inputs: [], name: "ErrOnlyPoolAdminAllowed", type: "error" }, { inputs: [], name: "ErrPoolAdminForbidden", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrRecipientRevert", type: "error" }, { inputs: [], name: "ErrStakingAmountLeft", type: "error" }, { inputs: [], name: "ErrThreeInteractionAddrsNotEqual", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [], name: "ErrUndelegateTooEarly", type: "error" }, { inputs: [], name: "ErrUndelegateZeroAmount", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum ContractType", name: "expectedContractType", type: "uint8" }, { internalType: "address", name: "actual", type: "address" } ], name: "ErrUnexpectedInternalCall", type: "error" }, { inputs: [], name: "ErrUnstakeTooEarly", type: "error" }, { inputs: [], name: "ErrUnstakeZeroAmount", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { inputs: [], name: "ErrZeroValue", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "minRate", type: "uint256" }, { indexed: false, internalType: "uint256", name: "maxRate", type: "uint256" } ], name: "CommissionRateRangeUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "minSecs", type: "uint256" } ], name: "CooldownSecsToUndelegateUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "delegator", type: "address" }, { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Delegated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [], name: "MigrateWasAdminDisabled", type: "event" }, { anonymous: false, inputs: [], name: "MigrateWasAdminFinished", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "threshold", type: "uint256" } ], name: "MinValidatorStakingAmountUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: true, internalType: "address", name: "admin", type: "address" } ], name: "PoolApproved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: false, internalType: "uint256", name: "shares", type: "uint256" } ], name: "PoolSharesUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "poolIds", type: "address[]" } ], name: "PoolsDeprecated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "address[]", name: "poolIds", type: "address[]" } ], name: "PoolsUpdateConflicted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "address[]", name: "poolIds", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "rewards", type: "uint256[]" } ], name: "PoolsUpdateFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "period", type: "uint256" }, { indexed: false, internalType: "address[]", name: "poolIds", type: "address[]" }, { indexed: false, internalType: "uint256[]", name: "aRps", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "shares", type: "uint256[]" } ], name: "PoolsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "RewardClaimed", 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: "address", name: "poolId", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Staked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: false, internalType: "address", name: "oldAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "StakeholderChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "StakingAmountDeductFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: true, internalType: "address", name: "admin", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "StakingAmountTransferFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "delegator", type: "address" }, { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Undelegated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Unstaked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "poolId", type: "address" }, { indexed: true, internalType: "address", name: "user", type: "address" }, { indexed: false, internalType: "uint256", name: "debited", type: "uint256" } ], name: "UserRewardUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "secs", type: "uint256" } ], name: "WaitingSecsToRevokeUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "DEFAULT_ADDITION_GAS", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MIGRATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PERIOD_DURATION", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "candidateAdmin", type: "address" }, { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address payable", name: "treasuryAddr", type: "address" }, { internalType: "uint256", name: "commissionRate", type: "uint256" }, { internalType: "bytes", name: "pubkey", type: "bytes" }, { internalType: "bytes", name: "proofOfPossession", type: "bytes" } ], name: "applyValidatorCandidate", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusAddrs", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "bulkUndelegate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusAddrList", type: "address[]" } ], name: "claimRewards", outputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "cooldownSecsToUndelegate", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "delegate", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusAddrList", type: "address[]" }, { internalType: "TConsensus", name: "consensusAddrDst", type: "address" } ], name: "delegateRewards", outputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "disableMigrateWasAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "poolId", type: "address" }, { internalType: "address", name: "currAdminAddr", type: "address" }, { internalType: "address", name: "newAdminAddr", type: "address" } ], name: "execChangeAdminAddr", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "poolId", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "execDeductStakingAmount", outputs: [ { internalType: "uint256", name: "actualDeductingAmount_", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "poolIds", type: "address[]" }, { internalType: "uint256", name: "newPeriod", type: "uint256" } ], name: "execDeprecatePools", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "poolIds", type: "address[]" }, { internalType: "uint256[]", name: "rewards", type: "uint256[]" }, { internalType: "uint256", name: "period", type: "uint256" } ], name: "execRecordRewards", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "getCommissionRateRange", outputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusAddrs", type: "address[]" } ], name: "getManySelfStakings", outputs: [ { internalType: "uint256[]", name: "selfStakings_", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "poolIds", type: "address[]" } ], name: "getManySelfStakingsById", outputs: [ { internalType: "uint256[]", name: "selfStakings_", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusAddrs", type: "address[]" }, { internalType: "address[]", name: "userList", type: "address[]" } ], name: "getManyStakingAmounts", outputs: [ { internalType: "uint256[]", name: "stakingAmounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "poolIds", type: "address[]" }, { internalType: "address[]", name: "userList", type: "address[]" } ], name: "getManyStakingAmountsById", outputs: [ { internalType: "uint256[]", name: "stakingAmounts", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus[]", name: "consensusAddrs", type: "address[]" } ], name: "getManyStakingTotals", outputs: [ { internalType: "uint256[]", name: "stakingAmounts_", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "poolIds", type: "address[]" } ], name: "getManyStakingTotalsById", outputs: [ { internalType: "uint256[]", name: "stakingAmounts_", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "getPoolAddressOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "getPoolDetail", outputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "uint256", name: "stakingAmount", type: "uint256" }, { internalType: "uint256", name: "stakingTotal", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "poolId", type: "address" } ], name: "getPoolDetailById", outputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "uint256", name: "stakingAmount", type: "uint256" }, { internalType: "uint256", name: "stakingTotal", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "user", type: "address" } ], name: "getReward", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "poolId", type: "address" }, { internalType: "address", name: "user", type: "address" } ], name: "getRewardById", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "TConsensus[]", name: "consensusAddrs", type: "address[]" } ], name: "getRewards", outputs: [ { internalType: "uint256[]", name: "rewards_", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "address[]", name: "poolIds", type: "address[]" } ], name: "getRewardsById", outputs: [ { internalType: "uint256[]", name: "rewards_", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "address", name: "user", type: "address" } ], name: "getStakingAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "getStakingTotal", outputs: [ { internalType: "uint256", name: "", 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: "__validatorContract", type: "address" }, { internalType: "uint256", name: "__minValidatorStakingAmount", type: "uint256" }, { internalType: "uint256", name: "__maxCommissionRate", type: "uint256" }, { internalType: "uint256", name: "__cooldownSecsToUndelegate", type: "uint256" }, { internalType: "uint256", name: "__waitingSecsToRevoke", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "__profileContract", type: "address" } ], name: "initializeV3", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" }, { internalType: "address", name: "migrator", type: "address" } ], name: "initializeV4", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "admin", type: "address" } ], name: "isAdminOfActivePool", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "poolIds", type: "address[]" }, { internalType: "address[]", name: "admins", type: "address[]" }, { internalType: "bool[]", name: "flags", type: "bool[]" } ], name: "migrateWasAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minValidatorStakingAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddrSrc", type: "address" }, { internalType: "TConsensus", name: "consensusAddrDst", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "redelegate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "requestEmergencyExit", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "requestRenounce", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "uint256", name: "effectiveDaysOnwards", type: "uint256" }, { internalType: "uint256", name: "commissionRate", type: "uint256" } ], name: "requestUpdateCommissionRate", 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: "uint256", name: "minRate", type: "uint256" }, { internalType: "uint256", name: "maxRate", type: "uint256" } ], name: "setCommissionRateRange", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "cooldownSecs", type: "uint256" } ], name: "setCooldownSecsToUndelegate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "threshold", type: "uint256" } ], name: "setMinValidatorStakingAmount", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "secs", type: "uint256" } ], name: "setWaitingSecsToRevoke", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" } ], name: "stake", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "undelegate", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "TConsensus", name: "consensusAddr", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "unstake", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "waitingSecsToRevoke", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var STAKING = { name: "Staking", address: "0xb7161757c02a6f71361c38f7022876105b266fdc", is_deprecated: false, created_at: 1718685432, abi: abi439 }; var staking_default = STAKING; // src/contracts/staking_manager.ts var abi440 = [ { inputs: [ { internalType: "address", name: "_proxyTo", type: "address" }, { internalType: "uint256", name: "_minClaimedBlocks", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_new", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_old", type: "uint256" } ], name: "MinClaimedBlocksUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "blockRewards", outputs: [ { internalType: "uint256", name: "fromBlock", type: "uint256" }, { internalType: "uint256", name: "rewardPerBlock", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "minClaimedBlocks", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "poolInfo", outputs: [ { internalType: "contract IERC20", name: "stakingToken", type: "address" }, { internalType: "contract IERC20", name: "rewardToken", type: "address" }, { internalType: "uint256", name: "accumulatedRewardsPerShare", type: "uint256" }, { internalType: "uint256", name: "lastSyncedBlock", type: "uint256" }, { internalType: "uint256", name: "startedAtBlock", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_minClaimedBlocks", type: "uint256" } ], name: "setMinClaimedBlocks", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" } ], name: "userRewardInfo", outputs: [ { internalType: "uint256", name: "debitedRewards", type: "uint256" }, { internalType: "uint256", name: "creditedRewards", type: "uint256" }, { internalType: "uint256", name: "lastClaimedBlock", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "withdrawEther", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" } ], name: "withdrawToken", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var STAKING_MANAGER = { name: "Staking Manager", address: "0x8bd81a19420bad681b7bfc20e703ebd8e253782d", is_deprecated: false, created_at: 1632969648, abi: abi440 }; var staking_manager_default = STAKING_MANAGER; // src/contracts/staking_vesting.ts var abi441 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "ErrBonusAlreadySent", type: "error" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "ErrContractTypeNotFound", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "uint256", name: "currentBalance", type: "uint256" }, { internalType: "uint256", name: "sendAmount", type: "uint256" } ], name: "ErrInsufficientBalance", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrInvalidArguments", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" } ], name: "ErrRecipientRevert", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum RoleAccess", name: "expectedRole", type: "uint8" } ], name: "ErrUnauthorized", type: "error" }, { inputs: [ { internalType: "bytes4", name: "msgSig", type: "bytes4" }, { internalType: "enum ContractType", name: "expectedContractType", type: "uint8" }, { internalType: "address", name: "actual", type: "address" } ], name: "ErrUnexpectedInternalCall", type: "error" }, { inputs: [ { internalType: "address", name: "addr", type: "address" } ], name: "ErrZeroCodeContract", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "", type: "uint256" } ], name: "BlockProducerBonusPerBlockUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "blockNumber", type: "uint256" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "blockProducerAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "bridgeOperatorAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "contractBalance", type: "uint256" } ], name: "BonusTransferFailed", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "blockNumber", type: "uint256" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "blockProducerAmount", type: "uint256" }, { indexed: false, internalType: "uint256", name: "bridgeOperatorAmount", type: "uint256" } ], name: "BonusTransferred", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "", type: "uint256" } ], name: "BridgeOperatorBonusPerBlockUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "enum ContractType", name: "contractType", type: "uint8" }, { indexed: true, internalType: "address", name: "addr", type: "address" } ], name: "ContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "", type: "uint256" } ], name: "FastFinalityRewardPercentageUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "blockProducerBlockBonus", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "bridgeOperatorBlockBonus", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "fastFinalityRewardPercentage", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" } ], name: "getContract", outputs: [ { internalType: "address payable", name: "contract_", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "validatorContract", type: "address" }, { internalType: "uint256", name: "blockProducerBonusPerBlock", type: "uint256" }, { internalType: "uint256", name: "bridgeOperatorBonusPerBlock", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "initializeV2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "fastFinalityRewardPercent", type: "uint256" } ], name: "initializeV3", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "lastBlockSendingBonus", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "receiveRON", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bool", name: "forBlockProducer", type: "bool" }, { internalType: "bool", name: "forBridgeOperator", type: "bool" } ], name: "requestBonus", outputs: [ { internalType: "bool", name: "success", type: "bool" }, { internalType: "uint256", name: "blockProducerBonus", type: "uint256" }, { internalType: "uint256", name: "bridgeOperatorBonus", type: "uint256" }, { internalType: "uint256", name: "fastFinalityRewardPercent", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "setBlockProducerBonusPerBlock", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "setBridgeOperatorBonusPerBlock", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "enum ContractType", name: "contractType", type: "uint8" }, { internalType: "address", name: "addr", type: "address" } ], name: "setContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "percent", type: "uint256" } ], name: "setFastFinalityRewardPercentage", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var STAKING_VESTING = { name: "Staking Vesting", address: "0xb63cc4b6a8ad9690d7d50bbd937622932ca2e779", is_deprecated: false, created_at: 1718685432, abi: abi441 }; var staking_vesting_default = STAKING_VESTING; // src/contracts/star_godiverse_attachment_proxy.ts var abi442 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var STAR_GODIVERSE_ATTACHMENT_PROXY = { name: "Star Godiverse Attachment Proxy", address: "0x1e1258d072c88c4c65123ae3917024fbedc2aea2", is_deprecated: false, created_at: 1702561686, abi: abi442 }; var star_godiverse_attachment_proxy_default = STAR_GODIVERSE_ATTACHMENT_PROXY; // src/contracts/star_orbital_track_caller_proxy.ts var abi443 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var STAR_ORBITAL_TRACK_CALLER_PROXY = { name: "Star Orbital Track Caller Proxy", address: "0x8ec9f6eceb91ef9913220db6385f79896e836890", is_deprecated: false, created_at: 1702561758, abi: abi443 }; var star_orbital_track_caller_proxy_default = STAR_ORBITAL_TRACK_CALLER_PROXY; // src/contracts/star_orbital_track_logic_proxy.ts var abi444 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var STAR_ORBITAL_TRACK_LOGIC_PROXY = { name: "Star Orbital Track Logic Proxy", address: "0x550168ec56b3348b91c62d29aae7eba8c88ffee4", is_deprecated: false, created_at: 1702561722, abi: abi444 }; var star_orbital_track_logic_proxy_default = STAR_ORBITAL_TRACK_LOGIC_PROXY; // src/contracts/star_orbital_track_proxy.ts var abi445 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var STAR_ORBITAL_TRACK_PROXY = { name: "Star Orbital Track Proxy", address: "0x84925b63b80e194c665863462db2a0c5a0189c20", is_deprecated: false, created_at: 1702561704, abi: abi445 }; var star_orbital_track_proxy_default = STAR_ORBITAL_TRACK_PROXY; // src/contracts/store_commission_proxy.ts var abi446 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var STORE_COMMISSION_PROXY = { name: "Store Commission Proxy", address: "0x5c85819a6d8d08f7b746200a57406cfd2ecaea63", is_deprecated: false, created_at: 1706524699, abi: abi446 }; var store_commission_proxy_default = STORE_COMMISSION_PROXY; // src/contracts/superfine_airdrop_v3.ts var abi447 = [ { inputs: [ { internalType: "uint256", name: "maxBatchSize", type: "uint256" }, { internalType: "uint256", name: "feePerBatch", type: "uint256" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "campaignId", type: "string" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { components: [ { internalType: "enum SuperfineAirdropV3.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct SuperfineAirdropV3.Asset[]", name: "assets", type: "tuple[]" }, { indexed: false, internalType: "uint256", name: "maxBatchSize", type: "uint256" } ], name: "AirdropCampaignCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "campaignId", type: "string" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { components: [ { internalType: "enum SuperfineAirdropV3.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct SuperfineAirdropV3.Asset[]", name: "assets", type: "tuple[]" }, { indexed: false, internalType: "uint256", name: "maxBatchSize", type: "uint256" } ], name: "AirdropCampaignUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "campaignId", type: "string" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { components: [ { internalType: "enum SuperfineAirdropV3.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct SuperfineAirdropV3.Asset[]", name: "assets", type: "tuple[]" }, { indexed: false, internalType: "address[]", name: "recipients", type: "address[]" } ], name: "AssetsAirdropped", 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" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" }, { internalType: "uint256[]", name: "assetIndexes", type: "uint256[]" }, { internalType: "address[]", name: "recipients", type: "address[]" } ], name: "airdrop", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" }, { components: [ { internalType: "enum SuperfineAirdropV3.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct SuperfineAirdropV3.Asset[]", name: "assets", type: "tuple[]" } ], name: "createAirdropCampaign", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "numAssets", type: "uint256" } ], name: "estimateAirdropFee", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" } ], name: "getCampaignById", outputs: [ { components: [ { internalType: "string", name: "campaignId", type: "string" }, { internalType: "address", name: "creator", type: "address" }, { components: [ { internalType: "enum SuperfineAirdropV3.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct SuperfineAirdropV3.Asset[]", name: "assets", type: "tuple[]" }, { internalType: "uint256", name: "maxBatchSize", type: "uint256" }, { internalType: "uint256", name: "chargedFee", type: "uint256" }, { internalType: "bool", name: "airdropStarted", type: "bool" } ], internalType: "struct SuperfineAirdropV3.AirdropCampaign", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newFee", type: "uint256" } ], name: "setFeePerBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newSize", type: "uint256" } ], name: "setMaxBatchSize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "bool[]", name: "isOperators", type: "bool[]" } ], name: "setOperators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" }, { components: [ { internalType: "enum SuperfineAirdropV3.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct SuperfineAirdropV3.Asset[]", name: "assets", type: "tuple[]" } ], name: "updateCampaign", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" } ], name: "withdrawAirdropFee", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SUPERFINE_AIRDROP_V3 = { name: "Superfine Airdrop V3", address: "0x27013d274aa60c6e6883aa2130e8b01249eb11d4", is_deprecated: false, created_at: 1685614246, abi: abi447 }; var superfine_airdrop_v3_default = SUPERFINE_AIRDROP_V3; // src/contracts/superfine_claim_v2.ts var abi448 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" }, { internalType: "address", name: "campaignCreator", type: "address" }, { components: [ { internalType: "enum SuperfineClaimV2.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct SuperfineClaimV2.Asset[]", name: "assets", type: "tuple[]" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "claimAssets", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "claimant", type: "address" }, { internalType: "string", name: "campaignId", type: "string" } ], name: "getClaimedAssets", outputs: [ { components: [ { internalType: "enum SuperfineClaimV2.AssetType", name: "assetType", type: "uint8" }, { internalType: "address", name: "assetAddress", type: "address" }, { internalType: "uint256", name: "assetId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct SuperfineClaimV2.Asset[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "bool[]", name: "isOperators", type: "bool[]" } ], name: "setOperators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SUPERFINE_CLAIM_V2 = { name: "Superfine Claim V2", address: "0x32a5712b9a68b970c4a01172be95c4479f3290e8", is_deprecated: false, created_at: 1685614312, abi: abi448 }; var superfine_claim_v2_default = SUPERFINE_CLAIM_V2; // src/contracts/superfine_reward_distribution_v1.ts var abi449 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { 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: "string", name: "requestId", type: "string" }, { indexed: false, internalType: "string", name: "campaignId", type: "string" }, { indexed: false, internalType: "address", name: "campaignCreator", type: "address" }, { components: [ { internalType: "enum SuperfineRewardDistributionV1.RewardType", name: "rewardType", type: "uint8" }, { internalType: "address", name: "rewardAddress", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], indexed: false, internalType: "struct SuperfineRewardDistributionV1.Reward[]", name: "rewards", type: "tuple[]" }, { indexed: false, internalType: "address[]", name: "winners", type: "address[]" } ], name: "RewardsDistributed", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "campaignId", type: "string" }, { indexed: false, internalType: "address", name: "creator", type: "address" } ], name: "SuperfineCampaignCreated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "campaignId", type: "string" }, { indexed: false, internalType: "address", name: "creator", type: "address" } ], name: "SuperfineCampaignUpdated", type: "event" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" }, { internalType: "uint256", name: "numRewards", type: "uint256" }, { internalType: "uint256", name: "nativeReward", type: "uint256" }, { internalType: "uint256", name: "campaignFee", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "createSuperfineCampaign", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "string", name: "requestId", type: "string" }, { internalType: "string", name: "campaignId", type: "string" }, { components: [ { internalType: "enum SuperfineRewardDistributionV1.RewardType", name: "rewardType", type: "uint8" }, { internalType: "address", name: "rewardAddress", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct SuperfineRewardDistributionV1.Reward[]", name: "rewards", type: "tuple[]" }, { internalType: "address[]", name: "winners", type: "address[]" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "distributeRewards", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" } ], name: "getCampaignById", outputs: [ { components: [ { internalType: "string", name: "campaignId", type: "string" }, { internalType: "address", name: "creator", type: "address" }, { internalType: "uint256", name: "numRewards", type: "uint256" }, { internalType: "uint256", name: "totalNativeReward", type: "uint256" }, { internalType: "uint256", name: "chargedFee", type: "uint256" }, { internalType: "bool", name: "distributionStarted", type: "bool" } ], internalType: "struct SuperfineRewardDistributionV1.SuperfineCampaign", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "winner", type: "address" }, { internalType: "string", name: "campaignId", type: "string" } ], name: "getDistributedRewards", outputs: [ { components: [ { internalType: "enum SuperfineRewardDistributionV1.RewardType", name: "rewardType", type: "uint8" }, { internalType: "address", name: "rewardAddress", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" } ], internalType: "struct SuperfineRewardDistributionV1.Reward[]", name: "", type: "tuple[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "operators", type: "address[]" }, { internalType: "bool[]", name: "isOperators", type: "bool[]" } ], name: "setOperators", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "campaignId", type: "string" }, { internalType: "uint256", name: "newNumRewards", type: "uint256" }, { internalType: "uint256", name: "newNativeReward", type: "uint256" }, { internalType: "uint256", name: "newCampaignFee", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "updateSuperfineCampaign", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" } ], name: "withdrawCampaignFee", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var SUPERFINE_REWARD_DISTRIBUTION_V1 = { name: "Superfine Reward Distribution V1", address: "0x94c3974c3890ed4767810ec420d0b35165c355a0", is_deprecated: false, created_at: 1686732686, abi: abi449 }; var superfine_reward_distribution_v1_default = SUPERFINE_REWARD_DISTRIBUTION_V1; // src/contracts/swap_forwarder_proxy.ts var abi450 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var SWAP_FORWARDER_PROXY = { name: "Swap Forwarder Proxy", address: "0x133fa77dea36b311292201efddfc58cbe3a140b7", is_deprecated: false, created_at: 1711516331, abi: abi450 }; var swap_forwarder_proxy_default = SWAP_FORWARDER_PROXY; // src/contracts/template_factory_proxy.ts var abi451 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "address", name: "admin", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var TEMPLATE_FACTORY_PROXY = { name: "Template Factory Proxy", address: "0xeb2c874a5236e02da4f35dd5a1470d285f9a2f71", is_deprecated: false, created_at: 1729071335, abi: abi451 }; var template_factory_proxy_default = TEMPLATE_FACTORY_PROXY; // src/contracts/the_machines_arena_minter_logic.ts var abi452 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "AddressInsufficientBalance", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidAirdropId", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "InvalidValidatorContract", type: "error" }, { inputs: [], name: "ItemAlreadyMinted", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "MintExpired", type: "error" }, { inputs: [], name: "NoValidatorContract", type: "error" }, { inputs: [], name: "NotEnoughPayment", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint256", name: "oldMintPrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newMintPrice", type: "uint256" } ], name: "MintPriceUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "airDropId", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "mintedTokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "genesisTokenIds", type: "uint256[]" }, { indexed: false, internalType: "address[]", name: "recipients", type: "address[]" }, { indexed: false, internalType: "string", name: "mergedDetails", type: "string" } ], name: "NFTAirDroppedBatch", 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: "address", name: "oldAddress", type: "address" }, { indexed: true, internalType: "address", name: "newAddress", type: "address" } ], name: "TreasuryUpdated", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "string", name: "itemId", type: "string" }, { indexed: true, internalType: "uint256", name: "mintedTokenId", type: "uint256" }, { indexed: false, internalType: "string", name: "details", type: "string" }, { indexed: false, internalType: "string", name: "counterName", type: "string" }, { indexed: false, internalType: "uint256", name: "counterValue", type: "uint256" } ], name: "UserMintedNFT", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract Validator", name: "oldContract", type: "address" }, { indexed: true, internalType: "contract Validator", name: "newContract", type: "address" } ], name: "ValidatorContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Withdraw", type: "event" }, { inputs: [], name: "AIRDROP_ID_MULTIPLIER", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "airDropId", type: "uint256" }, { internalType: "contract IExplicitTokenIdNFT", name: "nftContract", type: "address" }, { internalType: "uint256[]", name: "genesisTokenIDs", type: "uint256[]" }, { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "bool", name: "useSafeMint", type: "bool" }, { internalType: "string", name: "details", type: "string" } ], name: "adminAirDropNFT", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IMintableToken", name: "tokenContract", type: "address" }, { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" } ], name: "adminMintTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "uint256", name: "mintPrice", type: "uint256" } ], name: "adminSetMintPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "newTreasuryAddress", type: "address" } ], name: "adminSetTreasuryAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract Validator", name: "validator", type: "address" } ], name: "adminSetValidatorContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "adminWithdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "recipient", type: "address" } ], name: "adminWithdrawAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "baseVersion", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "airDropId", type: "uint256" }, { internalType: "uint256", name: "genesisTokenId", type: "uint256" } ], name: "encodeTokenId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "string", name: "counterName", type: "string" } ], name: "getMintCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" } ], name: "getMintPrice", outputs: [ { internalType: "uint256", name: "", 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: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "string", name: "itemId", type: "string" } ], name: "getUserMintedTokenId", outputs: [ { internalType: "uint256", name: "", 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: "admin", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "treasuryAddress", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { components: [ { internalType: "contract BaseNFT", name: "nftContract", type: "address" }, { internalType: "string", name: "itemId", type: "string" }, { internalType: "uint256", name: "expireTime", type: "uint256" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "string", name: "details", type: "string" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "string", name: "counterName", type: "string" }, { internalType: "bool", name: "verifyMessageHash", type: "bool" } ], internalType: "struct Minter.UserMintPayload", name: "payload", type: "tuple" } ], name: "userMintNFT", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "validatorContract", outputs: [ { internalType: "contract Validator", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var THE_MACHINES_ARENA_MINTER_LOGIC = { name: "The Machines Arena Minter Logic", address: "0x99f78ba3c3dc67755c688aaf5025b871d6883ee7", is_deprecated: false, created_at: 1709089397, abi: abi452 }; var the_machines_arena_minter_logic_default = THE_MACHINES_ARENA_MINTER_LOGIC; // src/contracts/the_machines_arena_minter_proxy.ts var abi453 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var THE_MACHINES_ARENA_MINTER_PROXY = { name: "The Machines Arena Minter Proxy", address: "0xacda2b4ef48e2078e251155b3cb807026daba8b2", is_deprecated: false, created_at: 1709089415, abi: abi453 }; var the_machines_arena_minter_proxy_default = THE_MACHINES_ARENA_MINTER_PROXY; // src/contracts/the_machines_arena_skin_logic.ts var abi454 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [ { internalType: "uint256", name: "numerator", type: "uint256" }, { internalType: "uint256", name: "denominator", type: "uint256" } ], name: "ERC2981InvalidDefaultRoyalty", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC2981InvalidDefaultRoyaltyReceiver", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "numerator", type: "uint256" }, { internalType: "uint256", name: "denominator", type: "uint256" } ], name: "ERC2981InvalidTokenRoyalty", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" } ], name: "ERC2981InvalidTokenRoyaltyReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "owner", type: "address" } ], name: "ERC721IncorrectOwner", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC721InsufficientApproval", type: "error" }, { inputs: [ { internalType: "address", name: "approver", type: "address" } ], name: "ERC721InvalidApprover", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ERC721InvalidOperator", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "ERC721InvalidOwner", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC721InvalidReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "ERC721InvalidSender", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC721NonexistentToken", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "oldURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "BaseTokenURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "oldURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "ContractURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint96", name: "royaltyFraction", type: "uint96" } ], name: "DefaultRoyaltyInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", 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: 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: "tokenId", type: "uint256" }, { indexed: false, internalType: "string", name: "oldURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "TokenURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseTokenURI", type: "string" } ], name: "adminSetBaseTokenURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newContractURI", type: "string" } ], name: "adminSetContractURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint96", name: "royaltyFraction", type: "uint96" } ], name: "adminSetDefaultRoyaltyInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "dummyOwner", type: "address" } ], name: "adminSetDummyOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "contractURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentTokenIdCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "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: [ { components: [ { internalType: "string", name: "tokenName", type: "string" }, { internalType: "string", name: "tokenSymbol", type: "string" }, { internalType: "address", name: "adminAddress", type: "address" }, { internalType: "address", name: "dummyOwner", type: "address" }, { internalType: "string", name: "contractURI", type: "string" }, { internalType: "string", name: "baseTokenURI", type: "string" }, { internalType: "address", name: "royaltyRecipient", type: "address" }, { internalType: "uint96", name: "royaltyFraction", type: "uint96" } ], internalType: "struct NFTContractInitializer", name: "_initializer", type: "tuple" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "salePrice", type: "uint256" } ], name: "royaltyInfo", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "safeMint", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var THE_MACHINES_ARENA_SKIN_LOGIC = { name: "The Machines Arena Skin Logic", address: "0x0021701fd61e2d28838f020610c18b8e60139965", is_deprecated: false, created_at: 1709089455, abi: abi454 }; var the_machines_arena_skin_logic_default = THE_MACHINES_ARENA_SKIN_LOGIC; // src/contracts/the_machines_arena_skin_proxy.ts var abi455 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var THE_MACHINES_ARENA_SKIN_PROXY = { name: "The Machines Arena Skin Proxy", address: "0xb826bfe98d3a88c693c2382e223d162aad5b8f22", is_deprecated: false, created_at: 1709089473, abi: abi455 }; var the_machines_arena_skin_proxy_default = THE_MACHINES_ARENA_SKIN_PROXY; // src/contracts/the_machines_arena_validator_logic.ts var abi456 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [], name: "AlreadyIsValidator", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "IsNotValidator", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "NotEnoughValidators", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", 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: false, internalType: "uint256", name: "oldThreshold", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newThreshold", type: "uint256" } ], name: "ThresholdUpdated", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "validator", type: "address" } ], name: "ValidatorAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "validator", type: "address" } ], name: "ValidatorRemoved", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "adminAddValidator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "adminRemoveValidator", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "newThreshold", type: "uint256" } ], name: "adminSetThreshold", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "baseVersion", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "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: "admin", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "isValidator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "numValidators", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], 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: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "threshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "bytes", name: "message", type: "bytes" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "verifyMessage", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "messageHash", type: "bytes32" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "verifyMessageHash", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" } ]; var THE_MACHINES_ARENA_VALIDATOR_LOGIC = { name: "The Machines Arena Validator Logic", address: "0x1da7b13f42605fc501366ec62613ddb9570662c5", is_deprecated: false, created_at: 1709089350, abi: abi456 }; var the_machines_arena_validator_logic_default = THE_MACHINES_ARENA_VALIDATOR_LOGIC; // src/contracts/the_machines_arena_validator_proxy.ts var abi457 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var THE_MACHINES_ARENA_VALIDATOR_PROXY = { name: "The Machines Arena Validator Proxy", address: "0x25b80d35f7749294c17dc28cbb10113c291936b3", is_deprecated: false, created_at: 1709089369, abi: abi457 }; var the_machines_arena_validator_proxy_default = THE_MACHINES_ARENA_VALIDATOR_PROXY; // src/contracts/timelock.ts var abi458 = [ { inputs: [ { internalType: "uint256", name: "minDelay", type: "uint256" }, { internalType: "address[]", name: "proposers", type: "address[]" }, { internalType: "address[]", name: "executors", type: "address[]" }, { internalType: "address", name: "admin", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "index", type: "uint256" }, { indexed: false, internalType: "address", name: "target", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" } ], name: "CallExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" }, { indexed: false, internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "CallSalt", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" }, { indexed: true, internalType: "uint256", name: "index", type: "uint256" }, { indexed: false, internalType: "address", name: "target", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" }, { indexed: false, internalType: "bytes", name: "data", type: "bytes" }, { indexed: false, internalType: "bytes32", name: "predecessor", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "delay", type: "uint256" } ], name: "CallScheduled", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "id", type: "bytes32" } ], name: "Cancelled", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "oldDuration", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newDuration", type: "uint256" } ], name: "MinDelayChange", 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" }, { inputs: [], name: "CANCELLER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "EXECUTOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PROPOSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "TIMELOCK_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "cancel", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "payload", type: "bytes" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "execute", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "payloads", type: "bytes[]" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "executeBatch", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "getMinDelay", outputs: [ { internalType: "uint256", name: "", 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: "bytes32", name: "id", type: "bytes32" } ], name: "getTimestamp", outputs: [ { internalType: "uint256", name: "", 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: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "hashOperation", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "payloads", type: "bytes[]" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "hashOperationBatch", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperation", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperationDone", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperationPending", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "id", type: "bytes32" } ], name: "isOperationReady", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "nonpayable", 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: "target", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256", name: "delay", type: "uint256" } ], name: "schedule", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes[]", name: "payloads", type: "bytes[]" }, { internalType: "bytes32", name: "predecessor", type: "bytes32" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256", name: "delay", type: "uint256" } ], name: "scheduleBatch", 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: [ { internalType: "uint256", name: "newDelay", type: "uint256" } ], name: "updateDelay", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var TIMELOCK = { name: "Timelock", address: "0xd297a0cd328e299283e3e7dc5936b173a9ccf3ea", is_deprecated: false, created_at: 1715762644, abi: abi458 }; var timelock_default = TIMELOCK; // src/contracts/tma_familiar.ts var abi459 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [ { internalType: "uint256", name: "numerator", type: "uint256" }, { internalType: "uint256", name: "denominator", type: "uint256" } ], name: "ERC2981InvalidDefaultRoyalty", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC2981InvalidDefaultRoyaltyReceiver", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "numerator", type: "uint256" }, { internalType: "uint256", name: "denominator", type: "uint256" } ], name: "ERC2981InvalidTokenRoyalty", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "receiver", type: "address" } ], name: "ERC2981InvalidTokenRoyaltyReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "address", name: "owner", type: "address" } ], name: "ERC721IncorrectOwner", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC721InsufficientApproval", type: "error" }, { inputs: [ { internalType: "address", name: "approver", type: "address" } ], name: "ERC721InvalidApprover", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ERC721InvalidOperator", type: "error" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "ERC721InvalidOwner", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC721InvalidReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "ERC721InvalidSender", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC721NonexistentToken", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "oldURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "BaseTokenURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "oldURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "ContractURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint96", name: "royaltyFraction", type: "uint96" } ], name: "DefaultRoyaltyInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", 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: 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: "tokenId", type: "uint256" }, { indexed: false, internalType: "string", name: "oldURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "TokenURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseTokenURI", type: "string" } ], name: "adminSetBaseTokenURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newContractURI", type: "string" } ], name: "adminSetContractURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint96", name: "royaltyFraction", type: "uint96" } ], name: "adminSetDefaultRoyaltyInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "dummyOwner", type: "address" } ], name: "adminSetDummyOwner", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "contractURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "currentTokenIdCounter", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "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: [ { components: [ { internalType: "string", name: "tokenName", type: "string" }, { internalType: "string", name: "tokenSymbol", type: "string" }, { internalType: "address", name: "adminAddress", type: "address" }, { internalType: "address", name: "dummyOwner", type: "address" }, { internalType: "string", name: "contractURI", type: "string" }, { internalType: "string", name: "baseTokenURI", type: "string" }, { internalType: "address", name: "royaltyRecipient", type: "address" }, { internalType: "uint96", name: "royaltyFraction", type: "uint96" } ], internalType: "struct NFTContractInitializer", name: "_initializer", type: "tuple" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "uint256", name: "tokenId", type: "uint256" }, { internalType: "uint256", name: "salePrice", type: "uint256" } ], name: "royaltyInfo", outputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "safeMint", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var TMA_FAMILIAR = { name: "TMA Familiar", address: "0x94498e19c5c120f30130bb2c51df42adfb66fdab", is_deprecated: false, created_at: 1711368276, abi: abi459 }; var tma_familiar_default = TMA_FAMILIAR; // src/contracts/tma_familiar_proxy.ts var abi460 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var TMA_FAMILIAR_PROXY = { name: "TMA Familiar Proxy", address: "0xf82ab59b4a4fcf6332b43188c694eaf874200d62", is_deprecated: false, created_at: 1711931929, abi: abi460 }; var tma_familiar_proxy_default = TMA_FAMILIAR_PROXY; // src/contracts/tma_gacha.ts var abi461 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "AddressInsufficientBalance", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "GachaFailed", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidExternalGeneration", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidItemContract", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidRewardTable", type: "error" }, { inputs: [], name: "InvalidRewardTableInput", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "InvalidValidatorContract", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "NoValidatorContract", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "SignatureAlreadyUsed", type: "error" }, { inputs: [], name: "SignatureExpired", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { components: [ { internalType: "uint256", name: "minExternalGeneration", type: "uint256" }, { internalType: "uint256", name: "multiplier", type: "uint256" }, { internalType: "uint256", name: "threshold", type: "uint256" } ], indexed: false, internalType: "struct RandomNumberConsumer.HonestyCheckParams", name: "oldParams", type: "tuple" }, { components: [ { internalType: "uint256", name: "minExternalGeneration", type: "uint256" }, { internalType: "uint256", name: "multiplier", type: "uint256" }, { internalType: "uint256", name: "threshold", type: "uint256" } ], indexed: false, internalType: "struct RandomNumberConsumer.HonestyCheckParams", name: "newParams", type: "tuple" } ], name: "CheckParamsUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "treasuryAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "FundsSentToTreasury", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "wallet", type: "address" }, { indexed: true, internalType: "uint256", name: "tableId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "randomNumber", type: "uint256" }, { indexed: false, internalType: "uint256", name: "externalGeneration", type: "uint256" }, { indexed: false, internalType: "uint256", name: "internalGeneration", type: "uint256" }, { indexed: false, internalType: "bool", name: "isHonest", type: "bool" }, { indexed: false, internalType: "uint256", name: "rewardIndex", type: "uint256" }, { components: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "tokenAmounts", type: "uint256[]" }, { internalType: "uint256", name: "ronAmount", type: "uint256" } ], indexed: false, internalType: "struct GachaReward", name: "reward", type: "tuple" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" } ], name: "GachaCompleted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "externalGeneration", type: "uint256" }, { indexed: false, internalType: "uint256", name: "internalGeneration", type: "uint256" }, { indexed: false, internalType: "bool", name: "isHonest", type: "bool" } ], name: "GenerationAdvanced", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract BaseERC1155", name: "newContract", type: "address" } ], name: "ItemContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Paused", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tableId", type: "uint256" } ], name: "RewardTableDeleted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tableId", type: "uint256" }, { components: [ { internalType: "uint256[]", name: "costTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "costTokenAmounts", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "tokenAmounts", type: "uint256[]" }, { internalType: "uint256", name: "ronAmount", type: "uint256" } ], internalType: "struct GachaReward[]", name: "rewards", type: "tuple[]" }, { internalType: "uint256[]", name: "chanceRanges", type: "uint256[]" }, { internalType: "uint256", name: "totalChance", type: "uint256" } ], indexed: false, internalType: "struct GachaRewardTable", name: "newTable", type: "tuple" } ], name: "RewardTableUpdated", 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: "address", name: "oldAddress", type: "address" }, { indexed: true, internalType: "address", name: "newAddress", type: "address" } ], name: "TreasuryUpdated", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "contract Validator", name: "oldContract", type: "address" }, { indexed: true, internalType: "contract Validator", name: "newContract", type: "address" } ], name: "ValidatorContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "recipient", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Withdraw", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "REWARD_TABLE_HIGH", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "REWARD_TABLE_LOW", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "REWARD_TABLE_MEDIUM", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tableId", type: "uint256" } ], name: "adminDeleteRewardTable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { components: [ { internalType: "uint256", name: "minExternalGeneration", type: "uint256" }, { internalType: "uint256", name: "multiplier", type: "uint256" }, { internalType: "uint256", name: "threshold", type: "uint256" } ], internalType: "struct RandomNumberConsumer.HonestyCheckParams", name: "params", type: "tuple" } ], name: "adminSetHonestyCheckParams", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract BaseERC1155", name: "itemContract", type: "address" } ], name: "adminSetItemContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tableId", type: "uint256" }, { components: [ { internalType: "uint256[]", name: "costTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "costTokenAmounts", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "tokenAmounts", type: "uint256[]" }, { internalType: "uint256", name: "ronAmount", type: "uint256" } ], internalType: "struct GachaReward[]", name: "rewards", type: "tuple[]" }, { internalType: "uint256[]", name: "chances", type: "uint256[]" } ], internalType: "struct GachaRewardTableInput", name: "input", type: "tuple" } ], name: "adminSetRewardTable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "newTreasuryAddress", type: "address" } ], name: "adminSetTreasuryAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract Validator", name: "validator", type: "address" } ], name: "adminSetValidatorContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "recipient", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "adminWithdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "recipient", type: "address" } ], name: "adminWithdrawAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "rewardTableId", type: "uint256" }, { components: [ { internalType: "uint256", name: "randomNumber", type: "uint256" }, { internalType: "uint256", name: "generation", type: "uint256" }, { internalType: "uint256", name: "expireTime", type: "uint256" }, { internalType: "bytes", name: "signature", type: "bytes" }, { internalType: "bool", name: "verifyMessageHash", type: "bool" } ], internalType: "struct VerifiableRandomNumber", name: "payload", type: "tuple" } ], name: "gacha", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getHonestyCheckParams", outputs: [ { components: [ { internalType: "uint256", name: "minExternalGeneration", type: "uint256" }, { internalType: "uint256", name: "multiplier", type: "uint256" }, { internalType: "uint256", name: "threshold", type: "uint256" } ], internalType: "struct RandomNumberConsumer.HonestyCheckParams", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "getInternalGeneration", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tableId", type: "uint256" } ], name: "getRewardTable", outputs: [ { components: [ { internalType: "uint256[]", name: "costTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "costTokenAmounts", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "tokenAmounts", type: "uint256[]" }, { internalType: "uint256", name: "ronAmount", type: "uint256" } ], internalType: "struct GachaReward[]", name: "rewards", type: "tuple[]" }, { internalType: "uint256[]", name: "chanceRanges", type: "uint256[]" }, { internalType: "uint256", name: "totalChance", type: "uint256" } ], internalType: "struct GachaRewardTable", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getStorage", outputs: [ { components: [ { internalType: "contract BaseERC1155", name: "itemContract", type: "address" }, { internalType: "uint256[]", name: "rewardTableIDs", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "costTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "costTokenAmounts", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "tokenAmounts", type: "uint256[]" }, { internalType: "uint256", name: "ronAmount", type: "uint256" } ], internalType: "struct GachaReward[]", name: "rewards", type: "tuple[]" }, { internalType: "uint256[]", name: "chances", type: "uint256[]" } ], internalType: "struct GachaRewardTableInput[]", name: "rewardTables", type: "tuple[]" } ], internalType: "struct TMAGacha.StorageView", name: "", type: "tuple" } ], 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: [ { components: [ { internalType: "address", name: "adminAddress", type: "address" }, { internalType: "contract BaseERC1155", name: "itemContract", type: "address" }, { internalType: "uint256[]", name: "rewardTableIDs", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "costTokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "costTokenAmounts", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "tokenAmounts", type: "uint256[]" }, { internalType: "uint256", name: "ronAmount", type: "uint256" } ], internalType: "struct GachaReward[]", name: "rewards", type: "tuple[]" }, { internalType: "uint256[]", name: "chances", type: "uint256[]" } ], internalType: "struct GachaRewardTableInput[]", name: "rewardTables", type: "tuple[]" } ], internalType: "struct TMAGachaInitializer", name: "_initializer", type: "tuple" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "treasuryAddress", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "validatorContract", outputs: [ { internalType: "contract Validator", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var TMA_GACHA = { name: "TMA Gacha", address: "0x8e6bc15f0f382ea36a724e71bfaf7fa921add905", is_deprecated: false, created_at: 1727977172, abi: abi461 }; var tma_gacha_default = TMA_GACHA; // src/contracts/tma_gacha_proxy.ts var abi462 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var TMA_GACHA_PROXY = { name: "TMA Gacha Proxy", address: "0x89e4ae3b8e6fa507055b47b33dd2be1c7309d348", is_deprecated: false, created_at: 1727227997, abi: abi462 }; var tma_gacha_proxy_default = TMA_GACHA_PROXY; // src/contracts/tma_item.ts var abi463 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "uint256", name: "balance", type: "uint256" }, { internalType: "uint256", name: "needed", type: "uint256" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ERC1155InsufficientBalance", type: "error" }, { inputs: [ { internalType: "address", name: "approver", type: "address" } ], name: "ERC1155InvalidApprover", type: "error" }, { inputs: [ { internalType: "uint256", name: "idsLength", type: "uint256" }, { internalType: "uint256", name: "valuesLength", type: "uint256" } ], name: "ERC1155InvalidArrayLength", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" } ], name: "ERC1155InvalidOperator", type: "error" }, { inputs: [ { internalType: "address", name: "receiver", type: "address" } ], name: "ERC1155InvalidReceiver", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "ERC1155InvalidSender", type: "error" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "address", name: "owner", type: "address" } ], name: "ERC1155MissingApprovalForAll", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "EnforcedPause", type: "error" }, { inputs: [], name: "ExpectedPause", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidAddress", type: "error" }, { inputs: [], name: "InvalidConversionRequest", type: "error" }, { inputs: [], name: "InvalidConversionRule", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "InvalidInputs", type: "error" }, { inputs: [], name: "InvalidNFTContract", type: "error" }, { inputs: [], name: "InvalidRecipient", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "InvalidSupplyLimit", type: "error" }, { inputs: [], name: "InvalidTokenContract", type: "error" }, { inputs: [], name: "MainnetNotAllowed", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [], name: "SignatureAlreadyUsed", type: "error" }, { inputs: [], name: "SignatureExpired", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { inputs: [], name: "SupplyLimitReached", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { inputs: [], name: "UnknownNetwork", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "oldURI", type: "string" }, { indexed: false, internalType: "string", name: "newURI", type: "string" } ], name: "BaseTokenURIUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", 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: "tokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "oldLimit", type: "uint256" }, { indexed: false, internalType: "uint256", name: "newLimit", type: "uint256" } ], name: "SupplyLimitUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "conversionID", type: "uint256" }, { components: [ { internalType: "uint256[]", name: "sourceTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "sourceTokenAmounts", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct BaseERC1155.TokenConversionRule", name: "oldRule", type: "tuple" }, { components: [ { internalType: "uint256[]", name: "sourceTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "sourceTokenAmounts", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct BaseERC1155.TokenConversionRule", name: "newRule", type: "tuple" } ], name: "TokenConversionRuleUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "wallet", type: "address" }, { indexed: true, internalType: "uint256", name: "conversionID", type: "uint256" }, { indexed: false, internalType: "uint256", name: "conversionAmount", type: "uint256" }, { components: [ { internalType: "uint256[]", name: "sourceTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "sourceTokenAmounts", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenAmounts", type: "uint256[]" } ], indexed: false, internalType: "struct BaseERC1155.TokenConversionRule", name: "rule", type: "tuple" } ], name: "TokensConverted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", 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: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseTokenURI", type: "string" } ], name: "adminSetBaseTokenURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "newLimits", type: "uint256[]" } ], name: "adminSetSupplyLimits", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "conversionIDs", type: "uint256[]" }, { components: [ { internalType: "uint256[]", name: "sourceTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "sourceTokenAmounts", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenAmounts", type: "uint256[]" } ], internalType: "struct BaseERC1155.TokenConversionRule[]", name: "newRules", type: "tuple[]" } ], name: "adminSetTokenConversionRules", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "burnBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], 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: "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: [ { components: [ { internalType: "string", name: "name", type: "string" }, { internalType: "address", name: "adminAddress", type: "address" }, { internalType: "string", name: "baseTokenURI", type: "string" }, { internalType: "uint256[]", name: "limitedSupplyTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "limitedSupplyTokenAmounts", type: "uint256[]" } ], internalType: "struct ERC1155ContractInitializer", name: "_initializer", type: "tuple" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "mintBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "values", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "supplyLimit", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "supplyLimitBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "conversionID", type: "uint256" } ], name: "tokenConversionRule", outputs: [ { components: [ { internalType: "uint256[]", name: "sourceTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "sourceTokenAmounts", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "targetTokenAmounts", type: "uint256[]" } ], internalType: "struct BaseERC1155.TokenConversionRule", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "totalSupplyBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "uint256", name: "id", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "conversionIDs", type: "uint256[]" }, { internalType: "uint256[]", name: "conversionAmounts", type: "uint256[]" } ], name: "userConvertTokens", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var TMA_ITEM = { name: "TMA Item", address: "0x418626b8eb6ab317707653ee1b3e2e5c9b84c260", is_deprecated: false, created_at: 1727974194, abi: abi463 }; var tma_item_default = TMA_ITEM; // src/contracts/tma_item_proxy.ts var abi464 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var TMA_ITEM_PROXY = { name: "TMA Item Proxy", address: "0xe5e3fed856297f140a23a2d76a10d7cfd22726cc", is_deprecated: false, created_at: 1726635873, abi: abi464 }; var tma_item_proxy_default = TMA_ITEM_PROXY; // src/contracts/tma_skin_proxy.ts var abi465 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var TMA_SKIN_PROXY = { name: "TMA Skin Proxy", address: "0xf82ab59b4a4fcf6332b43188c694eaf874200d62", is_deprecated: false, created_at: 1711368300, abi: abi465 }; var tma_skin_proxy_default = TMA_SKIN_PROXY; // src/contracts/token_admin_registry.ts var abi466 = [ { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "AlreadyRegistered", type: "error" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "InvalidTokenPoolToken", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "token", type: "address" } ], name: "OnlyAdministrator", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" }, { internalType: "address", name: "token", type: "address" } ], name: "OnlyPendingAdministrator", type: "error" }, { inputs: [ { internalType: "address", name: "sender", type: "address" } ], name: "OnlyRegistryModuleOrOwner", type: "error" }, { inputs: [], name: "ZeroAddress", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: true, internalType: "address", name: "currentAdmin", type: "address" }, { indexed: true, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdministratorTransferRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: true, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdministratorTransferred", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" } ], name: "OwnershipTransferRequested", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address" }, { indexed: true, internalType: "address", name: "previousPool", type: "address" }, { indexed: true, internalType: "address", name: "newPool", type: "address" } ], name: "PoolSet", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "module", type: "address" } ], name: "RegistryModuleAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "module", type: "address" } ], name: "RegistryModuleRemoved", type: "event" }, { inputs: [ { internalType: "address", name: "localToken", type: "address" } ], name: "acceptAdminRole", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "acceptOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "module", type: "address" } ], name: "addRegistryModule", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint64", name: "startIndex", type: "uint64" }, { internalType: "uint64", name: "maxCount", type: "uint64" } ], name: "getAllConfiguredTokens", outputs: [ { internalType: "address[]", name: "tokens", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "getPool", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "tokens", type: "address[]" } ], name: "getPools", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "token", type: "address" } ], name: "getTokenConfig", outputs: [ { components: [ { internalType: "address", name: "administrator", type: "address" }, { internalType: "address", name: "pendingAdministrator", type: "address" }, { internalType: "address", name: "tokenPool", type: "address" } ], internalType: "struct TokenAdminRegistry.TokenConfig", name: "", type: "tuple" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "localToken", type: "address" }, { internalType: "address", name: "administrator", type: "address" } ], name: "isAdministrator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "module", type: "address" } ], name: "isRegistryModule", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "localToken", type: "address" }, { internalType: "address", name: "administrator", type: "address" } ], name: "proposeAdministrator", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "module", type: "address" } ], name: "removeRegistryModule", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "localToken", type: "address" }, { internalType: "address", name: "pool", type: "address" } ], name: "setPool", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "localToken", type: "address" }, { internalType: "address", name: "newAdmin", type: "address" } ], name: "transferAdminRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "typeAndVersion", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var TOKEN_ADMIN_REGISTRY = { name: "Token Admin Registry", address: "0x90e83d532a4ad13940139c8ace0b93b0ddbd323a", is_deprecated: false, created_at: 1730294325, abi: abi466 }; var token_admin_registry_default = TOKEN_ADMIN_REGISTRY; // src/contracts/token_gated_stage_logic.ts var abi467 = [ { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [], name: "ErrDuplicatedAllowedUser", type: "error" }, { inputs: [], name: "ErrEnforcedLaunchPause", type: "error" }, { inputs: [], name: "ErrExpectedLaunchPause", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrFallbackFailed", type: "error" }, { inputs: [], name: "ErrFeeExceedsMintPrice", type: "error" }, { inputs: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], name: "ErrHasValueWhileMintByERC20", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectConditionalType", type: "error" }, { inputs: [ { internalType: "enum ILaunchpadStructs.StageType", name: "actual", type: "uint8" }, { internalType: "enum ILaunchpadStructs.StageType", name: "expected", type: "uint8" } ], name: "ErrIncorrectStageType", type: "error" }, { inputs: [ { internalType: "uint256", name: "actual", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "ErrInsufficientTxValue", type: "error" }, { inputs: [], name: "ErrInvalidAllowedUser", type: "error" }, { inputs: [], name: "ErrInvalidAmountMintablePerReqToken", type: "error" }, { inputs: [], name: "ErrInvalidCreator", type: "error" }, { inputs: [], name: "ErrInvalidCurrency", type: "error" }, { inputs: [], name: "ErrInvalidFeeBasicPoint", type: "error" }, { inputs: [], name: "ErrInvalidFeeParty", type: "error" }, { inputs: [], name: "ErrInvalidFeeRecipient", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumSuppliesCondStg", type: "uint256" }, { internalType: "uint256", name: "launchSupply", type: "uint256" } ], name: "ErrInvalidLaunchSupply", type: "error" }, { inputs: [], name: "ErrInvalidMaxMintablePerWallet", type: "error" }, { inputs: [], name: "ErrInvalidMaxSupply", type: "error" }, { inputs: [], name: "ErrInvalidRequirementToken", type: "error" }, { inputs: [], name: "ErrInvalidSignerAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageIndex", type: "error" }, { inputs: [], name: "ErrInvalidStageLogicAddress", type: "error" }, { inputs: [], name: "ErrInvalidStageTime", type: "error" }, { inputs: [], name: "ErrInvalidStageType", type: "error" }, { inputs: [], name: "ErrInvalidTierId", type: "error" }, { inputs: [], name: "ErrInvalidTokenStandard", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrLengthMismatch", type: "error" }, { inputs: [ { internalType: "uint256", name: "limitPerWallet", type: "uint256" }, { internalType: "uint256", name: "remainMintable", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrLimitPerWalletExceeded", type: "error" }, { inputs: [ { internalType: "uint256", name: "remainingSupply", type: "uint256" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" } ], name: "ErrMaxSupplyExceeded", type: "error" }, { inputs: [ { internalType: "address", name: "minter", type: "address" } ], name: "ErrMinterNotAllowed", type: "error" }, { inputs: [], name: "ErrMismatchMintQtyAndSumReqQty", type: "error" }, { inputs: [], name: "ErrNFTContractExisted", type: "error" }, { inputs: [], name: "ErrNFTContractNotExisted", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrNotAllowedCallingAccessControl", type: "error" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "address", name: "token", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrNotOwnRequirementToken", type: "error" }, { inputs: [], name: "ErrNotZeroSupplyForPublicStage", type: "error" }, { inputs: [], name: "ErrStageEnded", type: "error" }, { inputs: [], name: "ErrStageNotStarted", type: "error" }, { inputs: [ { internalType: "uint256", name: "sumReqQuantities", type: "uint256" }, { internalType: "uint256", name: "actualQuantity", type: "uint256" } ], name: "ErrSumReqQuantitiesInsufficient", type: "error" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ErrTokenIdRedeemed", type: "error" }, { inputs: [], name: "ErrTooMuchConditionalStages", type: "error" }, { inputs: [], name: "ErrUnsupportedNFTInterface", type: "error" }, { inputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], name: "ErrZeroAddress", type: "error" }, { inputs: [], name: "ErrZeroLaunchSupply", type: "error" }, { inputs: [], name: "ErrZeroMintQuantity", type: "error" }, { inputs: [], name: "ErrZeroReqQuantity", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "MathOverflowedMulDiv", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "ReentrancyGuardReentrantCall", type: "error" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "uint256", name: "length", type: "uint256" } ], name: "StringsInsufficientHexLength", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "address[]", name: "allowUsers", type: "address[]" } ], name: "AllowUsersRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchPaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "address", name: "nftContract", type: "address" } ], name: "LaunchUnpaused", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" }, { components: [ { components: [ { internalType: "uint64", name: "startTime", type: "uint64" }, { internalType: "uint64", name: "endTime", type: "uint64" }, { internalType: "uint32", name: "maxMintablePerWallet", type: "uint32" }, { internalType: "uint32", name: "maxSupply", type: "uint32" }, { internalType: "uint64", name: "_reserved", type: "uint64" } ], internalType: "struct ILaunchpadStructs.GeneralConfigStage", name: "config", type: "tuple" }, { components: [ { internalType: "address", name: "currency", type: "address" }, { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint16", name: "_reserved", type: "uint16" } ], internalType: "struct ILaunchpadStructs.PaymentInfo", name: "paymentInfo", type: "tuple" } ], indexed: false, internalType: "struct ILaunchpadStructs.PublicStage", name: "publicStage", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "stageIndexes", type: "uint8[]" } ], name: "LaunchpadDataAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.TokenStandard", name: "standard", type: "uint8" }, { indexed: false, internalType: "address", name: "creator", type: "address" }, { indexed: false, internalType: "uint256", name: "launchpadSupply", type: "uint256" }, { indexed: false, internalType: "bool", name: "allowCumulativeLimit", type: "bool" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint16", name: "feeBps", type: "uint16" }, { internalType: "enum ILaunchpadStructs.FeeParty", name: "party", type: "uint8" }, { internalType: "uint72", name: "_reserved", type: "uint72" } ], indexed: false, internalType: "struct ILaunchpadStructs.Allocation[]", name: "allocations", type: "tuple[]" } ], name: "LaunchpadDataUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "total", type: "uint256" }, { indexed: false, internalType: "uint256", name: "totalMintedPerWallet", type: "uint256" } ], name: "MintQuantityRecorded", type: "event" }, { anonymous: false, inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], indexed: false, internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType", name: "stageType", type: "uint8" }, { indexed: false, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "address", name: "minter", type: "address" }, { indexed: false, internalType: "uint256", name: "actualPrice", type: "uint256" }, { indexed: false, internalType: "uint256", name: "actualMintQuantity", type: "uint256" }, { indexed: false, internalType: "uint256[]", name: "mintedIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "mintedAmounts", type: "uint256[]" }, { components: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "value", type: "uint256" } ], indexed: false, internalType: "struct ILaunchpadStructs.PaymentShare[]", name: "shares", type: "tuple[]" } ], name: "MintSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "launchId", type: "uint256" }, { indexed: false, internalType: "address", name: "oldAddress", type: "address" }, { indexed: false, internalType: "address", name: "newAddress", type: "address" } ], name: "NFTContractUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "bytes[]", name: "stageDatas", type: "bytes[]" }, { indexed: false, internalType: "uint8[]", name: "newStageIndexes", type: "uint8[]" } ], name: "NewStageInfoAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "NewTierAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "reqToken", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "requestRedeemPerIds", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "actualRedeemedPerIds", type: "uint256[]" } ], name: "RequirementTokenRedeemed", 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: false, internalType: "address", name: "nftContract", type: "address" }, { indexed: false, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "bytes", name: "stageData", type: "bytes" } ], name: "StageInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "enum ILaunchpadStructs.StageType[]", name: "stageTypes", type: "uint8[]" }, { indexed: false, internalType: "address[]", name: "logicAddrs", type: "address[]" } ], name: "StageLogicUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newSwapForwarder", type: "address" } ], name: "SwapForwarderUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: true, internalType: "uint8", name: "tierId", type: "uint8" }, { components: [ { internalType: "uint80", name: "mintPrice", type: "uint80" }, { internalType: "uint32", name: "mintableLimit", type: "uint32" }, { internalType: "uint144", name: "_reserved", type: "uint144" } ], indexed: false, internalType: "struct ILaunchpadStructs.UserTier", name: "userTier", type: "tuple" } ], name: "TierInfoUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContract", type: "address" }, { indexed: true, internalType: "uint8", name: "stageIndex", type: "uint8" }, { indexed: false, internalType: "uint8[]", name: "tierIds", type: "uint8[]" }, { indexed: false, internalType: "address[][]", name: "usersByTier", type: "address[][]" } ], name: "UsersAssignedToTier", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "wron", type: "address" }, { indexed: false, internalType: "address", name: "wronHelper", type: "address" } ], name: "WronConfigUpdated", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { internalType: "address", name: "minter", type: "address" } ], name: "getPriceOf", outputs: [ { internalType: "uint256", name: "actualPrice", type: "uint256" }, { internalType: "uint256", name: "requestedPrice", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "forwarder", type: "address" } ], name: "isTrustedForwarder", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { components: [ { internalType: "address", name: "nftContract", type: "address" }, { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "mintQuantity", type: "uint256" }, { internalType: "bool", name: "isMintAllPossible", type: "bool" }, { internalType: "uint8", name: "stageIndex", type: "uint8" }, { internalType: "bytes", name: "extraData", type: "bytes" } ], internalType: "struct ILaunchpadStructs.MintParam", name: "param", type: "tuple" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "uint256[]", name: "quantityPerTokenIds", type: "uint256[]" } ], name: "mintTokenGated", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "nftContract", type: "address" } ], name: "pausedOf", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "trustedForwarder", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var TOKEN_GATED_STAGE_LOGIC = { name: "Token Gated Stage Logic", address: "0xbacf867b9cf2668757b74b48c59f8f25b124aa70", is_deprecated: false, created_at: 1716444531, abi: abi467 }; var token_gated_stage_logic_default = TOKEN_GATED_STAGE_LOGIC; // src/contracts/token_receipt_handler_proxy.ts var abi468 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var TOKEN_RECEIPT_HANDLER_PROXY = { name: "Token Receipt Handler Proxy", address: "0x4bcc6ea44c86dbba033c1b5404033491b944a86e", is_deprecated: false, created_at: 1701749959, abi: abi468 }; var token_receipt_handler_proxy_default = TOKEN_RECEIPT_HANDLER_PROXY; // src/contracts/trait_registry_proxy.ts var abi469 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var TRAIT_REGISTRY_PROXY = { name: "Trait Registry Proxy", address: "0x66d017f2d6719b494ae6e86dd46c1b300c233310", is_deprecated: false, created_at: 1710943466, abi: abi469 }; var trait_registry_proxy_default = TRAIT_REGISTRY_PROXY; // src/contracts/transak_multicall_executer.ts var abi470 = [ { inputs: [ { internalType: "address", name: "_target", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "CallFailed", type: "error" }, { inputs: [ { internalType: "address", name: "_target", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" }, { internalType: "string", name: "_reason", type: "string" } ], name: "CallFailedWithReason", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address[]", name: "targets", type: "address[]" }, { indexed: false, internalType: "bytes[]", name: "data", type: "bytes[]" } ], name: "MulticallExecuted", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "", type: "address" }, { indexed: false, internalType: "uint256", name: "", type: "uint256" } ], name: "NativeTokenReceived", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferStarted", 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" }, { inputs: [], name: "ERC1155_TOKENRECEIVER_INTERFACE_ID", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "ERC165_INTERFACE_ID", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "ERC721_TOKENRECEIVER_INTERFACE_ID", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "acceptOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "targets", type: "address[]" }, { internalType: "bytes[]", name: "data", type: "bytes[]" }, { internalType: "uint256[]", name: "value", type: "uint256[]" } ], name: "multiCall", outputs: [ { internalType: "bytes[]", name: "", type: "bytes[]" } ], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pendingOwner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawEther", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var TRANSAK_MULTICALL_EXECUTER = { name: "Transak Multicall Executer", address: "0x7b2d268eea7f99520f7e968052fac76f52c73c7e", is_deprecated: false, created_at: 1729777684, abi: abi470 }; var transak_multicall_executer_default = TRANSAK_MULTICALL_EXECUTER; // src/contracts/tribes_season_one.ts var abi471 = [ { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PRESALE_PRICE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PRICE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_isActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "_preSaleListCounter", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_presaleActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "_publicCounter", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "uint256", name: "quantity", type: "uint256" }, { internalType: "address", name: "to", type: "address" } ], name: "internalMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxPresale", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxPublic", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "quantity", type: "uint8" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "mintPreSaleTokens", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: [], name: "preSaleRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bool", name: "isActive", type: "bool" } ], name: "presaleActive", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "quantity", type: "uint8" } ], name: "publicSaleMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "isActive", type: "bool" } ], name: "setActive", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_maxPresale", type: "uint256" } ], name: "setMaxPresale", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_maxPublic", type: "uint256" } ], name: "setMaxPublic", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_root", type: "bytes32" } ], name: "setPreSaleRoot", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setPresalePrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var TRIBES_SEASON_ONE = { name: "Tribes Season One", address: "0x6724ecb684b4f5a8b6cc7106b16e7922b4914b5f", is_deprecated: false, created_at: 1699976898, abi: abi471 }; var tribes_season_one_default = TRIBES_SEASON_ONE; // src/contracts/tribesters.ts var abi472 = [ { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PRESALE_PRICE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PRICE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_isActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "_preSaleListCounter", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_presaleActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "_publicCounter", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "uint256", name: "quantity", type: "uint256" }, { internalType: "address", name: "to", type: "address" } ], name: "internalMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxPresale", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "maxPublic", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "quantity", type: "uint8" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "mintPreSaleTokens", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: [], name: "preSaleRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bool", name: "isActive", type: "bool" } ], name: "presaleActive", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint8", name: "quantity", type: "uint8" } ], name: "publicSaleMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "isActive", type: "bool" } ], name: "setActive", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_maxPresale", type: "uint256" } ], name: "setMaxPresale", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_maxPublic", type: "uint256" } ], name: "setMaxPublic", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_root", type: "bytes32" } ], name: "setPreSaleRoot", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setPresalePrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var TRIBESTERS = { name: "Tribesters", address: "0x88033c23fe2db1a9811b5c3a1c82535ad257102e", is_deprecated: false, created_at: 1699976985, abi: abi472 }; var tribesters_default = TRIBESTERS; // src/contracts/unitroller.ts var abi473 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "error", type: "uint256" }, { indexed: false, internalType: "uint256", name: "info", type: "uint256" }, { indexed: false, internalType: "uint256", name: "detail", type: "uint256" } ], name: "Failure", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "NewAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newImplementation", type: "address" } ], name: "NewImplementation", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldPendingAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newPendingAdmin", type: "address" } ], name: "NewPendingAdmin", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "oldPendingImplementation", type: "address" }, { indexed: false, internalType: "address", name: "newPendingImplementation", type: "address" } ], name: "NewPendingImplementation", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: false, inputs: [], name: "_acceptAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [], name: "_acceptImplementation", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newPendingAdmin", type: "address" } ], name: "_setPendingAdmin", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "newPendingImplementation", type: "address" } ], name: "_setPendingImplementation", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "comptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingAdmin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "pendingComptrollerImplementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" } ]; var UNITROLLER = { name: "Unitroller", address: "0x9e8fd99fc64cd2ff4b5846361a7ec457f2b3808e", is_deprecated: false, created_at: 1672169442, abi: abi473 }; var unitroller_default = UNITROLLER; // src/contracts/usd_coin.ts var abi474 = [ { anonymous: false, inputs: [], name: "", outputs: null, payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_oldAdmin", type: "address" }, { indexed: true, internal_type: "", name: "_newAdmin", type: "address" } ], name: "AdminChanged", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_owner", type: "address" }, { indexed: true, internal_type: "", name: "_spender", type: "address" }, { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "Approval", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_minter", type: "address" } ], name: "MinterAdded", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_minter", type: "address" } ], name: "MinterRemoved", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [], name: "Paused", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internal_type: "", name: "_from", type: "address" }, { indexed: true, internal_type: "", name: "_to", type: "address" }, { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "Transfer", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [], name: "Unpaused", outputs: null, payable: false, stateMutability: "", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [], name: "admin", outputs: [ { indexed: false, internal_type: "", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, constant: true, inputs: [ { indexed: false, internal_type: "", name: "_owner", type: "address" }, { indexed: false, internal_type: "", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_spender", type: "address" }, { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { indexed: false, internal_type: "", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [ { indexed: false, internal_type: "", name: "", type: "address" } ], name: "balanceOf", outputs: [ { indexed: false, internal_type: "", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { indexed: false, internal_type: "", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_from", type: "address" }, { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { indexed: false, internal_type: "", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [], name: "decimals", outputs: [ { indexed: false, internal_type: "", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [], name: "initialize", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [ { indexed: false, internal_type: "", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { indexed: false, internal_type: "", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_to", type: "address" }, { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { indexed: false, internal_type: "", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [ { indexed: false, internal_type: "", name: "", type: "address" } ], name: "minter", outputs: [ { indexed: false, internal_type: "", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, constant: true, inputs: [ { indexed: false, internal_type: "", name: "", type: "uint256" } ], name: "minters", outputs: [ { indexed: false, internal_type: "", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, constant: true, inputs: [], name: "name", outputs: [ { indexed: false, internal_type: "", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [], name: "pause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [], name: "paused", outputs: [ { indexed: false, internal_type: "", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [], name: "symbol", outputs: [ { indexed: false, internal_type: "", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, constant: true, inputs: [], name: "totalSupply", outputs: [ { indexed: false, internal_type: "", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_to", type: "address" }, { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { indexed: false, internal_type: "", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_from", type: "address" }, { indexed: false, internal_type: "", name: "_to", type: "address" }, { indexed: false, internal_type: "", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { indexed: false, internal_type: "", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [], name: "unpause", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, inputs: [ { indexed: false, internal_type: "", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { anonymous: false, constant: true, inputs: [ { indexed: false, internal_type: "", name: "", type: "address" } ], name: "whitelisted", outputs: [ { indexed: false, internal_type: "", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var USD_COIN = { name: "USD Coin", address: "0x0b7007c13325c48911f73a2dad5fa5dcbf808adc", is_deprecated: false, created_at: 1634797706, abi: abi474 }; var usd_coin_default = USD_COIN; // src/contracts/usdcweth_lp.ts var abi475 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_new", type: "address" }, { indexed: true, internalType: "address", name: "_old", type: "address" } ], name: "ProxyUpdated", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "MINIMUM_LIQUIDITY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "PERMIT_TYPEHASH", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burn", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "burnFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "factory", outputs: [ { internalType: "contract IKatanaFactory", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", 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: "permit", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "price0CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "price1CumulativeLast", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "proxyType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "pure", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token0", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "token1", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newProxyTo", type: "address" } ], name: "updateProxyTo", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var USDCWETH_LP = { name: "USDCWETH LP", address: "0xa7964991f339668107e2b6a6f6b8e8b74aa9d017", is_deprecated: false, created_at: 1635155040, abi: abi475 }; var usdcweth_lp_default = USDCWETH_LP; // src/contracts/uups_test.ts var abi476 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "AccessControlBadConfirmation", type: "error" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "bytes32", name: "neededRole", type: "bytes32" } ], name: "AccessControlUnauthorizedAccount", type: "error" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { inputs: [], name: "InvalidInitialization", type: "error" }, { inputs: [], name: "NotInitializing", type: "error" }, { inputs: [], name: "UUPSUnauthorizedCallContext", type: "error" }, { inputs: [ { internalType: "bytes32", name: "slot", type: "bytes32" } ], name: "UUPSUnsupportedProxiableUUID", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint64", name: "version", type: "uint64" } ], name: "Initialized", 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: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "Test", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "UPGRADER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "UPGRADE_INTERFACE_VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "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: "admin", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "proxiableUUID", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "callerConfirmation", 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: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "version", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var UUPS_TEST = { name: "UUPS Test", address: "0x06cfa08276605a7709a463a74e676610c4b1a0d1", is_deprecated: false, created_at: 1709039448, abi: abi476 }; var uups_test_default = UUPS_TEST; // src/contracts/uups_test_proxy.ts var abi477 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var UUPS_TEST_PROXY = { name: "UUPS Test Proxy", address: "0x54692984db8805eb3351a64a3907f8827002f3b6", is_deprecated: false, created_at: 1709038833, abi: abi477 }; var uups_test_proxy_default = UUPS_TEST_PROXY; // src/contracts/vault_v2_proxy.ts var abi478 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var VAULT_V2_PROXY = { name: "Vault V2 Proxy", address: "0xa6666adc6ff79e771251d2c4ecefa34c2541bbca", is_deprecated: false, created_at: 1714837401, abi: abi478 }; var vault_v2_proxy_default = VAULT_V2_PROXY; // src/contracts/vip_shop_token_purchase_proxy.ts var abi479 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var VIP_SHOP_TOKEN_PURCHASE_PROXY = { name: "VIP Shop Token Purchase Proxy", address: "0x3fd8440d5a2e6ce3c49ab9982c95cfe6776b2724", is_deprecated: false, created_at: 1730457325, abi: abi479 }; var vip_shop_token_purchase_proxy_default = VIP_SHOP_TOKEN_PURCHASE_PROXY; // src/contracts/vx_ronin.ts var abi480 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", 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: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "approvedContract", type: "address" } ], name: "TokenLocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: true, internalType: "address", name: "approvedContract", type: "address" } ], name: "TokenUnlocked", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [], name: "MINT_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "approvedContract", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "equipment", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" }, { internalType: "address", name: "_contract", type: "address" } ], name: "freeId", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "isUnlocked", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "lockCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "lockId", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" } ], name: "lockMap", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "lockMapIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "lockNonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "mint", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "safeTransferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "_interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "unlockId", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_contracts", type: "address[]" }, { internalType: "bool[]", name: "_values", type: "bool[]" } ], name: "updateApprovedContracts", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_equip", type: "address" } ], name: "updateEquipment", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newURI", type: "string" } ], name: "updateURI", stateMutability: "nonpayable", type: "function" } ]; var VX_RONIN = { name: "VX Ronin", address: "0x4760452d6796b456323254036d652e97d0583117", is_deprecated: false, created_at: 1711393629, abi: abi480 }; var vx_ronin_default = VX_RONIN; // src/contracts/vx_ronin_proxy.ts var abi481 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var VX_RONIN_PROXY = { name: "VX Ronin Proxy", address: "0x241a81fc0d6692707dad2b5025a3a7cf2cf25acf", is_deprecated: false, created_at: 1706954651, abi: abi481 }; var vx_ronin_proxy_default = VX_RONIN_PROXY; // src/contracts/vx_slice_dispenser.ts var abi482 = [ { inputs: [], name: "ErrNotOwner", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "canClaim", outputs: [ { internalType: "bool[]", name: "ret", type: "bool[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_vxs", type: "uint256[]" } ], name: "claim", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "hub", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_vx", type: "address" }, { internalType: "address", name: "_nana", type: "address" }, { internalType: "address", name: "_slices", type: "address" }, { internalType: "address", name: "_treasury", type: "address" }, { internalType: "address", name: "_hub", type: "address" } ], name: "initialize", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "lastLog", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "nana", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "slices", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "treasury", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_hub", type: "address" } ], name: "updateHub", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_slices", type: "address" } ], name: "updateSlices", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_treasury", type: "address" } ], name: "updateTreasury", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vx", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" } ]; var VX_SLICE_DISPENSER = { name: "VX Slice Dispenser", address: "0xa29f42b93303b1dd666dc0dc82f2acf7ce7e2cbf", is_deprecated: false, created_at: 1711385862, abi: abi482 }; var vx_slice_dispenser_default = VX_SLICE_DISPENSER; // src/contracts/vx_slice_dispenser_proxy.ts var abi483 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "_admin", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { inputs: [], stateMutability: "payable", type: "fallback" }, { inputs: [], stateMutability: "payable", type: "receive" } ]; var VX_SLICE_DISPENSER_PROXY = { name: "VX Slice Dispenser Proxy", address: "0xd9696466ca9c3211643e4f150917776d940e7faf", is_deprecated: false, created_at: 1711200662, abi: abi483 }; var vx_slice_dispenser_proxy_default = VX_SLICE_DISPENSER_PROXY; // src/contracts/watchers_ring.ts var abi484 = [ { inputs: [ { internalType: "string", name: "_baseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Address0Error", type: "error" }, { inputs: [], name: "NoRingsAvailable", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", 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: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "enum IWatchersRing.WatchersRingType", name: "rtype", type: "uint8" } ], name: "WatchersRingMinted", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "baseTokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "exists", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "token", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "forwardERC20s", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getBaseURI", outputs: [ { internalType: "string", name: "", type: "string" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "ownerAddress", type: "address" } ], name: "getTokens", outputs: [ { internalType: "uint256[]", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "recipient", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "enum IWatchersRing.WatchersRingType", name: "rtype", type: "uint8" } ], name: "mintTokenId", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "minterAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "numMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "pauseContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "market", type: "address" }, { internalType: "bool", name: "denied", type: "bool" } ], name: "setDeniedMarketplace", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newMinter", type: "address" } ], name: "setMinter", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "newBaseURI", type: "string" } ], name: "setNewBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpauseContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawAll", outputs: [], stateMutability: "payable", type: "function" } ]; var WATCHERS_RING = { name: "Watchers Ring", address: "0x0e5bf9df365f7bf2c9514524ffcbd52b195d1a38", is_deprecated: false, created_at: 1721412756, abi: abi484 }; var watchers_ring_default = WATCHERS_RING; // src/contracts/watchers_ring_minter.ts var abi485 = [ { inputs: [ { internalType: "contract IWatchersRing", name: "_watchersRing", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Address0Error", type: "error" }, { inputs: [], name: "ClaimWithoutPurchase", type: "error" }, { inputs: [], name: "DeniedProcessDuringMinting", type: "error" }, { inputs: [ { internalType: "uint256", name: "sended_values", type: "uint256" }, { internalType: "uint256", name: "expected", type: "uint256" } ], name: "GivenValuesNotValid", type: "error" }, { inputs: [], name: "IncorrectPurchaseLimit", type: "error" }, { inputs: [], name: "MisconfiguredPrices", type: "error" }, { inputs: [ { internalType: "uint256", name: "correct_date", type: "uint256" }, { internalType: "uint256", name: "current_date", type: "uint256" } ], name: "WrongDateForProcess", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address" }, { indexed: true, internalType: "address", name: "newOwner", type: "address" } ], name: "OwnershipTransferred", type: "event" }, { inputs: [], name: "claimlistMerkleRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "numRings", type: "uint256" }, { internalType: "uint256", name: "claimedMaxRings", type: "uint256" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "claimlistMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "claimlistMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "claimsStartTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "claimsStarted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract IERC20", name: "_token", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "forwardERC20s", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "getAvailableRings", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getInitialRings", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getProbabilities", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getRingPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getTokenIdRingType", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "pure", type: "function" }, { inputs: [], name: "getTotalMintedRings", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getTotalMintedRingsByType", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "numRings", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "mintlistMerkleRoot1", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mintlistMerkleRoot2", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "numRings", type: "uint256" }, { internalType: "uint256", name: "claimedMaxRings", type: "uint256" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "mintlistMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "mintlistMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mintlistStartTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "mintlistStarted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "enum IWatchersRing.WatchersRingType[]", name: "ringTypes", type: "uint8[]" }, { internalType: "address[]", name: "recipients", type: "address[]" } ], name: "ownerMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "publicMintStartTime", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "publicStarted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "ringGlobalOffset", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "ringPrice", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "ringTypeLocalOffset", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "ringsMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" } ], name: "setClaimlistMerkleRoot", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newClaimsStartTime", type: "uint256" } ], name: "setClaimsStartTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newGlobalIdOffset", type: "uint256" } ], name: "setGlobalIdOffset", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_newRingTypeLocalOffset", type: "uint256[]" } ], name: "setLocalIdOffsets", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" } ], name: "setMintlistMerkleRoot1", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" } ], name: "setMintlistMerkleRoot2", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newAllowlistMintStartTime", type: "uint256" } ], name: "setMintlistStartTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newPrice", type: "uint256" } ], name: "setPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "_newProbabilities", type: "uint256[]" } ], name: "setProbabilities", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newPublicMintStartTime", type: "uint256" } ], name: "setPublicMintStartTime", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_newRingsAvailable", type: "uint256" } ], name: "setRingsAvailable", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "_newVaultAddress", type: "address" } ], name: "setVaultAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "contract IWatchersRing", name: "_newWatchersRingAddress", type: "address" } ], name: "setWatchersRing", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "vault", outputs: [ { internalType: "address payable", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "watchersRing", outputs: [ { internalType: "contract IWatchersRing", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawAll", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var WATCHERS_RING_MINTER = { name: "Watchers Ring Minter", address: "0x8eb1423702523f716d9bd2a33348a7bc58068789", is_deprecated: false, created_at: 1721412765, abi: abi485 }; var watchers_ring_minter_default = WATCHERS_RING_MINTER; // src/contracts/wbtc.ts var abi486 = [ { inputs: [ { internalType: "address", name: "gateway", type: "address" }, { internalType: "address", name: "pauser", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "GATEWAY_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burn", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "burnFrom", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleAdmin", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "grantRole", 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: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "mint", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "pause", stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "paused", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "revokeRole", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", stateMutability: "nonpayable", type: "function" } ]; var WBTC = { name: "WBTC", address: "0x7e73630f81647bcfd7b1f2c04c1c662d17d4577e", is_deprecated: false, created_at: 1722838774, abi: abi486 }; var wbtc_default = WBTC; // src/contracts/weapon_proxy.ts var abi487 = [ { inputs: [ { internalType: "address", name: "implementation", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { inputs: [ { internalType: "address", name: "target", type: "address" } ], name: "AddressEmptyCode", type: "error" }, { inputs: [ { internalType: "address", name: "implementation", type: "address" } ], name: "ERC1967InvalidImplementation", type: "error" }, { inputs: [], name: "ERC1967NonPayable", type: "error" }, { inputs: [], name: "FailedInnerCall", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" } ]; var WEAPON_PROXY = { name: "Weapon Proxy", address: "0xd6edc97cd37d75b4f5c8f6c91fafd627fe86647a", is_deprecated: false, created_at: 1730107890, abi: abi487 }; var weapon_proxy_default = WEAPON_PROXY; // src/contracts/whitelist_deployer.ts var abi488 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_address", type: "address" }, { indexed: true, internalType: "bool", name: "_status", type: "bool" } ], name: "AddressWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bool", name: "_status", type: "bool" } ], name: "WhitelistAllChange", type: "event" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "isWhitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_address", type: "address" }, { internalType: "bool", name: "_status", type: "bool" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "whitelistAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "bool", name: "_status", type: "bool" } ], name: "whitelistAllAddresses", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var WHITELIST_DEPLOYER = { name: "Whitelist Deployer", address: "0x0000000000000000000000000000000000000033", is_deprecated: false, created_at: 1718826045, abi: abi488 }; var whitelist_deployer_default = WHITELIST_DEPLOYER; // src/contracts/whitelist_deployer_v2_proxy.ts var abi489 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WHITELIST_DEPLOYER_V2_PROXY = { name: "Whitelist Deployer V2 Proxy", address: "0xc1876d5c4bfaf0ee325e4226b2bdf216d9896ae1", is_deprecated: false, created_at: 1696401911, abi: abi489 }; var whitelist_deployer_v2_proxy_default = WHITELIST_DEPLOYER_V2_PROXY; // src/contracts/whitelisted_minter.ts var abi490 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "index", type: "uint256" }, { indexed: false, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" } ], name: "Minted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "mintingId", type: "uint256" }, { indexed: false, internalType: "bytes32", name: "merkleRoot", type: "bytes32" }, { indexed: false, internalType: "enum WhitelistedMinter.MintingType", name: "mintingType", type: "uint8" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "uint16", name: "monsterType", type: "uint16" }, { indexed: false, internalType: "uint256", name: "finishedAt", type: "uint256" } ], name: "MintingCreated", 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: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "GENESIS_TAMER", outputs: [ { internalType: "contract IGenesisTamer", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "NYANGKIT", outputs: [ { internalType: "contract INyangKit", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "RAGMON", outputs: [ { internalType: "contract IRagmon", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_merkleRoot", type: "bytes32" }, { internalType: "enum WhitelistedMinter.MintingType", name: "_mintingType", type: "uint8" }, { internalType: "uint256", name: "_amount", type: "uint256" }, { internalType: "uint16", name: "_monsterType", type: "uint16" }, { internalType: "uint256", name: "_finishedAt", type: "uint256" } ], name: "addMinting", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "claimedAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "address", name: "_to", type: "address" } ], name: "getAmountToClaim", outputs: [ { internalType: "uint256", name: "", 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: "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: "_ragmon", type: "address" }, { internalType: "address", name: "_nyangkit", type: "address" }, { internalType: "address", name: "_genesisTamer", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "lastMintingId", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "bytes32[]", name: "_proof", type: "bytes32[]" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_index", type: "uint256" }, { internalType: "bytes32[]", name: "_proof", type: "bytes32[]" }, { internalType: "address", name: "_to", type: "address" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mintedAmount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "mintings", outputs: [ { internalType: "bytes32", name: "merkleRoot", type: "bytes32" }, { internalType: "enum WhitelistedMinter.MintingType", name: "mintingType", type: "uint8" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "uint16", name: "monsterType", type: "uint16" }, { internalType: "uint256", name: "finishedAt", type: "uint256" } ], 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: "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: "uint256", name: "_index", type: "uint256" }, { internalType: "address[]", name: "_to", type: "address[]" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "setAdditionalAmount", 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" } ]; var WHITELISTED_MINTER = { name: "Whitelisted Minter", address: "0x5f8a9c18f0942f78b36fcab41019e58a9c4f7d98", is_deprecated: false, created_at: 1720064190, abi: abi490 }; var whitelisted_minter_default = WHITELISTED_MINTER; // src/contracts/whitelisted_minter_proxy.ts var abi491 = [ { inputs: [ { internalType: "address", name: "implementationAddress", type: "address" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { 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: true, internalType: "address", name: "previousImplementation", type: "address" }, { indexed: true, internalType: "address", name: "newImplementation", type: "address" } ], name: "ProxyImplementationUpdated", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "id", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WHITELISTED_MINTER_PROXY = { name: "Whitelisted Minter Proxy", address: "0xd3a7de6a7e82f8d4b0fe7486cc828f4b1a1f4df8", is_deprecated: false, created_at: 1716974181, abi: abi491 }; var whitelisted_minter_proxy_default = WHITELISTED_MINTER_PROXY; // src/contracts/wild_forest_claim_nft.ts var abi492 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Expired", type: "error" }, { inputs: [], name: "InvalidContractName", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [], name: "MaximumIdentificatorsExceeded", type: "error" }, { inputs: [ { internalType: "string", name: "identificator", type: "string" } ], name: "NonceAlreadyUsed", type: "error" }, { anonymous: false, inputs: [], name: "EIP712DomainChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContractAddress", type: "address" } ], name: "NftContractChanged", 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: "address", name: "signerAddress", type: "address" } ], name: "SignerAddressChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "walletAddress", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "string[]", name: "identificators", type: "string[]" }, { indexed: false, internalType: "string", name: "playerId", type: "string" } ], name: "UserMint", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "string", name: "", type: "string" } ], name: "_mintNonces", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "eip712Domain", outputs: [ { internalType: "bytes1", name: "fields", type: "bytes1" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "version", type: "string" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "address", name: "verifyingContract", type: "address" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256[]", name: "extensions", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "string", name: "name", type: "string" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "address", name: "signerAddress", type: "address" }, { internalType: "address", name: "nftContractAddress", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "nftContractAddress", type: "address" } ], name: "setNftContractAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "signerAddress", type: "address" } ], name: "setUserMintSigner", 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: [ { components: [ { internalType: "address", name: "walletAddress", type: "address" }, { internalType: "string", name: "playerId", type: "string" }, { internalType: "string[]", name: "identificators", type: "string[]" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], internalType: "struct WildForestClaimNft.MintData", name: "mintData", type: "tuple" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "userMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" } ]; var WILD_FOREST_CLAIM_NFT = { name: "Wild Forest Claim Nft", address: "0xcef3d02d72a51b7db39972d7cfe3cd0e76ce14c5", is_deprecated: false, created_at: 1717767634, abi: abi492 }; var wild_forest_claim_nft_default = WILD_FOREST_CLAIM_NFT; // src/contracts/wild_forest_claim_nft_proxy.ts var abi493 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WILD_FOREST_CLAIM_NFT_PROXY = { name: "Wild Forest Claim Nft Proxy", address: "0xc42ca096e60d997b6f6e2b937253f5b69a6fa6aa", is_deprecated: false, created_at: 1715159275, abi: abi493 }; var wild_forest_claim_nft_proxy_default = WILD_FOREST_CLAIM_NFT_PROXY; // src/contracts/wild_forest_claim_token_transfer.ts var abi494 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "Expired", type: "error" }, { inputs: [], name: "InvalidContractName", type: "error" }, { inputs: [], name: "InvalidSignature", type: "error" }, { inputs: [ { internalType: "string", name: "identificator", type: "string" } ], name: "NonceAlreadyUsed", type: "error" }, { anonymous: false, inputs: [], name: "EIP712DomainChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", 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: "address", name: "walletAddress", type: "address" }, { indexed: true, internalType: "address", name: "senderAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256" }, { indexed: false, internalType: "string", name: "identificator", type: "string" }, { indexed: false, internalType: "string", name: "playerId", type: "string" } ], name: "UserTransfer", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "string", name: "", type: "string" } ], name: "_transferNonces", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "eip712Domain", outputs: [ { internalType: "bytes1", name: "fields", type: "bytes1" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "version", type: "string" }, { internalType: "uint256", name: "chainId", type: "uint256" }, { internalType: "address", name: "verifyingContract", type: "address" }, { internalType: "bytes32", name: "salt", type: "bytes32" }, { internalType: "uint256[]", name: "extensions", 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "string", name: "name", type: "string" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "address", name: "signerAddress", type: "address" }, { internalType: "address", name: "tokenContractAddress", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "tokenContractAddress", type: "address" } ], name: "setTokenContractAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "signerAddress", type: "address" } ], name: "setUserTransferSigner", 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: [ { components: [ { internalType: "address", name: "walletAddress", type: "address" }, { internalType: "string", name: "playerId", type: "string" }, { internalType: "address", name: "senderAddress", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "string", name: "identificator", type: "string" }, { internalType: "uint256", name: "deadline", type: "uint256" } ], internalType: "struct WildForestClaimTokenTransfer.TransferData", name: "transferData", type: "tuple" }, { internalType: "bytes", name: "signature", type: "bytes" } ], name: "userTransfer", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var WILD_FOREST_CLAIM_TOKEN_TRANSFER = { name: "Wild Forest Claim Token Transfer", address: "0x9c0a53709b49e036a30f121242b7dc6e3a68ecb8", is_deprecated: false, created_at: 1715158504, abi: abi494 }; var wild_forest_claim_token_transfer_default = WILD_FOREST_CLAIM_TOKEN_TRANSFER; // src/contracts/wild_forest_claim_token_transfer_proxy.ts var abi495 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WILD_FOREST_CLAIM_TOKEN_TRANSFER_PROXY = { name: "Wild Forest Claim Token Transfer Proxy", address: "0x8b3156fb4504cbcf41c8e63aa9ef596383c6480e", is_deprecated: false, created_at: 1715158513, abi: abi495 }; var wild_forest_claim_token_transfer_proxy_default = WILD_FOREST_CLAIM_TOKEN_TRANSFER_PROXY; // src/contracts/wild_forest_defined_token_uri_nft.ts var abi496 = [ { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "address", name: "ownerAddress", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_fromTokenId", type: "uint256" }, { indexed: false, internalType: "uint256", name: "_toTokenId", type: "uint256" } ], name: "BatchMetadataUpdate", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "MetadataUpdate", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "string", name: "_tokenUri", type: "string" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var WILD_FOREST_DEFINED_TOKEN_URI_NFT = { name: "Wild Forest Defined Token Uri Nft", address: "0xdd645c1093be18c9667e1e79957a89b62cc3cba6", is_deprecated: false, created_at: 1703258656, abi: abi496 }; var wild_forest_defined_token_uri_nft_default = WILD_FOREST_DEFINED_TOKEN_URI_NFT; // src/contracts/wild_forest_lock_nft.ts var abi497 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "uint256", name: "lockExpiration", type: "uint256" } ], name: "LockActive", type: "error" }, { inputs: [], name: "NoLockedTokenForAddress", type: "error" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "lockPeriod", type: "uint256" } ], name: "LockPeriodChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "nftContractAddress", type: "address" } ], name: "NftContractChanged", 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: "address", name: "account", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "uint256", name: "lockPeriod", type: "uint256" } ], name: "StakeLock", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "UnstakeLock", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_lockPeriod", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" }, { internalType: "address", name: "", type: "address" } ], name: "_lockedTokens", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "_nftContractAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "string", name: "name", type: "string" }, { internalType: "address", name: "ownerAddress", type: "address" }, { internalType: "address", name: "nftContractAddress", type: "address" }, { internalType: "uint256", name: "lockPeriod", type: "uint256" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", 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: "nftContractAddress", type: "address" } ], name: "setNftContractAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "lockPeriod", type: "uint256" } ], name: "setNftLockPeriod", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "stake", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "unstake", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" } ]; var WILD_FOREST_LOCK_NFT = { name: "Wild Forest Lock Nft", address: "0x4da2716d98be2ceb4945cd93db0d1e26d09df033", is_deprecated: false, created_at: 1717758997, abi: abi497 }; var wild_forest_lock_nft_default = WILD_FOREST_LOCK_NFT; // src/contracts/wild_forest_lock_nft_proxy.ts var abi498 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WILD_FOREST_LOCK_NFT_PROXY = { name: "Wild Forest Lock Nft Proxy", address: "0xfb597d6fa6c08f5434e6ecf69114497343ae13dd", is_deprecated: false, created_at: 1717759006, abi: abi498 }; var wild_forest_lock_nft_proxy_default = WILD_FOREST_LOCK_NFT_PROXY; // src/contracts/wild_forest_medal.ts var abi499 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "account", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256[]", name: "ids", type: "uint256[]" }, { indexed: false, internalType: "uint256[]", name: "values", type: "uint256[]" } ], name: "TransferBatch", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "id", type: "uint256" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "TransferSingle", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "string", name: "value", type: "string" }, { indexed: true, internalType: "uint256", name: "id", type: "uint256" } ], name: "URI", type: "event" }, { inputs: [ { internalType: "uint256", name: "initialSupply", type: "uint256" } ], name: "addNewSeason", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "accounts", type: "address[]" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" } ], name: "balanceOfBatch", outputs: [ { internalType: "uint256[]", name: "", type: "uint256[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256", name: "_seasonId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "uint256[]", name: "_seasonIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "burnBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "uri_", type: "string" }, { internalType: "address", name: "_ownerAddress", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_seasonId", type: "uint256" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "mint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256[]", name: "_seasonIds", type: "uint256[]" }, { internalType: "uint256[]", name: "_amounts", type: "uint256[]" } ], name: "mintBatch", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "ids", type: "uint256[]" }, { internalType: "uint256[]", name: "amounts", type: "uint256[]" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeBatchTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "id", type: "uint256" }, { internalType: "uint256", name: "amount", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "seasonsCount", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "uri_", type: "string" } ], name: "setURI", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "tokenSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_id", type: "uint256" } ], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_seasonId", type: "uint256" } ], name: "uri", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" } ]; var WILD_FOREST_MEDAL = { name: "Wild Forest Medal", address: "0xbe596fee6e493554f4868c6eb8feb8be7c013060", is_deprecated: false, created_at: 1708013930, abi: abi499 }; var wild_forest_medal_default = WILD_FOREST_MEDAL; // src/contracts/wild_forest_medal_proxy.ts var abi500 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WILD_FOREST_MEDAL_PROXY = { name: "Wild Forest Medal Proxy", address: "0x0328b534d094b097020b4538230f998027a54db0", is_deprecated: false, created_at: 1708013939, abi: abi500 }; var wild_forest_medal_proxy_default = WILD_FOREST_MEDAL_PROXY; // src/contracts/wild_forest_nft.ts var abi501 = [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [], name: "MaximumTokenIdsExceeded", type: "error" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "walletAddress", type: "address" }, { indexed: false, internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { indexed: false, internalType: "string", name: "metadata", type: "string" } ], name: "BulkBurn", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "walletAddress", type: "address" }, { indexed: false, internalType: "uint256", name: "tokenId", type: "uint256" }, { indexed: false, internalType: "string", name: "metadata", type: "string" } ], name: "IndividualBurn", 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: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "bulkApprove", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" } ], name: "bulkBurn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256[]", name: "tokenIds", type: "uint256[]" }, { internalType: "string", name: "metadata", type: "string" } ], name: "bulkBurnWithInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "string", name: "metadata", type: "string" } ], name: "burnWithInfo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseTokenURI", type: "string" }, { internalType: "address", name: "ownerAddress", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var WILD_FOREST_NFT = { name: "Wild Forest Nft", address: "0x6655d4db0360c02213efb2cd0853094972b7a816", is_deprecated: false, created_at: 1717768342, abi: abi501 }; var wild_forest_nft_default = WILD_FOREST_NFT; // src/contracts/wild_forest_nft_proxy.ts var abi502 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WILD_FOREST_NFT_PROXY = { name: "Wild Forest Nft Proxy", address: "0xa1ce53b661be73bf9a5edd3f0087484f0e3e7363", is_deprecated: false, created_at: 1708012009, abi: abi502 }; var wild_forest_nft_proxy_default = WILD_FOREST_NFT_PROXY; // src/contracts/wild_forest_signal_fire_proxy.ts var abi503 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WILD_FOREST_SIGNAL_FIRE_PROXY = { name: "Wild Forest Signal Fire Proxy", address: "0x1136dac182ab639632a38540c6f33c01e02e51a6", is_deprecated: false, created_at: 1718807202, abi: abi503 }; var wild_forest_signal_fire_proxy_default = WILD_FOREST_SIGNAL_FIRE_PROXY; // src/contracts/wild_forest_token.ts var abi504 = [ { inputs: [ { internalType: "uint256", name: "initialSupply", type: "uint256" }, { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "address", name: "ownerAddress", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "spender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "subtractedValue", type: "uint256" } ], name: "decreaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "spender", type: "address" }, { internalType: "uint256", name: "addedValue", type: "uint256" } ], name: "increaseAllowance", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "amount", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "nonpayable", type: "function" } ]; var WILD_FOREST_TOKEN = { name: "Wild Forest Token", address: "0x363c3b97152e161cea85e0e5dc52dfdca01a2db1", is_deprecated: false, created_at: 1699365352, abi: abi504 }; var wild_forest_token_default = WILD_FOREST_TOKEN; // src/contracts/wildlings.ts var abi505 = [ { inputs: [ { internalType: "string", name: "name", type: "string" }, { internalType: "string", name: "symbol", type: "string" }, { internalType: "string", name: "baseURI", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "", type: "address" }, { indexed: false, internalType: "uint256", name: "", type: "uint256" } ], name: "Received", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_MINT_PER_WALLET", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_MINT_PER_WALLET_PRESALE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PRESALE_PRICE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PRICE", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_addresses", type: "address[]" } ], name: "airdrop", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "uint256", name: "quantity", type: "uint256" }, { internalType: "address", name: "to", type: "address" } ], name: "internalMint", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "mintsPerWallet", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: [], name: "preSaleRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "presaleActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint8", name: "quantity", type: "uint8" }, { internalType: "bytes32[]", name: "_merkleProof", type: "bytes32[]" } ], name: "presaleMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" } ], name: "presaleMintsPerWallet", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "publicActive", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint8", name: "quantity", type: "uint8" }, { internalType: "address", name: "to", type: "address" } ], name: "publicMint", outputs: [], stateMutability: "payable", type: "function" }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", 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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "isActive", type: "bool" } ], name: "setActive", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_maxMint", type: "uint256" } ], name: "setMaxMintPerWallet", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_maxMint", type: "uint256" } ], name: "setMaxMintPerWalletPresale", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bool", name: "isActive", type: "bool" } ], name: "setPresaleActive", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setPresalePrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_root", type: "bytes32" } ], name: "setPresaleRoot", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_price", type: "uint256" } ], name: "setPrice", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_supply", type: "uint256" } ], name: "setSupply", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_address", type: "address" } ], name: "setWithdrawAddress", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newOwner", type: "address" } ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "withdrawAddress", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "withdrawToContract", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WILDLINGS = { name: "Wildlings", address: "0x97f57358f18b174a02b79bae78e665969ff32968", is_deprecated: false, created_at: 1720535158, abi: abi505 }; var wildlings_default = WILDLINGS; // src/contracts/world_cup_nft.ts var abi506 = [ { inputs: [ { internalType: "string", name: "_name", type: "string" }, { internalType: "string", name: "_symbol", type: "string" }, { internalType: "string", name: "_uri", type: "string" } ], stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "approved", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address" }, { indexed: true, internalType: "address", name: "operator", type: "address" }, { indexed: false, internalType: "bool", name: "approved", type: "bool" } ], name: "ApprovalForAll", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint256", name: "_tokenId", type: "uint256" }, { indexed: true, internalType: "uint256", name: "_nonce", type: "uint256" } ], name: "NonceUpdated", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "account", type: "address" } ], name: "Unpaused", type: "event" }, { inputs: [], name: "BURNER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "BURN_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MAX_SUPPLY", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "MINTER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "PAUSER_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "approve", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address[]", name: "_recipients", type: "address[]" } ], name: "bulkMint", outputs: [ { internalType: "uint256[]", name: "_tokenIds", type: "uint256[]" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "_user", type: "address" }, { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getApproved", outputs: [ { internalType: "address", name: "", type: "address" } ], 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: "bytes32", name: "role", type: "bytes32" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "getRoleMember", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" } ], name: "getRoleMemberCount", outputs: [ { internalType: "uint256", name: "", 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: "owner", type: "address" }, { internalType: "address", name: "operator", type: "address" } ], name: "isApprovedForAll", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "mint", outputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "nonces", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", 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: "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: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "safeTransferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "operator", type: "address" }, { internalType: "bool", name: "approved", type: "bool" } ], name: "setApprovalForAll", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "string", name: "baseTokenURI", type: "string" } ], name: "setBaseURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "_tokenId", type: "uint256" } ], name: "stateOf", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "index", type: "uint256" } ], name: "tokenOfOwnerByIndex", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "address", name: "to", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "transferFrom", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "unpause", outputs: [], stateMutability: "nonpayable", type: "function" } ]; var WORLD_CUP_NFT = { name: "World Cup NFT", address: "0xac8f02f3dbc9f77528f10bc675f483ebbbeb576f", is_deprecated: false, created_at: 1714835370, abi: abi506 }; var world_cup_nft_default = WORLD_CUP_NFT; // src/contracts/wrapped_ether.ts var abi507 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterAdded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_minter", type: "address" } ], name: "MinterRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { constant: false, inputs: [ { internalType: "address[]", name: "_addedMinters", type: "address[]" } ], name: "addMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20Receiver", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "approveAndCall", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract IERC20PayableReceiver", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" }, { internalType: "bytes", name: "_data", type: "bytes" } ], name: "approveAndCallPayable", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_addr", type: "address" } ], name: "isMinter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "mint", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "minter", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "uint256", name: "", type: "uint256" } ], name: "minters", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address[]", name: "_removedMinters", type: "address[]" } ], name: "removeMinters", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" } ]; var WRAPPED_ETHER = { name: "Wrapped Ether", address: "0xc99a6a985ed2cac1ef41640596c5a5f9f4e19ef5", is_deprecated: false, created_at: 1611574105, abi: abi507 }; var wrapped_ether_default = WRAPPED_ETHER; // src/contracts/wrapped_ron.ts var abi508 = [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" }, { indexed: true, internalType: "address", name: "_newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_oldAdmin", type: "address" } ], name: "AdminRemoved", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_owner", type: "address" }, { indexed: true, internalType: "address", name: "_spender", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Approval", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Deposit", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderUnwhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_spender", type: "address" } ], name: "SpenderWhitelisted", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "_from", type: "address" }, { indexed: true, internalType: "address", name: "_to", type: "address" }, { indexed: false, internalType: "uint256", name: "_value", type: "uint256" } ], name: "Transfer", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "sender", type: "address" }, { indexed: false, internalType: "uint256", name: "value", type: "uint256" } ], name: "Withdrawal", type: "event" }, { constant: true, inputs: [], name: "admin", outputs: [ { internalType: "address", name: "", type: "address" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "_owner", type: "address" }, { internalType: "address", name: "_spender", type: "address" } ], name: "allowance", outputs: [ { internalType: "uint256", name: "_value", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "approve", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "deposit", outputs: [], payable: true, stateMutability: "payable", type: "function" }, { constant: true, inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [], name: "removeAdmin", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transfer", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_from", type: "address" }, { internalType: "address", name: "_to", type: "address" }, { internalType: "uint256", name: "_value", type: "uint256" } ], name: "transferFrom", outputs: [ { internalType: "bool", name: "_success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "unwhitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_spender", type: "address" } ], name: "whitelist", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" } ], name: "whitelisted", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "wad", type: "uint256" } ], name: "withdraw", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ]; var WRAPPED_RON = { name: "Wrapped RON", address: "0xe514d9deb7966c8be0ca922de8a064264ea6bcd4", is_deprecated: false, created_at: 1635154920, abi: abi508 }; var wrapped_ron_default = WRAPPED_RON; // src/contracts/wron_helper.ts var abi509 = [ { inputs: [ { internalType: "contract IWRON", name: "_WRON", type: "address" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "WRON", outputs: [ { internalType: "contract IWRON", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address payable", name: "_to", type: "address" }, { internalType: "uint256", name: "_amount", type: "uint256" } ], name: "withdrawTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var WRON_HELPER = { name: "WRON Helper", address: "0xcaf3e62b27a3df0766721d1959d22b066e1a57f1", is_deprecated: false, created_at: 1682501508, abi: abi509 }; var wron_helper_default = WRON_HELPER; // src/contracts/zkme_conf_upgradeable_proxy.ts var abi510 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ZKME_CONF_UPGRADEABLE_PROXY = { name: "ZKME Conf Upgradeable Proxy", address: "0x809f0ff56c0ff0c046869dee8a4c6a943a9c6a1f", is_deprecated: false, created_at: 1716794902, abi: abi510 }; var zkme_conf_upgradeable_proxy_default = ZKME_CONF_UPGRADEABLE_PROXY; // src/contracts/zkme_verify_upgradeable_proxy.ts var abi511 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ZKME_VERIFY_UPGRADEABLE_PROXY = { name: "ZKME Verify Upgradeable Proxy", address: "0x3919bdce285e82cdc6585979cfd71636b33a5582", is_deprecated: false, created_at: 1716794923, abi: abi511 }; var zkme_verify_upgradeable_proxy_default = ZKME_VERIFY_UPGRADEABLE_PROXY; // src/contracts/zkmesbt_upgradeable.ts var abi512 = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Attest", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Burn", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint8", name: "version", type: "uint8" } ], name: "Initialized", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Revoke", 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: "address", name: "from", type: "address" }, { indexed: true, internalType: "address", name: "to", type: "address" }, { indexed: true, internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "Transfer", type: "event" }, { inputs: [], name: "DEFAULT_ADMIN_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "OPERATOR_ROLE", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "_ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "to", type: "address" } ], name: "attest", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "balanceOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "burn", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "deleteExpire", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "getKycData", outputs: [ { components: [ { internalType: "string", name: "key", type: "string" }, { internalType: "uint256", name: "validity", type: "uint256" }, { internalType: "string", name: "data", type: "string" }, { internalType: "string[]", name: "questions", type: "string[]" } ], internalType: "struct KYCDataLib.UserData", name: "", type: "tuple" } ], 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: "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: "string", name: "name_", type: "string" }, { internalType: "string", name: "symbol_", type: "string" }, { internalType: "address", name: "admin_", type: "address" } ], name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "isAdmin", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "isMinted", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "account", type: "address" } ], name: "isOperator", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "ownerOf", outputs: [ { internalType: "address", name: "", type: "address" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "role", type: "bytes32" }, { internalType: "address", name: "account", type: "address" } ], name: "renounceRole", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" }, { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "revoke", 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: "string", name: "uri", type: "string" } ], name: "setBaseTokenURI", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" }, { internalType: "string", name: "key", type: "string" }, { internalType: "uint256", name: "validity", type: "uint256" }, { internalType: "string", name: "data", type: "string" }, { internalType: "string[]", name: "questions", type: "string[]" } ], name: "setKycData", 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: "symbol", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "from", type: "address" } ], name: "tokenIdOf", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "uint256", name: "tokenId", type: "uint256" } ], name: "tokenURI", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], stateMutability: "view", type: "function" } ]; var ZKMESBT_UPGRADEABLE = { name: "ZKMESBT Upgradeable", address: "0xc550886f304f5c396b921873d9e2d6c4a2a2d909", is_deprecated: false, created_at: 1716794860, abi: abi512 }; var zkmesbt_upgradeable_default = ZKMESBT_UPGRADEABLE; // src/contracts/zkmesbt_upgradeable_proxy.ts var abi513 = [ { inputs: [ { internalType: "address", name: "_logic", type: "address" }, { internalType: "address", name: "admin_", type: "address" }, { internalType: "bytes", name: "_data", type: "bytes" } ], stateMutability: "payable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "previousAdmin", type: "address" }, { indexed: false, internalType: "address", name: "newAdmin", type: "address" } ], name: "AdminChanged", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "beacon", type: "address" } ], name: "BeaconUpgraded", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "implementation", type: "address" } ], name: "Upgraded", type: "event" }, { stateMutability: "payable", type: "fallback" }, { inputs: [], name: "admin", outputs: [ { internalType: "address", name: "admin_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address" } ], name: "changeAdmin", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [], name: "implementation", outputs: [ { internalType: "address", name: "implementation_", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" } ], name: "upgradeTo", outputs: [], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "address", name: "newImplementation", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], name: "upgradeToAndCall", outputs: [], stateMutability: "payable", type: "function" }, { stateMutability: "payable", type: "receive" } ]; var ZKMESBT_UPGRADEABLE_PROXY = { name: "ZKMESBT Upgradeable Proxy", address: "0x5c2bfcf9c17cd53d55033769727196736cd188b3", is_deprecated: false, created_at: 1716794872, abi: abi513 }; var zkmesbt_upgradeable_proxy_default = ZKMESBT_UPGRADEABLE_PROXY; // src/contracts/zoids_nft_proxy.ts var abi514 = [ { inputs: [ { internalType: "address", name: "logic", type: "address" }, { internalType: "bytes", name: "data", type: "bytes" } ], stateMutability: "nonpayable", type: "constructor" }, { stateMutability: "payable", type: "fallback" }, { stateMutability: "payable", type: "receive" } ]; var ZOIDS_NFT_PROXY = { name: "Zoids NFT Proxy", address: "0x1ff0ec95560c3bf3bf01d5071ac9140819be429a", is_deprecated: false, created_at: 1699337968, abi: abi514 }; var zoids_nft_proxy_default = ZOIDS_NFT_PROXY; exports.AAP_REWARD_PROXY = aap_reward_proxy_default; exports.ACHIEVEMENT_MINTER_PROXY = achievement_minter_proxy_default; exports.ACKNOWLEDGEMENT = acknowledgement_default; exports.ACTION_EVENT_PROXY = action_event_proxy_default; exports.AFFILIATE_ROUTER = affiliate_router_default; exports.AGG_TOKEN = agg_token_default; exports.ALLOWLIST_STAGE_LOGIC = allowlist_stage_logic_default; exports.ALPHA_KDR = alpha_kdr_default; exports.ANIMA = anima_default; exports.APEIRON_APOSTLE = apeiron_apostle_default; exports.APEIRON_APOSTLE_EXTENSION_PROXY = apeiron_apostle_extension_proxy_default; exports.APEIRON_APOSTLE_PROXY = apeiron_apostle_proxy_default; exports.APEIRON_APOSTLE_SEASON_MINTING_CALLER_PROXY = apeiron_apostle_season_minting_caller_proxy_default; exports.APEIRON_APOSTLE_SEASON_MINTING_PROXY = apeiron_apostle_season_minting_proxy_default; exports.APEIRON_APOSTLE_TICKET_MINTING = apeiron_apostle_ticket_minting_default; exports.APEIRON_APOSTLE_TICKET_MINTING_PROXY = apeiron_apostle_ticket_minting_proxy_default; exports.APEIRON_BRIDGE_MINTER = apeiron_bridge_minter_default; exports.APEIRON_BRIDGE_MINTER_PROXY = apeiron_bridge_minter_proxy_default; exports.APEIRON_GODIVERSE_COLLECTION = apeiron_godiverse_collection_default; exports.APEIRON_MARKETPLACE_GATEWAY_PROXY = apeiron_marketplace_gateway_proxy_default; exports.APEIRON_PLANET = apeiron_planet_default; exports.APEIRON_PLANET_PROXY = apeiron_planet_proxy_default; exports.APEIRON_STAR_DATA_PROXY = apeiron_star_data_proxy_default; exports.APEIRON_STAR_ORBITAL_TRACK_DATA_PROXY = apeiron_star_orbital_track_data_proxy_default; exports.APEIRON_STAR_PROXY = apeiron_star_proxy_default; exports.APEIRON_TOKEN_CONVERTER_PROXY = apeiron_token_converter_proxy_default; exports.APEIRON_VESTING = apeiron_vesting_default; exports.APEIRON_VESTING_PROXY = apeiron_vesting_proxy_default; exports.APEIRON_VIP_TOKEN_STAKING_PROXY = apeiron_vip_token_staking_proxy_default; exports.APOSTLE_BOUNTY = apostle_bounty_default; exports.APOSTLE_BOUNTY_PROXY = apostle_bounty_proxy_default; exports.APPRAISAL_ORACLE = appraisal_oracle_default; exports.APP_AXIE_ORDER_EXCHANGE = app_axie_order_exchange_default; exports.APRS = aprs_default; exports.ARMORY_1155 = armory_1155_default; exports.ARMORY_1155_PROXY = armory_1155_proxy_default; exports.ARM_PROXY = arm_proxy_default; exports.ATIAS_BLESSING = atias_blessing_default; exports.ATIA_SHRINE = atia_shrine_default; exports.AXIE = axie_default; exports.AXIE_ACCESSORY_COLLECTION = axie_accessory_collection_default; exports.AXIE_ASCEND_LOGIC = axie_ascend_logic_default; exports.AXIE_ASCEND_PROXY = axie_ascend_proxy_default; exports.AXIE_BADGE_PROXY = axie_badge_proxy_default; exports.AXIE_BREEDING_PROXY = axie_breeding_proxy_default; exports.AXIE_CHAT_PREMIUM_2023 = axie_chat_premium_2023_default; exports.AXIE_CONSUMABLE_CONSUMER_LOGIC = axie_consumable_consumer_logic_default; exports.AXIE_CONSUMABLE_CONSUMER_PROXY = axie_consumable_consumer_proxy_default; exports.AXIE_CONSUMABLE_ERC1155_PROXY = axie_consumable_erc1155_proxy_default; exports.AXIE_DELEGATION_PROXY = axie_delegation_proxy_default; exports.AXIE_EGG_COIN = axie_egg_coin_default; exports.AXIE_ERC1155_LOGIC = axie_erc1155_logic_default; exports.AXIE_GENE_BREWER = axie_gene_brewer_default; exports.AXIE_INFINITY_SHARD = axie_infinity_shard_default; exports.AXIE_INITIALIZER = axie_initializer_default; exports.AXIE_LOGIC = axie_logic_default; exports.AXIE_MEMENTO = axie_memento_default; exports.AXIE_MEMENTO_V2 = axie_memento_v2_default; exports.AXIE_PRE_EXECUTION_LOGIC = axie_pre_execution_logic_default; exports.AXIE_PROXY = axie_proxy_default; exports.AXIE_RELEASE = axie_release_default; exports.AXIE_REP16_MIGRATOR = axie_rep16_migrator_default; exports.AXIE_VAULT_PROXY = axie_vault_proxy_default; exports.AXIE_VOTING_PROXY = axie_voting_proxy_default; exports.AXSWETH_LP = axsweth_lp_default; exports.AXSWETH_LP_STAKING_POOL = axsweth_lp_staking_pool_default; exports.AXS_STAKING_POOL = axs_staking_pool_default; exports.BANANA_PROXY = banana_proxy_default; exports.BATCH_TRANSFER = batch_transfer_default; exports.BEACON_PROXY = beacon_proxy_default; exports.BERRY = berry_default; exports.BLACKLIST_PROXY = blacklist_proxy_default; exports.BORN_PLANET = born_planet_default; exports.BORN_PLANET_PROXY = born_planet_proxy_default; exports.BOX_PROXY = box_proxy_default; exports.BREEDING_EVENT_2022 = breeding_event_2022_default; exports.BREED_PLANET = breed_planet_default; exports.BREED_PLANET_DATA_PROXY = breed_planet_data_proxy_default; exports.BREED_PLANET_PROXY = breed_planet_proxy_default; exports.BRIDGE_REWARD_PROXY = bridge_reward_proxy_default; exports.BRIDGE_SLASH_PROXY = bridge_slash_proxy_default; exports.BRIDGE_TRACKING = bridge_tracking_default; exports.BRIDGE_TRACKING_PROXY = bridge_tracking_proxy_default; exports.BURNING_MINTER = burning_minter_default; exports.CAMBRIA_FOUNDERS_BRIDGED = cambria_founders_bridged_default; exports.CARV_ACHIEVEMENTS_PROXY = carv_achievements_proxy_default; exports.CARV_EVENTS_ERC721_PROXY = carv_events_erc721_proxy_default; exports.CARV_EVENTS_PROXY = carv_events_proxy_default; exports.CBT_GIFTAWAY_PROXY = cbt_giftaway_proxy_default; exports.CHARM = charm_default; exports.CHECKIN = checkin_default; exports.CHECKIN_PROXY = checkin_proxy_default; exports.CHECK_IN = check_in_default; exports.CHECK_IN_IMMUTABLE = check_in_immutable_default; exports.CHECK_IN_PROXY = check_in_proxy_default; exports.CHECK_IN_UPGRADEABLE_PROXY = check_in_upgradeable_proxy_default; exports.CHRISTMAS_AXIE_RELEASE_2022 = christmas_axie_release_2022_default; exports.CLASSIC_CLAIM = classic_claim_default; exports.CLASSIC_NFT = classic_nft_default; exports.CLASSIC_PORTAL = classic_portal_default; exports.CLIQUE_ATTESTATIONS_REGISTRY = clique_attestations_registry_default; exports.CLOCK_AUCTION = clock_auction_default; exports.CLOCK_AUCTION_PROXY = clock_auction_proxy_default; exports.COIN_BALANCE = coin_balance_default; exports.COIN_FLIPPER_PROXY = coin_flipper_proxy_default; exports.COLLATERAL_STAKING_MANAGER = collateral_staking_manager_default; exports.COLLATERAL_STAKING_MANAGER_PROXY = collateral_staking_manager_proxy_default; exports.COLLATERAL_STAKING_MEDIATOR = collateral_staking_mediator_default; exports.COMMUNITY_INCENTIVES = community_incentives_default; exports.COMPATIBILITY_FALLBACK_HANDLER = compatibility_fallback_handler_default; exports.COMPTROLLER = comptroller_default; exports.COMP_COMPTROLLER = comp_comptroller_default; exports.COMP_UNITROLLER = comp_unitroller_default; exports.CONSUMER_TEST = consumer_test_default; exports.CONTRACT_OPENABLE_PACK_721_PROXY = contract_openable_pack_721_proxy_default; exports.CONTRACT_OPENABLE_PACK_PROXY = contract_openable_pack_proxy_default; exports.CORE_ATTESTOR = core_attestor_default; exports.CREATE_CALL = create_call_default; exports.C_ERC20 = c_erc20_default; exports.C_ERC20_PROXY = c_erc20_proxy_default; exports.C_ERC20_STAKING_PROXY = c_erc20_staking_proxy_default; exports.C_ERC721_MAINCHAIN_PROXY = c_erc721_mainchain_proxy_default; exports.C_ERC721_STAKING_PROXY = c_erc721_staking_proxy_default; exports.C_ETHER = c_ether_default; exports.C_ETHER_PROXY = c_ether_proxy_default; exports.C_ETHER_STAKING_PROXY = c_ether_staking_proxy_default; exports.DAILY_CHECKIN_PROXY = daily_checkin_proxy_default; exports.DAILY_CHECK_IN_FACTORY = daily_check_in_factory_default; exports.DAILY_DONUT = daily_donut_default; exports.DEFAULT_CALLBACK_HANDLER = default_callback_handler_default; exports.DELEGATE_REGISTRY = delegate_registry_default; exports.DICE = dice_default; exports.DISPERSE = disperse_default; exports.DYNAMIC_SUPPLY_LIMIT_ERC1155 = dynamic_supply_limit_erc1155_default; exports.EARN_ALLIANCE_BADGE_V9_PROXY = earn_alliance_badge_v9_proxy_default; exports.ECOSYSTEM_FUND = ecosystem_fund_default; exports.EMAKI_CONSUMABLE_PROXY = emaki_consumable_proxy_default; exports.EMAKI_EQUIPPABLE_PROXY = emaki_equippable_proxy_default; exports.EMAKI_REDEEMER_PROXY = emaki_redeemer_proxy_default; exports.EQUIPMENT = equipment_default; exports.EQUIPMENT_PROXY = equipment_proxy_default; exports.EQUIPMENT_REGISTRY_PROXY = equipment_registry_proxy_default; exports.ERC1155_COMMON = erc1155_common_default; exports.ERC1155_COMMON_FACTORY = erc1155_common_factory_default; exports.ERC1155_EXCHANGE = erc1155_exchange_default; exports.ERC1155_RECEIPT = erc1155_receipt_default; exports.ERC1967_PROXY_FACTORY = erc1967_proxy_factory_default; exports.ERC20_FEE_PROXY = erc20_fee_proxy_default; exports.ERC20_RECEIPT = erc20_receipt_default; exports.ERC20_STAKING_POOL_PROXY = erc20_staking_pool_proxy_default; exports.ERC20_STAKING_PROXY = erc20_staking_proxy_default; exports.ERC20_STAKING_PROXY_FACTORY_PROXY = erc20_staking_proxy_factory_proxy_default; exports.ERC721_BATCH_TRANSFER = erc721_batch_transfer_default; exports.ERC721_COMMON = erc721_common_default; exports.ERC721_COMMON_FACTORY = erc721_common_factory_default; exports.ERC721_ENUM_WRAPPER_PROXY = erc721_enum_wrapper_proxy_default; exports.ERC721_RECEIPT = erc721_receipt_default; exports.EVOLUTION = evolution_default; exports.EXCHANGE = exchange_default; exports.EXCHANGE_DEPOSIT = exchange_deposit_default; exports.EXCHANGE_PROXY = exchange_proxy_default; exports.EXPEDITION_PRIZES_PROXY = expedition_prizes_proxy_default; exports.EXPEDITION_STAKING_AND_KEYS = expedition_staking_and_keys_default; exports.EXPEDITION_STAKING_AND_KEYS_PROXY = expedition_staking_and_keys_proxy_default; exports.FAST_FINALITY_TRACKING = fast_finality_tracking_default; exports.FAST_FINALITY_TRACKING_PROXY = fast_finality_tracking_proxy_default; exports.FIGHT_LEAGUE_CHARACTERS_PROXY = fight_league_characters_proxy_default; exports.FIGHT_LEAGUE_CHIPS_PROXY = fight_league_chips_proxy_default; exports.GACHA_MACHINE = gacha_machine_default; exports.GACHA_MACHINE_LOGIC = gacha_machine_logic_default; exports.GACHA_MACHINE_PROXY = gacha_machine_proxy_default; exports.GASPACHO_TOKEN_FETCHER = gaspacho_token_fetcher_default; exports.GENERAL_NFT = general_nft_default; exports.GENESIS_HEROES_721 = genesis_heroes_721_default; exports.GENESIS_HEROES_721_PROXY = genesis_heroes_721_proxy_default; exports.GENESIS_HEROES_721_VAULT_PROXY = genesis_heroes_721_vault_proxy_default; exports.GENESIS_NFT = genesis_nft_default; exports.GENESIS_TAMER_PROXY = genesis_tamer_proxy_default; exports.GENKAI_PROXY = genkai_proxy_default; exports.GIFTS = gifts_default; exports.GM_SEND = gm_send_default; exports.GM_SEND_PROXY = gm_send_proxy_default; exports.GNOSIS_SAFE = gnosis_safe_default; exports.GNOSIS_SAFE_L2 = gnosis_safe_l2_default; exports.GNOSIS_SAFE_PROXY = gnosis_safe_proxy_default; exports.GNOSIS_SAFE_PROXY_FACTORY = gnosis_safe_proxy_factory_default; exports.GOLDEN_COIN_SHOP = golden_coin_shop_default; exports.GOVERNANCE_ADMIN = governance_admin_default; exports.GUARDIAN_PENDING_ARRAY = guardian_pending_array_default; exports.GUILD_MEMBERSHIPS = guild_memberships_default; exports.HERO_PROXY = hero_proxy_default; exports.IAP = iap_default; exports.ITEM_RAFFLE = item_raffle_default; exports.ITEM_RAFFLE_PROXY = item_raffle_proxy_default; exports.JOURNAL = journal_default; exports.JUMP_RATE_MODEL_V2 = jump_rate_model_v2_default; exports.JUNGLE_ADVENTURE_V2 = jungle_adventure_v2_default; exports.JUNGLE_ADVENTURE_V2_PROXY = jungle_adventure_v2_proxy_default; exports.JUNGLE_LOGIC = jungle_logic_default; exports.JUNGLE_LOTTERY = jungle_lottery_default; exports.JUNGLE_LOTTERY_PROXY = jungle_lottery_proxy_default; exports.JUNGLE_SHOP_PROXY = jungle_shop_proxy_default; exports.KALODIUM = kalodium_default; exports.KALODIUM_GACHA = kalodium_gacha_default; exports.KALODIUM_GACHA_PROXY = kalodium_gacha_proxy_default; exports.KATANA_FACTORY = katana_factory_default; exports.KATANA_GOVERNANCE_PROXY = katana_governance_proxy_default; exports.KATANA_PAIR = katana_pair_default; exports.KATANA_PAIR_PROXY = katana_pair_proxy_default; exports.KATANA_ROUTER = katana_router_default; exports.KATANA_TWAP_ORACLE = katana_twap_oracle_default; exports.KONGZ_EXTRA_DATA_PROXY = kongz_extra_data_proxy_default; exports.KONGZ_MART_RAFFLE = kongz_mart_raffle_default; exports.KONGZ_MART_RAFFLE_PROXY = kongz_mart_raffle_proxy_default; exports.KONGZ_MART_WL = kongz_mart_wl_default; exports.KONGZ_MART_WL_PROXY = kongz_mart_wl_proxy_default; exports.KONG_CONSUMABLE = kong_consumable_default; exports.KONG_CONSUMABLE_PROXY = kong_consumable_proxy_default; exports.KONG_REDEEMER_PROXY = kong_redeemer_proxy_default; exports.LAND = land_default; exports.LAND_DELEGATION = land_delegation_default; exports.LAND_DELEGATION_LOGIC = land_delegation_logic_default; exports.LAND_DELEGATION_PROXY = land_delegation_proxy_default; exports.LAND_ITEM = land_item_default; exports.LAND_LOGIC = land_logic_default; exports.LAND_REP16_MIGRATOR = land_rep16_migrator_default; exports.LAND_STAKING_MANAGER = land_staking_manager_default; exports.LAND_STAKING_MANAGER_LOGIC = land_staking_manager_logic_default; exports.LAND_STAKING_POOL = land_staking_pool_default; exports.LAND_V2 = land_v2_default; exports.LAND_V3 = land_v3_default; exports.LEVEL_MERGE = level_merge_default; exports.LEVEL_MERGE_PROXY = level_merge_proxy_default; exports.LEVEL_UPGRADE = level_upgrade_default; exports.LEVEL_UPGRADE_PROXY = level_upgrade_proxy_default; exports.LIMIT_ORDER_EXECUTOR = limit_order_executor_default; exports.LIMIT_ORDER_EXECUTOR_PROXY = limit_order_executor_proxy_default; exports.LIQUIDITY_ASSESSOR = liquidity_assessor_default; exports.LUA = lua_default; exports.LUAUSD = luausd_default; exports.LUMITERRA_GAME_ITEM = lumiterra_game_item_default; exports.LUMITERRA_WITHDRAW = lumiterra_withdraw_default; exports.LUNACIAN_EXPRESS = lunacian_express_default; exports.LUNA_N_SOLAR_BURNER_PROXY = luna_n_solar_burner_proxy_default; exports.MAINTENANCE = maintenance_default; exports.MANA_VENDING_MACHINE = mana_vending_machine_default; exports.MARKETPLACE_GATEWAY_V2 = marketplace_gateway_v2_default; exports.MARKETPLACE_REFERRAL = marketplace_referral_default; exports.MARKETPLACE_REFERRAL_LOGIC = marketplace_referral_logic_default; exports.MARKET_COMMISSION_PROXY = market_commission_proxy_default; exports.MARKET_GATEWAY = market_gateway_default; exports.MARKET_GATEWAY_MULTI_SEND = market_gateway_multi_send_default; exports.MARKET_GATEWAY_MULTI_SEND_PROXY = market_gateway_multi_send_proxy_default; exports.MARKET_GATEWAY_PROXY = market_gateway_proxy_default; exports.MATERIAL_ERC1155 = material_erc1155_default; exports.MATERIAL_ERC1155_PROXY = material_erc1155_proxy_default; exports.MAVIS_LAUNCHPAD = mavis_launchpad_default; exports.MAVIS_LAUNCHPAD_PROXY = mavis_launchpad_proxy_default; exports.MAVIS_ORDER_EXCHANGE = mavis_order_exchange_default; exports.MAVIS_PAY = mavis_pay_default; exports.MAVIS_PAY_PROXY = mavis_pay_proxy_default; exports.MAVIS_PRESALE_PROXY = mavis_presale_proxy_default; exports.MAVIS_STORE_EXTENDED_PROXY = mavis_store_extended_proxy_default; exports.MAVIS_STORE_PROXY = mavis_store_proxy_default; exports.MAXIMILLION = maximillion_default; exports.MEO_II_AXIE_REDEMPTION = meo_ii_axie_redemption_default; exports.MERCH_STORE_PROXY = merch_store_proxy_default; exports.METALEND_PREMIUM_USER = metalend_premium_user_default; exports.META_LEND_LIMIT_ORDERS_ADMIN = meta_lend_limit_orders_admin_default; exports.MINTABLE_ERC1155 = mintable_erc1155_default; exports.MINTER = minter_default; exports.MIRPASS_PROXY = mirpass_proxy_default; exports.MOKI_MINTER = moki_minter_default; exports.MOKI_NFT = moki_nft_default; exports.MOKI_RAFFLE = moki_raffle_default; exports.MOKU_PROXY_ADMIN = moku_proxy_admin_default; exports.MONSTER_DISTRIBUTOR = monster_distributor_default; exports.MONSTER_DISTRIBUTOR_PROXY = monster_distributor_proxy_default; exports.MONTHLY_TOKEN_DISTRIBUTOR = monthly_token_distributor_default; exports.MULTICALL = multicall_default; exports.MULTICALL_2 = multicall_2_default; exports.MULTICALL_3 = multicall_3_default; exports.MULTI_READ = multi_read_default; exports.MULTI_SEND = multi_send_default; exports.MULTI_SEND_CALL_ONLY = multi_send_call_only_default; exports.MULTI_SOULBOUND_REWARDER = multi_soulbound_rewarder_default; exports.MYSTERY_BOX_CLAIMER_PROXY = mystery_box_claimer_proxy_default; exports.MYSTIC_GENE_VALIDATOR = mystic_gene_validator_default; exports.M_GOLD_20_PROXY = m_gold_20_proxy_default; exports.M_GOLD_20_WALLET_PROXY = m_gold_20_wallet_proxy_default; exports.NAME_CHECKER = name_checker_default; exports.NAME_CHECKER_PROXY = name_checker_proxy_default; exports.NEBULA_EXPEDITION = nebula_expedition_default; exports.NEBULA_EXPEDITION_PROXY = nebula_expedition_proxy_default; exports.NFT721 = nft721_default; exports.NFT721_PROXY = nft721_proxy_default; exports.NFT_AIRDROP = nft_airdrop_default; exports.NFT_AIRDROP_V3 = nft_airdrop_v3_default; exports.NFT_SHOP = nft_shop_default; exports.NYANG_KIT = nyang_kit_default; exports.NYANG_KIT_PROXY = nyang_kit_proxy_default; exports.OLD_AXIE_PROXY_1 = old_axie_proxy_1_default; exports.OLD_AXIE_PROXY_2 = old_axie_proxy_2_default; exports.ORDER_EXCHANGE_LOGIC = order_exchange_logic_default; exports.OWNED_MULTICALLER = owned_multicaller_default; exports.PART_EVOLUTION_LOGIC = part_evolution_logic_default; exports.PART_EVOLUTION_PROXY = part_evolution_proxy_default; exports.PAUSE_ENFORCER = pause_enforcer_default; exports.PAYMENT_CODE = payment_code_default; exports.PERMISSIONED_ROUTER = permissioned_router_default; exports.PET = pet_default; exports.PHILIPPINE_PESO_COIN = philippine_peso_coin_default; exports.PHZM1155 = phzm1155_default; exports.PHZM1155_PROXY = phzm1155_proxy_default; exports.PIXEL = pixel_default; exports.PIXELS_FARMLAND = pixels_farmland_default; exports.PIXELS_GAME_TRACKER = pixels_game_tracker_default; exports.PIXEL_WRAPPED_RONIN = pixel_wrapped_ronin_default; exports.PLANET_ATTRIBUTE_MANAGER = planet_attribute_manager_default; exports.PLANET_ATTRIBUTE_MANAGER_PROXY = planet_attribute_manager_proxy_default; exports.POINTS_PROXY = points_proxy_default; exports.POOL_FACTORY_PROXY = pool_factory_proxy_default; exports.POOL_PROXY = pool_proxy_default; exports.PORTAL = portal_default; exports.PRESAIL_DROPLET = presail_droplet_default; exports.PRESALE_FACTORY_PROXY = presale_factory_proxy_default; exports.PROFILE = profile_default; exports.PROFILE_MAINNET = profile_mainnet_default; exports.PROFILE_MAINNET_PROXY = profile_mainnet_proxy_default; exports.PROFILE_PROXY = profile_proxy_default; exports.PROXY_ADMIN = proxy_admin_default; exports.PROXY_FACTORY = proxy_factory_default; exports.PUBLIC_RESOLVER_PROXY = public_resolver_proxy_default; exports.PUBLIC_STAGE_LOGIC = public_stage_logic_default; exports.PUFF_GO_MARKET_PROXY = puff_go_market_proxy_default; exports.PUFF_NEW_YEAR_CLAIM = puff_new_year_claim_default; exports.PUFF_NEW_YEAR_NFT = puff_new_year_nft_default; exports.PUFF_ON_CHAIN = puff_on_chain_default; exports.PUFF_RECORD = puff_record_default; exports.PYTH_ORACLE = pyth_oracle_default; exports.PYTH_UPGRADABLE_PROXY = pyth_upgradable_proxy_default; exports.RAFFLE = raffle_default; exports.RAFFLE_PROXY = raffle_proxy_default; exports.RAGMON_PROXY = ragmon_proxy_default; exports.REGISTRY = registry_default; exports.RELEASE_AXIE_FOR_MATERIAL_LOGIC = release_axie_for_material_logic_default; exports.RELEASE_AXIE_FOR_MATERIAL_PROXY = release_axie_for_material_proxy_default; exports.RELIC_APOSTLE_MANAGEMENT = relic_apostle_management_default; exports.RELIC_APOSTLE_MANAGEMENT_PROXY = relic_apostle_management_proxy_default; exports.REP16_MIGRATOR = rep16_migrator_default; exports.RESERVED_APOSTLE_FORGE_PROXY = reserved_apostle_forge_proxy_default; exports.RESTRICTION_CONTROL = restriction_control_default; exports.REWARDS = rewards_default; exports.REWARD_DISPENSER_PROXY = reward_dispenser_proxy_default; exports.REWARD_DISTRIBUTOR = reward_distributor_default; exports.REWARD_DISTRIBUTOR_PROXY = reward_distributor_proxy_default; exports.REWARD_DISTRIBUTOR_PROXY_FOR_AXIE_QUEST = reward_distributor_proxy_for_axie_quest_default; exports.REWARD_DISTRIBUTOR_PROXY_FOR_CLASSIC = reward_distributor_proxy_for_classic_default; exports.REWARD_DISTRIBUTOR_PROXY_FOR_DUET_MONSTER = reward_distributor_proxy_for_duet_monster_default; exports.REWARD_DISTRIBUTOR_PROXY_FOR_LAND = reward_distributor_proxy_for_land_default; exports.REWARD_DISTRIBUTOR_PROXY_FOR_ORIGINS = reward_distributor_proxy_for_origins_default; exports.REWARD_DISTRIBUTOR_PROXY_FOR_WALLET_QUEST = reward_distributor_proxy_for_wallet_quest_default; exports.REWARD_MULTIPLIER = reward_multiplier_default; exports.REWARD_SPLITTER = reward_splitter_default; exports.RNS_AUCTION = rns_auction_default; exports.RNS_AUCTION_PROXY = rns_auction_proxy_default; exports.RNS_COMMISSION_PROXY = rns_commission_proxy_default; exports.RNS_DOMAIN_PRICE = rns_domain_price_default; exports.RNS_DOMAIN_PRICE_PROXY = rns_domain_price_proxy_default; exports.RNS_OPERATION = rns_operation_default; exports.RNS_REVERSE_REGISTRAR_PROXY = rns_reverse_registrar_proxy_default; exports.RNS_UNIFIED_PROXY = rns_unified_proxy_default; exports.RONAXS_LP = ronaxs_lp_default; exports.RONAXS_LP_STAKING_POOL = ronaxs_lp_staking_pool_default; exports.RONIN_BANANA_PROXY = ronin_banana_proxy_default; exports.RONIN_BANANA_SLICES = ronin_banana_slices_default; exports.RONIN_BANANA_SLICES_PROXY = ronin_banana_slices_proxy_default; exports.RONIN_BRIDGE_MANAGER = ronin_bridge_manager_default; exports.RONIN_BRIDGE_MANAGER_CONSTRUCTOR = ronin_bridge_manager_constructor_default; exports.RONIN_BRIDGE_MANAGER_PROXY = ronin_bridge_manager_proxy_default; exports.RONIN_BRIDGE_TRACKING = ronin_bridge_tracking_default; exports.RONIN_CONFIG = ronin_config_default; exports.RONIN_CONFIG_PROXY = ronin_config_proxy_default; exports.RONIN_GAME_INBOX = ronin_game_inbox_default; exports.RONIN_GAME_INBOX_PROXY = ronin_game_inbox_proxy_default; exports.RONIN_GAME_NFT = ronin_game_nft_default; exports.RONIN_GAME_NFT_PROXY = ronin_game_nft_proxy_default; exports.RONIN_GATEWAY_PAUSE_ENFORCER = ronin_gateway_pause_enforcer_default; exports.RONIN_GATEWAY_V2 = ronin_gateway_v2_default; exports.RONIN_GATEWAY_V3 = ronin_gateway_v3_default; exports.RONIN_GATEWAY_V3_PROXY = ronin_gateway_v3_proxy_default; exports.RONIN_GOVERNANCE_ADMIN = ronin_governance_admin_default; exports.RONIN_MAINTENANCE = ronin_maintenance_default; exports.RONIN_RANDOM_BEACON_PROXY = ronin_random_beacon_proxy_default; exports.RONIN_SLASH_INDICATOR = ronin_slash_indicator_default; exports.RONIN_STAKING = ronin_staking_default; exports.RONIN_STAKING_VESTING = ronin_staking_vesting_default; exports.RONIN_TREASURY = ronin_treasury_default; exports.RONIN_TRUSTED_ORGANIZATION = ronin_trusted_organization_default; exports.RONIN_VALIDATOR_SET = ronin_validator_set_default; exports.RONIN_VALIDATOR_SET_PROXY = ronin_validator_set_proxy_default; exports.RONIN_VALIDATOR_SET_REP10_MIGRATOR = ronin_validator_set_rep10_migrator_default; exports.RONIN_VALIDATOR_V2 = ronin_validator_v2_default; exports.RONIN_VRF_COORDINATOR = ronin_vrf_coordinator_default; exports.RONIN_VRF_COORDINATOR_LEGACY = ronin_vrf_coordinator_legacy_default; exports.RONIN_VRF_COORDINATOR_PROXY = ronin_vrf_coordinator_proxy_default; exports.RONIN_WETH_GATEWAY = ronin_weth_gateway_default; exports.RONIN_YGG_TOKEN_PROXY = ronin_ygg_token_proxy_default; exports.RONSLP_LP = ronslp_lp_default; exports.RONSLP_LP_STAKING_POOL = ronslp_lp_staking_pool_default; exports.RONUSDC_LP_STAKING_POOL = ronusdc_lp_staking_pool_default; exports.RONWETH_LP = ronweth_lp_default; exports.RONWETH_LP_STAKING_POOL = ronweth_lp_staking_pool_default; exports.RON_REGISTRAR_CONTROLLER = ron_registrar_controller_default; exports.RON_REGISTRAR_CONTROLLER_PROXY = ron_registrar_controller_proxy_default; exports.RUNE = rune_default; exports.RUNIVERSE_ITEM = runiverse_item_default; exports.RUNIVERSE_ITEM_MINTER = runiverse_item_minter_default; exports.RUNIVERSE_LAND = runiverse_land_default; exports.RUNIVERSE_LAND_MINTER = runiverse_land_minter_default; exports.SABLIER = sablier_default; exports.SCATTER = scatter_default; exports.SIDECHAIN_GATEWAY_MANAGER_PROXY = sidechain_gateway_manager_proxy_default; exports.SIDECHAIN_VALIDATOR = sidechain_validator_default; exports.SIDEKICKS = sidekicks_default; exports.SIGNATURE_MINTER = signature_minter_default; exports.SIGN_PUFF = sign_puff_default; exports.SIGN_PUFF_V2 = sign_puff_v2_default; exports.SIMULATE_TX_ACCESSOR = simulate_tx_accessor_default; exports.SKY_MAVIS = sky_mavis_default; exports.SLASH_INDICATOR = slash_indicator_default; exports.SLPWETH_LP = slpweth_lp_default; exports.SLPWETH_LP_STAKING_POOL = slpweth_lp_staking_pool_default; exports.SMOOTH_LOVE_POTION = smooth_love_potion_default; exports.SPACE_NFT = space_nft_default; exports.SPARK_SUIT = spark_suit_default; exports.SPIRIT_GUARDIAN_PROXY = spirit_guardian_proxy_default; exports.STABLE_COINS_OF_PESO = stable_coins_of_peso_default; exports.STAKING = staking_default; exports.STAKING_MANAGER = staking_manager_default; exports.STAKING_VESTING = staking_vesting_default; exports.STAR_GODIVERSE_ATTACHMENT_PROXY = star_godiverse_attachment_proxy_default; exports.STAR_ORBITAL_TRACK_CALLER_PROXY = star_orbital_track_caller_proxy_default; exports.STAR_ORBITAL_TRACK_LOGIC_PROXY = star_orbital_track_logic_proxy_default; exports.STAR_ORBITAL_TRACK_PROXY = star_orbital_track_proxy_default; exports.STORE_COMMISSION_PROXY = store_commission_proxy_default; exports.SUPERFINE_AIRDROP_V3 = superfine_airdrop_v3_default; exports.SUPERFINE_CLAIM_V2 = superfine_claim_v2_default; exports.SUPERFINE_REWARD_DISTRIBUTION_V1 = superfine_reward_distribution_v1_default; exports.SWAP_FORWARDER_PROXY = swap_forwarder_proxy_default; exports.TEMPLATE_FACTORY_PROXY = template_factory_proxy_default; exports.THE_MACHINES_ARENA_MINTER_LOGIC = the_machines_arena_minter_logic_default; exports.THE_MACHINES_ARENA_MINTER_PROXY = the_machines_arena_minter_proxy_default; exports.THE_MACHINES_ARENA_SKIN_LOGIC = the_machines_arena_skin_logic_default; exports.THE_MACHINES_ARENA_SKIN_PROXY = the_machines_arena_skin_proxy_default; exports.THE_MACHINES_ARENA_VALIDATOR_LOGIC = the_machines_arena_validator_logic_default; exports.THE_MACHINES_ARENA_VALIDATOR_PROXY = the_machines_arena_validator_proxy_default; exports.TIMELOCK = timelock_default; exports.TMA_FAMILIAR = tma_familiar_default; exports.TMA_FAMILIAR_PROXY = tma_familiar_proxy_default; exports.TMA_GACHA = tma_gacha_default; exports.TMA_GACHA_PROXY = tma_gacha_proxy_default; exports.TMA_ITEM = tma_item_default; exports.TMA_ITEM_PROXY = tma_item_proxy_default; exports.TMA_SKIN_PROXY = tma_skin_proxy_default; exports.TOKEN_ADMIN_REGISTRY = token_admin_registry_default; exports.TOKEN_GATED_STAGE_LOGIC = token_gated_stage_logic_default; exports.TOKEN_RECEIPT_HANDLER_PROXY = token_receipt_handler_proxy_default; exports.TRAIT_REGISTRY_PROXY = trait_registry_proxy_default; exports.TRANSAK_MULTICALL_EXECUTER = transak_multicall_executer_default; exports.TRIBESTERS = tribesters_default; exports.TRIBES_SEASON_ONE = tribes_season_one_default; exports.UNITROLLER = unitroller_default; exports.USDCWETH_LP = usdcweth_lp_default; exports.USD_COIN = usd_coin_default; exports.UUPS_TEST = uups_test_default; exports.UUPS_TEST_PROXY = uups_test_proxy_default; exports.VAULT_V2_PROXY = vault_v2_proxy_default; exports.VIP_SHOP_TOKEN_PURCHASE_PROXY = vip_shop_token_purchase_proxy_default; exports.VX_RONIN = vx_ronin_default; exports.VX_RONIN_PROXY = vx_ronin_proxy_default; exports.VX_SLICE_DISPENSER = vx_slice_dispenser_default; exports.VX_SLICE_DISPENSER_PROXY = vx_slice_dispenser_proxy_default; exports.WATCHERS_RING = watchers_ring_default; exports.WATCHERS_RING_MINTER = watchers_ring_minter_default; exports.WBTC = wbtc_default; exports.WEAPON_PROXY = weapon_proxy_default; exports.WHITELISTED_MINTER = whitelisted_minter_default; exports.WHITELISTED_MINTER_PROXY = whitelisted_minter_proxy_default; exports.WHITELIST_DEPLOYER = whitelist_deployer_default; exports.WHITELIST_DEPLOYER_V2_PROXY = whitelist_deployer_v2_proxy_default; exports.WILDLINGS = wildlings_default; exports.WILD_FOREST_CLAIM_NFT = wild_forest_claim_nft_default; exports.WILD_FOREST_CLAIM_NFT_PROXY = wild_forest_claim_nft_proxy_default; exports.WILD_FOREST_CLAIM_TOKEN_TRANSFER = wild_forest_claim_token_transfer_default; exports.WILD_FOREST_CLAIM_TOKEN_TRANSFER_PROXY = wild_forest_claim_token_transfer_proxy_default; exports.WILD_FOREST_DEFINED_TOKEN_URI_NFT = wild_forest_defined_token_uri_nft_default; exports.WILD_FOREST_LOCK_NFT = wild_forest_lock_nft_default; exports.WILD_FOREST_LOCK_NFT_PROXY = wild_forest_lock_nft_proxy_default; exports.WILD_FOREST_MEDAL = wild_forest_medal_default; exports.WILD_FOREST_MEDAL_PROXY = wild_forest_medal_proxy_default; exports.WILD_FOREST_NFT = wild_forest_nft_default; exports.WILD_FOREST_NFT_PROXY = wild_forest_nft_proxy_default; exports.WILD_FOREST_SIGNAL_FIRE_PROXY = wild_forest_signal_fire_proxy_default; exports.WILD_FOREST_TOKEN = wild_forest_token_default; exports.WORLD_CUP_NFT = world_cup_nft_default; exports.WRAPPED_ETHER = wrapped_ether_default; exports.WRAPPED_RON = wrapped_ron_default; exports.WRON_HELPER = wron_helper_default; exports.ZKMESBT_UPGRADEABLE = zkmesbt_upgradeable_default; exports.ZKMESBT_UPGRADEABLE_PROXY = zkmesbt_upgradeable_proxy_default; exports.ZKME_CONF_UPGRADEABLE_PROXY = zkme_conf_upgradeable_proxy_default; exports.ZKME_VERIFY_UPGRADEABLE_PROXY = zkme_verify_upgradeable_proxy_default; exports.ZOIDS_NFT_PROXY = zoids_nft_proxy_default;