EarnPMBets
unknown
json
a month ago
14 kB
4
Indexable
Never
[ { "inputs": [ { "internalType": "address", "name": "_stakingManager", "type": "address" }, { "internalType": "contract IEarnPMController", "name": "_earnPMController", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "uint256", "name": "transactionNonce", "type": "uint256" }, { "internalType": "address", "name": "payingAssetAddress", "type": "address" }, { "internalType": "uint256", "name": "payingErc1155TokenId", "type": "uint256" }, { "internalType": "uint256[]", "name": "payingErc721TokenIds", "type": "uint256[]" }, { "internalType": "uint256", "name": "payingAssetAmount", "type": "uint256" }, { "internalType": "uint256", "name": "marketAssetAmount", "type": "uint256" }, { "internalType": "uint256", "name": "sharesAmount", "type": "uint256" }, { "internalType": "uint32", "name": "marketId", "type": "uint32" }, { "internalType": "uint8", "name": "optionIndex", "type": "uint8" }, { "internalType": "enum AssetType", "name": "assetType", "type": "uint8" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "internalType": "struct EarnPMBets.BetData", "name": "betData", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "bet", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "address", "name": "assetAddress", "type": "address" }, { "internalType": "uint256", "name": "erc1155TokenId", "type": "uint256" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "uint256", "name": "liquidityStorageId", "type": "uint256" }, { "internalType": "bytes32", "name": "ipfsHash", "type": "bytes32" }, { "internalType": "uint32", "name": "marketStartDate", "type": "uint32" }, { "internalType": "uint32", "name": "marketEndDate", "type": "uint32" }, { "internalType": "uint32", "name": "executionDeadline", "type": "uint32" }, { "internalType": "uint32", "name": "marketId", "type": "uint32" }, { "internalType": "uint8", "name": "optionsCount", "type": "uint8" }, { "internalType": "enum AssetType", "name": "assetType", "type": "uint8" } ], "internalType": "struct EarnPMBets.MarketCreationData", "name": "marketData", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "createMarket", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "earnPMController", "outputs": [ { "internalType": "contract IEarnPMController", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "marketId", "type": "uint32" }, { "internalType": "uint8", "name": "tokenId", "type": "uint8" } ], "name": "formatToOutcomId", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "isNonceUsed", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "marketCretorFee", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "outcomeId", "type": "uint64" } ], "name": "marketIdAndTokenIdFromOutcomeId", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "name": "markets", "outputs": [ { "internalType": "uint256", "name": "liquidityStorageId", "type": "uint256" }, { "internalType": "bytes32", "name": "ipfsHash", "type": "bytes32" }, { "internalType": "bytes32", "name": "marketAssetId", "type": "bytes32" }, { "internalType": "uint256", "name": "marketAssetAmount", "type": "uint256" }, { "internalType": "uint256", "name": "totalShares", "type": "uint256" }, { "internalType": "uint32", "name": "marketStartDate", "type": "uint32" }, { "internalType": "uint32", "name": "marketEndDate", "type": "uint32" }, { "internalType": "uint8", "name": "optionsCount", "type": "uint8" }, { "internalType": "uint8", "name": "wonOption", "type": "uint8" }, { "internalType": "uint8", "name": "marketCreatorFee", "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": [ { "components": [ { "internalType": "uint256", "name": "resolveNetwork", "type": "uint256" }, { "internalType": "bytes32", "name": "transactionHash", "type": "bytes32" }, { "internalType": "uint32", "name": "marketId", "type": "uint32" }, { "internalType": "uint8", "name": "wonOption", "type": "uint8" } ], "internalType": "struct EarnPMBets.ResolveData", "name": "resolveData", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "receiveCreatorReward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint256", "name": "resolveNetwork", "type": "uint256" }, { "internalType": "bytes32", "name": "transactionHash", "type": "bytes32" }, { "internalType": "uint32", "name": "marketId", "type": "uint32" }, { "internalType": "uint8", "name": "wonOption", "type": "uint8" } ], "internalType": "struct EarnPMBets.ResolveData", "name": "resolveData", "type": "tuple" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "name": "receiveReward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "name": "resolves", "outputs": [ { "internalType": "uint256", "name": "resolveNetwork", "type": "uint256" }, { "internalType": "bytes32", "name": "transactionHash", "type": "bytes32" }, { "internalType": "uint32", "name": "marketId", "type": "uint32" }, { "internalType": "uint8", "name": "wonOption", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "uint8", "name": "", "type": "uint8" } ], "name": "shares", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "stakingManager", "outputs": [ { "internalType": "contract IEarnStakingManager", "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": "transactionsIndex", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]
Leave a Comment