UNPKG

@molecularlabs/nucleus-frontend

Version:
404 lines 11.2 kB
const BoringVaultAbi = [ { type: "constructor", inputs: [ { name: "_owner", type: "address", internalType: "address" }, { name: "_name", type: "string", internalType: "string" }, { name: "_symbol", type: "string", internalType: "string" }, { name: "_decimals", type: "uint8", internalType: "uint8" } ], stateMutability: "nonpayable" }, { type: "receive", stateMutability: "payable" }, { type: "function", name: "DOMAIN_SEPARATOR", inputs: [], outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }], stateMutability: "view" }, { type: "function", name: "allowance", inputs: [ { name: "", type: "address", internalType: "address" }, { name: "", type: "address", internalType: "address" } ], outputs: [{ name: "", type: "uint256", internalType: "uint256" }], stateMutability: "view" }, { type: "function", name: "approve", inputs: [ { name: "spender", type: "address", internalType: "address" }, { name: "amount", type: "uint256", internalType: "uint256" } ], outputs: [{ name: "", type: "bool", internalType: "bool" }], stateMutability: "nonpayable" }, { type: "function", name: "authority", inputs: [], outputs: [ { name: "", type: "address", internalType: "contract Authority" } ], stateMutability: "view" }, { type: "function", name: "balanceOf", inputs: [{ name: "", type: "address", internalType: "address" }], outputs: [{ name: "", type: "uint256", internalType: "uint256" }], stateMutability: "view" }, { type: "function", name: "decimals", inputs: [], outputs: [{ name: "", type: "uint8", internalType: "uint8" }], stateMutability: "view" }, { type: "function", name: "enter", inputs: [ { name: "from", type: "address", internalType: "address" }, { name: "asset", type: "address", internalType: "contract ERC20" }, { name: "assetAmount", type: "uint256", internalType: "uint256" }, { name: "to", type: "address", internalType: "address" }, { name: "shareAmount", type: "uint256", internalType: "uint256" } ], outputs: [], stateMutability: "nonpayable" }, { type: "function", name: "exit", inputs: [ { name: "to", type: "address", internalType: "address" }, { name: "asset", type: "address", internalType: "contract ERC20" }, { name: "assetAmount", type: "uint256", internalType: "uint256" }, { name: "from", type: "address", internalType: "address" }, { name: "shareAmount", type: "uint256", internalType: "uint256" } ], outputs: [], stateMutability: "nonpayable" }, { type: "function", name: "hook", inputs: [], outputs: [ { name: "", type: "address", internalType: "contract BeforeTransferHook" } ], stateMutability: "view" }, { type: "function", name: "manage", inputs: [ { name: "targets", type: "address[]", internalType: "address[]" }, { name: "data", type: "bytes[]", internalType: "bytes[]" }, { name: "values", type: "uint256[]", internalType: "uint256[]" } ], outputs: [{ name: "results", type: "bytes[]", internalType: "bytes[]" }], stateMutability: "nonpayable" }, { type: "function", name: "manage", inputs: [ { name: "target", type: "address", internalType: "address" }, { name: "data", type: "bytes", internalType: "bytes" }, { name: "value", type: "uint256", internalType: "uint256" } ], outputs: [{ name: "result", type: "bytes", internalType: "bytes" }], stateMutability: "nonpayable" }, { type: "function", name: "name", inputs: [], outputs: [{ name: "", type: "string", internalType: "string" }], stateMutability: "view" }, { type: "function", name: "nonces", inputs: [{ name: "", type: "address", internalType: "address" }], outputs: [{ name: "", type: "uint256", internalType: "uint256" }], stateMutability: "view" }, { type: "function", name: "onERC1155BatchReceived", inputs: [ { name: "", type: "address", internalType: "address" }, { name: "", type: "address", internalType: "address" }, { name: "", type: "uint256[]", internalType: "uint256[]" }, { name: "", type: "uint256[]", internalType: "uint256[]" }, { name: "", type: "bytes", internalType: "bytes" } ], outputs: [{ name: "", type: "bytes4", internalType: "bytes4" }], stateMutability: "nonpayable" }, { type: "function", name: "onERC1155Received", inputs: [ { name: "", type: "address", internalType: "address" }, { name: "", type: "address", internalType: "address" }, { name: "", type: "uint256", internalType: "uint256" }, { name: "", type: "uint256", internalType: "uint256" }, { name: "", type: "bytes", internalType: "bytes" } ], outputs: [{ name: "", type: "bytes4", internalType: "bytes4" }], stateMutability: "nonpayable" }, { type: "function", name: "onERC721Received", inputs: [ { name: "", type: "address", internalType: "address" }, { name: "", type: "address", internalType: "address" }, { name: "", type: "uint256", internalType: "uint256" }, { name: "", type: "bytes", internalType: "bytes" } ], outputs: [{ name: "", type: "bytes4", internalType: "bytes4" }], stateMutability: "nonpayable" }, { type: "function", name: "owner", inputs: [], outputs: [{ name: "", type: "address", internalType: "address" }], stateMutability: "view" }, { type: "function", name: "permit", inputs: [ { name: "owner", type: "address", internalType: "address" }, { name: "spender", type: "address", internalType: "address" }, { name: "value", type: "uint256", internalType: "uint256" }, { name: "deadline", type: "uint256", internalType: "uint256" }, { name: "v", type: "uint8", internalType: "uint8" }, { name: "r", type: "bytes32", internalType: "bytes32" }, { name: "s", type: "bytes32", internalType: "bytes32" } ], outputs: [], stateMutability: "nonpayable" }, { type: "function", name: "setAuthority", inputs: [ { name: "newAuthority", type: "address", internalType: "contract Authority" } ], outputs: [], stateMutability: "nonpayable" }, { type: "function", name: "setBeforeTransferHook", inputs: [{ name: "_hook", type: "address", internalType: "address" }], outputs: [], stateMutability: "nonpayable" }, { type: "function", name: "supportsInterface", inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }], outputs: [{ name: "", type: "bool", internalType: "bool" }], stateMutability: "view" }, { type: "function", name: "symbol", inputs: [], outputs: [{ name: "", type: "string", internalType: "string" }], stateMutability: "view" }, { type: "function", name: "totalSupply", inputs: [], outputs: [{ name: "", type: "uint256", internalType: "uint256" }], stateMutability: "view" }, { type: "function", name: "transfer", inputs: [ { name: "to", type: "address", internalType: "address" }, { name: "amount", type: "uint256", internalType: "uint256" } ], outputs: [{ name: "", type: "bool", internalType: "bool" }], stateMutability: "nonpayable" }, { type: "function", name: "transferFrom", inputs: [ { name: "from", type: "address", internalType: "address" }, { name: "to", type: "address", internalType: "address" }, { name: "amount", type: "uint256", internalType: "uint256" } ], outputs: [{ name: "", type: "bool", internalType: "bool" }], stateMutability: "nonpayable" }, { type: "function", name: "transferOwnership", inputs: [{ name: "newOwner", type: "address", internalType: "address" }], outputs: [], stateMutability: "nonpayable" }, { type: "event", name: "Approval", inputs: [ { name: "owner", type: "address", indexed: true, internalType: "address" }, { name: "spender", type: "address", indexed: true, internalType: "address" }, { name: "amount", type: "uint256", indexed: false, internalType: "uint256" } ], anonymous: false }, { type: "event", name: "AuthorityUpdated", inputs: [ { name: "user", type: "address", indexed: true, internalType: "address" }, { name: "newAuthority", type: "address", indexed: true, internalType: "contract Authority" } ], anonymous: false }, { type: "event", name: "Enter", inputs: [ { name: "from", type: "address", indexed: true, internalType: "address" }, { name: "asset", type: "address", indexed: true, internalType: "address" }, { name: "amount", type: "uint256", indexed: false, internalType: "uint256" }, { name: "to", type: "address", indexed: true, internalType: "address" }, { name: "shares", type: "uint256", indexed: false, internalType: "uint256" } ], anonymous: false }, { type: "event", name: "Exit", inputs: [ { name: "to", type: "address", indexed: true, internalType: "address" }, { name: "asset", type: "address", indexed: true, internalType: "address" }, { name: "amount", type: "uint256", indexed: false, internalType: "uint256" }, { name: "from", type: "address", indexed: true, internalType: "address" }, { name: "shares", type: "uint256", indexed: false, internalType: "uint256" } ], anonymous: false }, { type: "event", name: "OwnershipTransferred", inputs: [ { name: "user", type: "address", indexed: true, internalType: "address" }, { name: "newOwner", type: "address", indexed: true, internalType: "address" } ], anonymous: false }, { type: "event", name: "Transfer", inputs: [ { name: "from", type: "address", indexed: true, internalType: "address" }, { name: "to", type: "address", indexed: true, internalType: "address" }, { name: "amount", type: "uint256", indexed: false, internalType: "uint256" } ], anonymous: false }, { type: "error", name: "AddressEmptyCode", inputs: [{ name: "target", type: "address", internalType: "address" }] }, { type: "error", name: "AddressInsufficientBalance", inputs: [{ name: "account", type: "address", internalType: "address" }] }, { type: "error", name: "FailedInnerCall", inputs: [] } ]; export { BoringVaultAbi }; //# sourceMappingURL=boring-vault-abi.mjs.map