{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "GetPollResponse", "type": "object", "required": [ "amount", "creator", "description", "end_height", "no_vote", "prize_per_rank", "proposal", "start_height", "status", "weight_no_vote", "weight_yes_vote", "yes_vote" ], "properties": { "amount": { "$ref": "#/definitions/Uint128" }, "creator": { "type": "string" }, "description": { "type": "string" }, "end_height": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "migration_address": { "type": [ "string", "null" ] }, "no_vote": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "prize_per_rank": { "type": "array", "items": { "type": "integer", "format": "uint8", "minimum": 0.0 } }, "proposal": { "$ref": "#/definitions/Proposal" }, "start_height": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "status": { "$ref": "#/definitions/PollStatus" }, "weight_no_vote": { "$ref": "#/definitions/Uint128" }, "weight_yes_vote": { "$ref": "#/definitions/Uint128" }, "yes_vote": { "type": "integer", "format": "uint64", "minimum": 0.0 } }, "definitions": { "PollStatus": { "type": "string", "enum": [ "InProgress", "Passed", "Rejected", "RejectedByCreator" ] }, "Proposal": { "type": "string", "enum": [ "LotteryEveryBlockTime", "HolderFeePercentage", "DrandWorkerFeePercentage", "PrizePerRank", "JackpotRewardPercentage", "AmountToRegister", "SecurityMigration", "DaoFunding", "StakingContractMigration", "PollSurvey", "NotExist" ] }, "Uint128": { "description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```", "type": "string" } } }