{
"version": "eosio::abi/1.1",
"types": [],
"structs": [
{
"name": "addproject",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "projectName",
"type": "string"
}
]
},
{
"name": "clear",
"base": "",
"fields": []
},
{
"name": "dapptable",
"base": "",
"fields": [
{
"name": "users",
"type": "uint64"
},
{
"name": "day",
"type": "uint64"
},
{
"name": "lastUpdate",
"type": "uint64"
},
{
"name": "inflationVolume",
"type": "asset"
},
{
"name": "totalStaked",
"type": "asset"
},
{
"name": "stopped",
"type": "bool"
}
]
},
{
"name": "increaseday",
"base": "",
"fields": []
},
{
"name": "modproject",
"base": "",
"fields": [
{
"name": "key",
"type": "uint64"
},
{
"name": "account",
"type": "name"
},
{
"name": "projectName",
"type": "string"
}
]
},
{
"name": "notify",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "msg",
"type": "string"
}
]
},
{
"name": "projects",
"base": "",
"fields": [
{
"name": "key",
"type": "uint64"
},
{
"name": "projectName",
"type": "string"
},
{
"name": "account",
"type": "name"
},
{
"name": "reward",
"type": "asset"
},
{
"name": "lastReward",
"type": "asset"
},
{
"name": "totalFunded",
"type": "asset"
},
{
"name": "totalStaked",
"type": "asset"
},
{
"name": "lastUpdate",
"type": "uint64"
}
]
},
{
"name": "rewardclaim",
"base": "",
"fields": []
},
{
"name": "snapshot",
"base": "",
"fields": []
},
{
"name": "stop",
"base": "",
"fields": [
{
"name": "stop",
"type": "bool"
}
]
},
{
"name": "upweights",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "weights",
"type": "string"
}
]
},
{
"name": "userstable",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "weights",
"type": "string"
},
{
"name": "lastUpdate",
"type": "uint64"
},
{
"name": "currentStake",
"type": "asset"
}
]
}
],
"actions": [
{
"name": "addproject",
"type": "addproject",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Add Project\r\nsummary: This action creates a new project in the project table, allowing users to donate part of their earnings. This action can be called by the contract owner only.\r\nicon:"
},
{
"name": "clear",
"type": "clear",
"ricardian_contract": ""
},
{
"name": "increaseday",
"type": "increaseday",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Increase Day\r\nsummary: This action increase the day parameter on the dappstats table starting they payout procedure. This action can be called by the contract owner only.\r\nicon:"
},
{
"name": "modproject",
"type": "modproject",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Modify Project\r\nsummary: This action modifies an already existing project account or description in the project table, allowing users to donate part of their earnings. This action can be called by the contract owner only.\r\nicon:"
},
{
"name": "notify",
"type": "notify",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Notify\r\nsummary: This action will send a notification to the user account when another action succeeds or fails. This action is intended to be called automatically from our contracts only.\r\nicon:"
},
{
"name": "rewardclaim",
"type": "rewardclaim",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Reward Claim\r\nsummary: This action permit the contract to claim the reward. This action can be called by the contract owner only.\r\nicon:"
},
{
"name": "snapshot",
"type": "snapshot",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Take Snapshot\r\nsummary: This action takes a snapshot of a user balance and calculates its reward. Once all users are paid, this action pays off all the funded project and eventually increases the lastUpdate parameter on the dappstats table. This action can be called by the contract owner only.\r\nicon:"
},
{
"name": "stop",
"type": "stop",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Stop contract\r\nsummary: This action will put the contract in maintenance mode preventing everyone but admin to interact with it. Only for dev.\r\nicon:"
},
{
"name": "upweights",
"type": "upweights",
"ricardian_contract": "spec-version: 0.0.2\r\ntitle: Update Weights\r\nsummary: This action allows the user to change the destination of his/her rewards by modifying the weights string in the user table. This action can be called only by the user.\r\nicon:"
}
],
"tables": [
{
"name": "dapptable",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "dapptable"
},
{
"name": "projects",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "projects"
},
{
"name": "userstable",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "userstable"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}