{
"version": "eosio::abi/1.1",
"types": [
{
"new_type_name": "uuid_t",
"type": "uint128"
}
],
"structs": [
{
"name": "Config",
"base": "",
"fields": [
{
"name": "ticket_price",
"type": "asset"
},
{
"name": "slot_price",
"type": "asset"
},
{
"name": "max_slots_num",
"type": "uint32"
},
{
"name": "r_rate",
"type": "uint32"
},
{
"name": "sr_rate",
"type": "uint32"
},
{
"name": "ssr_rate",
"type": "uint32"
},
{
"name": "asset_contract",
"type": "name"
},
{
"name": "oasis_contract",
"type": "name"
}
]
},
{
"name": "FragContrib",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "period",
"type": "uint32"
},
{
"name": "groups_contrib",
"type": "pair_uint32_uint64[]"
}
]
},
{
"name": "GroupState",
"base": "",
"fields": [
{
"name": "group_id",
"type": "uint64"
},
{
"name": "r1",
"type": "uint64"
},
{
"name": "r2",
"type": "uint64"
},
{
"name": "u",
"type": "uint64"
},
{
"name": "v",
"type": "uint64"
},
{
"name": "nft_num",
"type": "uint32"
}
]
},
{
"name": "Income",
"base": "",
"fields": [
{
"name": "pdh",
"type": "asset"
},
{
"name": "sapl",
"type": "asset"
}
]
},
{
"name": "PdhPool",
"base": "",
"fields": [
{
"name": "week",
"type": "uint64"
},
{
"name": "quantity",
"type": "asset"
}
]
},
{
"name": "PeriodStat",
"base": "",
"fields": [
{
"name": "period",
"type": "uint64"
},
{
"name": "timestamp",
"type": "uint32"
},
{
"name": "pdh_output",
"type": "asset"
},
{
"name": "sapl_output",
"type": "asset"
},
{
"name": "groups_contrib",
"type": "pair_uint32_uint64[]"
}
]
},
{
"name": "SaplPool",
"base": "",
"fields": [
{
"name": "year",
"type": "uint64"
},
{
"name": "daily_output",
"type": "asset"
}
]
},
{
"name": "Slot",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "capacity",
"type": "uint32"
},
{
"name": "used",
"type": "uint32"
}
]
},
{
"name": "StakedNft",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "uuid",
"type": "uuid_t"
},
{
"name": "owner",
"type": "name"
},
{
"name": "stake_time",
"type": "uint32"
},
{
"name": "last_count_time",
"type": "uint32"
},
{
"name": "rate",
"type": "uint32"
},
{
"name": "group_id",
"type": "uint32"
}
]
},
{
"name": "State",
"base": "",
"fields": [
{
"name": "next_period",
"type": "uint32"
},
{
"name": "begin_time",
"type": "uint32"
}
]
},
{
"name": "Ticket",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
}
]
},
{
"name": "UriToRate",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "uri",
"type": "string"
},
{
"name": "rate",
"type": "uint32"
}
]
},
{
"name": "UserIncome",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "groups_income",
"type": "pair_uint32_Income[]"
}
]
},
{
"name": "claimincome",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "group_id",
"type": "uint32"
}
]
},
{
"name": "init",
"base": "",
"fields": [
{
"name": "config",
"type": "Config"
},
{
"name": "sp_rates",
"type": "UriToRate[]"
},
{
"name": "sapl",
"type": "SaplPool[]"
},
{
"name": "begin_time",
"type": "uint32"
}
]
},
{
"name": "pair_uint32_Income",
"base": "",
"fields": [
{
"name": "key",
"type": "uint32"
},
{
"name": "value",
"type": "Income"
}
]
},
{
"name": "pair_uint32_uint64",
"base": "",
"fields": [
{
"name": "key",
"type": "uint32"
},
{
"name": "value",
"type": "uint64"
}
]
},
{
"name": "redeemeos",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
}
]
},
{
"name": "redeemnfts",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "uuids",
"type": "uuid_t[]"
}
]
},
{
"name": "setassetcntr",
"base": "",
"fields": [
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "setbegintime",
"base": "",
"fields": [
{
"name": "begin_time",
"type": "uint32"
}
]
},
{
"name": "setmaxnslots",
"base": "",
"fields": [
{
"name": "num",
"type": "uint32"
}
]
},
{
"name": "setoasiscntr",
"base": "",
"fields": [
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "setrates",
"base": "",
"fields": [
{
"name": "r_rate",
"type": "uint32"
},
{
"name": "sr_rate",
"type": "uint32"
},
{
"name": "ssr_rate",
"type": "uint32"
}
]
},
{
"name": "setslotprice",
"base": "",
"fields": [
{
"name": "price",
"type": "asset"
}
]
},
{
"name": "setsprates",
"base": "",
"fields": [
{
"name": "uris",
"type": "string[]"
},
{
"name": "rates",
"type": "uint32[]"
}
]
},
{
"name": "settkprice",
"base": "",
"fields": [
{
"name": "price",
"type": "asset"
}
]
}
],
"actions": [
{
"name": "claimincome",
"type": "claimincome",
"ricardian_contract": ""
},
{
"name": "init",
"type": "init",
"ricardian_contract": ""
},
{
"name": "redeemeos",
"type": "redeemeos",
"ricardian_contract": ""
},
{
"name": "redeemnfts",
"type": "redeemnfts",
"ricardian_contract": ""
},
{
"name": "setassetcntr",
"type": "setassetcntr",
"ricardian_contract": ""
},
{
"name": "setbegintime",
"type": "setbegintime",
"ricardian_contract": ""
},
{
"name": "setmaxnslots",
"type": "setmaxnslots",
"ricardian_contract": ""
},
{
"name": "setoasiscntr",
"type": "setoasiscntr",
"ricardian_contract": ""
},
{
"name": "setrates",
"type": "setrates",
"ricardian_contract": ""
},
{
"name": "setslotprice",
"type": "setslotprice",
"ricardian_contract": ""
},
{
"name": "setsprates",
"type": "setsprates",
"ricardian_contract": ""
},
{
"name": "settkprice",
"type": "settkprice",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "config",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "Config"
},
{
"name": "fragcontrib",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "FragContrib"
},
{
"name": "groupstates",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "GroupState"
},
{
"name": "income",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "UserIncome"
},
{
"name": "pdhpool",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "PdhPool"
},
{
"name": "periodstat",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "PeriodStat"
},
{
"name": "saplpool",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "SaplPool"
},
{
"name": "slots",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "Slot"
},
{
"name": "stakednfts",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "StakedNft"
},
{
"name": "state",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "State"
},
{
"name": "tickets",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "Ticket"
},
{
"name": "uritorate",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "UriToRate"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}