Skip to content

TechPay-io/govern-launch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

First steps

Attach to your node

Attach to a running node. You may need to specify your specific configuration.

photon attach

Loading the Governance

abi = JSON.parse('GOVERNANCE_ABI_OUTPUT')
// Note: define variable sfcc (instead of sfc) to avoid clashing with the sfc namespace introduced in go-sirius v0.7.0-rc1.
gov = web3.tpc.contract(abi).at("0x41195c3BACE2CcCEC779fBfEAC7b80E61F9E185a")

The current Governance release is 0.0.1-rc2. The ABI output available at ./releases/gov-abi-0.0.1-rc2.json.

Checking loading Governance has worked

// Sanity check
gov.proposalFee() // if everything is all right, will return a non-zero value

Unlocking account

personal.unlockAccount(YOUR_ADDRESS, "password", 60)

Governance contract operations

Note: All references to "self-voters" refer to "validators".

https://github.com/TechPay-io/techpay-govern/wiki/Governance-calls-reference

About

TechPay Governance Contract Abi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published