UNPKG

@pvpbet/pvpbet

Version:

A decentralized PVP betting platform based on the Ethereum Virtual Machine (EVM).

118 lines (117 loc) 3.06 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IBetOptionFactory", "sourceName": "contracts/interface/IBetOptionFactory.sol", "abi": [ { "inputs": [ { "internalType": "string", "name": "description", "type": "string" }, { "components": [ { "internalType": "uint256", "name": "chipMinValue", "type": "uint256" }, { "internalType": "uint256", "name": "voteMinValue", "type": "uint256" }, { "internalType": "uint256", "name": "minWageredTotalAmount", "type": "uint256" }, { "internalType": "uint256", "name": "verificationRatio", "type": "uint256" }, { "internalType": "uint256", "name": "announcementPeriodDuration", "type": "uint256" }, { "internalType": "uint256", "name": "arbitratingPeriodDuration", "type": "uint256" }, { "internalType": "uint256", "name": "singleOptionMaxAmountRatio", "type": "uint256" }, { "internalType": "uint256", "name": "confirmDisputeAmountRatio", "type": "uint256" }, { "internalType": "uint256", "name": "protocolRewardRatio", "type": "uint256" }, { "internalType": "uint256", "name": "creatorRewardRatio", "type": "uint256" }, { "internalType": "uint256", "name": "verifierRewardRatio", "type": "uint256" }, { "internalType": "uint256", "name": "countPerRelease", "type": "uint256" }, { "internalType": "uint256", "name": "countPerPenalize", "type": "uint256" } ], "internalType": "struct IBet.BetConfig", "name": "config", "type": "tuple" }, { "internalType": "address", "name": "bet", "type": "address" }, { "internalType": "address", "name": "chip", "type": "address" }, { "internalType": "address", "name": "vote", "type": "address" } ], "name": "createBetOption", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }