Foundation contract is at 0xb4B5965b3C899a7F6eeEF352C1B4e1139543a907
Interface
[{"constant":true,"inputs":[{"name":"_budgetId","type":"uint8"}],"name":"getState","outputs":[{"name":"","type":"uint8"}],"type":"function"},{"constant":true,"inputs":[{"name":"_delegatorId","type":"uint8"}],"name":"getDelegator","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"maxDelegators","outputs":[{"name":"","type":"uint8"}],"type":"function"},{"constant":false,"inputs":[{"name":"_budgetID","type":"uint256"},{"name":"_position","type":"bytes1"}],"name":"tickBudget","outputs":[{"name":"","type":"bytes1"}],"type":"function"},{"constant":true,"inputs":[],"name":"debatingDays","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"},{"name":"_bitcointalkId","type":"bytes32"}],"name":"addDelegator","outputs":[{"name":"","type":"uint8"}],"type":"function"},{"constant":true,"inputs":[],"name":"founder","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"delegators","outputs":[{"name":"addr","type":"address"},{"name":"amount","type":"uint256"},{"name":"bitcointalkId","type":"bytes32"}],"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"budgets","outputs":[{"name":"recipient","type":"address"},{"name":"amount","type":"uint256"},{"name":"data","type":"bytes32"},{"name":"description","type":"string"},{"name":"creationDate","type":"uint256"},{"name":"confirmDate","type":"uint256"},{"name":"executeDays","type":"uint256"},{"name":"createdBy","type":"uint8"},{"name":"state","type":"uint8"},{"name":"votes","type":"bytes"}],"type":"function"},{"constant":true,"inputs":[],"name":"totalDelegators","outputs":[{"name":"","type":"uint8"}],"type":"function"},{"constant":true,"inputs":[{"name":"_budgetId","type":"uint8"}],"name":"getBudgetAmount","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[{"name":"_budgetId","type":"uint8"}],"name":"getVotes","outputs":[{"name":"","type":"bytes"}],"type":"function"},{"constant":false,"inputs":[{"name":"_budgetID","type":"uint256"}],"name":"budgetPayment","outputs":[{"name":"winDelegatorNum","type":"uint8"},{"name":"result","type":"uint8"}],"type":"function"},{"constant":false,"inputs":[{"name":"_budgetID","type":"uint256"}],"name":"passBudget","outputs":[{"name":"proDelegatorNum","type":"uint8"},{"name":"state","type":"uint8"}],"type":"function"},{"constant":false,"inputs":[{"name":"_budgetID","type":"uint256"}],"name":"confirmBudget","outputs":[{"name":"result","type":"uint8"}],"type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_data","type":"bytes32"},{"name":"_description","type":"string"},{"name":"_executeDays","type":"uint256"}],"name":"newBudget","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_budgetID","type":"uint256"},{"name":"_position","type":"bytes1"}],"name":"voteBudget","outputs":[{"name":"voteID","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"numBudgets","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[{"name":"_budgetId","type":"uint8"}],"name":"getBudgetRecipient","outputs":[{"name":"","type":"address"}],"type":"function"},{"inputs":[{"name":"_maxDelegators","type":"uint8"},{"name":"_debatingDays","type":"uint256"},{"name":"_bitcointalkId","type":"bytes32"}],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"budgetID","type":"uint256"},{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"data","type":"bytes32"},{"indexed":false,"name":"description","type":"string"}],"name":"BudgetAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"budgetID","type":"uint256"},{"indexed":false,"name":"voter","type":"address"},{"indexed":false,"name":"position","type":"bytes1"}],"name":"BudgetVoted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"budgetID","type":"uint256"},{"indexed":false,"name":"reult","type":"uint8"},{"indexed":false,"name":"state","type":"Foundation.State"}],"name":"BudgetTallied","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"budgetID","type":"uint256"},{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"state","type":"Foundation.State"}],"name":"BudgetConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"budgetID","type":"uint256"},{"indexed":false,"name":"delegator","type":"address"},{"indexed":false,"name":"position","type":"bytes1"}],"name":"BudgetTicked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"budgetID","type":"uint256"},{"indexed":false,"name":"tickDelegatorNum","type":"uint8"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"BudgetPaid","type":"event"}]
deploy contract using Web Wallet Ðapp
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs31.postimg.org%2Fyubppualz%2Fdeploy_contract.jpg&t=665&c=4uwW0Rd8wbAHvQ)
watch the contract
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs31.postimg.org%2Fyubppualz%2Fdeploy_contract.jpg&t=665&c=4uwW0Rd8wbAHvQ)
all contracts
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs31.postimg.org%2Fbyfxe59h3%2Fcustome_contract.jpg&t=665&c=XtD-xk-TLEIVVQ)
execute contract
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fs31.postimg.org%2Fpvl8gz19z%2Fexecute_function.jpg&t=665&c=wUSz5tdgIgcvcw)