/** * This file is autogenerated by Scaffold-ETH. * You should not edit it manually or your changes might be overwritten. */ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract"; const deployedContracts = { 31337: { DiceGame: { address: "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d", abi: [ { inputs: [], stateMutability: "payable", type: "constructor", }, { inputs: [], name: "NotEnoughEther", type: "error", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "player", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: false, internalType: "uint256", name: "roll", type: "uint256", }, ], name: "Roll", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "winner", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Winner", type: "event", }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "prize", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "rollTheDice", outputs: [], stateMutability: "payable", type: "function", }, { stateMutability: "payable", type: "receive", }, ], inheritedFunctions: {}, deployedOnBlock: 11051, }, RiggedRoll: { address: "0x59b670e9fA9D0A427751Af201D676719a970857b", abi: [ { inputs: [ { internalType: "address payable", name: "diceGameAddress", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [ { internalType: "uint256", name: "requested", type: "uint256", }, { internalType: "uint256", name: "available", type: "uint256", }, ], name: "InsufficientBalance", type: "error", }, { inputs: [ { internalType: "uint256", name: "required", type: "uint256", }, { internalType: "uint256", name: "available", type: "uint256", }, ], name: "NotEnoughETH", type: "error", }, { inputs: [ { internalType: "uint256", name: "roll", type: "uint256", }, ], name: "NotWinningRoll", 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", }, { inputs: [], name: "diceGame", outputs: [ { internalType: "contract DiceGame", 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: [], name: "riggedRoll", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_addr", type: "address", }, { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function", }, { stateMutability: "payable", type: "receive", }, ], inheritedFunctions: { owner: "@openzeppelin/contracts/access/Ownable.sol", renounceOwnership: "@openzeppelin/contracts/access/Ownable.sol", transferOwnership: "@openzeppelin/contracts/access/Ownable.sol", }, deployedOnBlock: 11052, }, }, 11155111: { DiceGame: { address: "0x6a1e81b3882dCFAef90c546d4bF6066026021E62", abi: [ { inputs: [], stateMutability: "payable", type: "constructor", }, { inputs: [], name: "NotEnoughEther", type: "error", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "player", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: false, internalType: "uint256", name: "roll", type: "uint256", }, ], name: "Roll", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "winner", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "Winner", type: "event", }, { inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "prize", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "rollTheDice", outputs: [], stateMutability: "payable", type: "function", }, { stateMutability: "payable", type: "receive", }, ], inheritedFunctions: {}, deployedOnBlock: 10090400, }, RiggedRoll: { address: "0x07907676103D88d238181c17342F5Da40f5c96ac", abi: [ { inputs: [ { internalType: "address payable", name: "diceGameAddress", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [ { internalType: "uint256", name: "requested", type: "uint256", }, { internalType: "uint256", name: "available", type: "uint256", }, ], name: "InsufficientBalance", type: "error", }, { inputs: [ { internalType: "uint256", name: "required", type: "uint256", }, { internalType: "uint256", name: "available", type: "uint256", }, ], name: "NotEnoughETH", type: "error", }, { inputs: [ { internalType: "uint256", name: "roll", type: "uint256", }, ], name: "NotWinningRoll", 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", }, { inputs: [], name: "diceGame", outputs: [ { internalType: "contract DiceGame", 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: [], name: "riggedRoll", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_addr", type: "address", }, { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "withdraw", outputs: [], stateMutability: "nonpayable", type: "function", }, { stateMutability: "payable", type: "receive", }, ], inheritedFunctions: { owner: "@openzeppelin/contracts/access/Ownable.sol", renounceOwnership: "@openzeppelin/contracts/access/Ownable.sol", transferOwnership: "@openzeppelin/contracts/access/Ownable.sol", }, deployedOnBlock: 10090401, }, }, } as const; export default deployedContracts satisfies GenericContractsDeclaration;