Natspec API:
https://github.com/DistributedCollective/Sovryn-smart-contracts/tree/feat/docs-generator/docs
Network RSK; Id: 30 (mainnet) and 31 (testnet)
Our public nodes:
Mainnet: https://mainnet.sovryn.app/rpc
Testnet: https://testnet.sovryn.app/rpc
Sovryn’s Bitocracy protocol manages all features on voting, changing the protocol and share distributions.
The features of Sovryn Bitocracy Owner are:
Tools From GovernorOwner: To interact with this features, requests must be addressed to the Owner instance of the Governor Alpha:
Mainnet:
Testnet:
ABI for web3: To interact with these contracts via web3 (or ethers, and so on) it will be needed the ABI file for this contract which can be found here.
With the former two elements the Governor contract can be reached via web3.js by means of web3.eth.Contract(ABI, contractAddress);
Entry Points: this is the list of useful tools
PUBLIC PARAMETER (typehash for the ballot struct): "0xdeaaa7cc": "BALLOT_TYPEHASH()",
PUBLIC PARAMETER (typehash for the contract's domain): "0x20606b70": "DOMAIN_TYPEHASH()",
PUBLIC PARAMETER (name of this contract): "0xa3f4df7e": "NAME()",
Setter: Casts a vote by sender "0x15373e3d": "castVote(uint256,bool)",
Setter: Voting with EIP-712 Signatures "0x4634c61f": "castVoteBySig(uint256,bool,uint8,bytes32,bytes32)",
Setter: Execute a proposal by looping and performing everyone of its calls "0xfe0d94c1": "execute(uint256)",
Getter: Get a proposal list of its calls "0x328dd982": "getActions(uint256)",
Getter: Get a proposal receipt "0xe23a9a52": "getReceipt(uint256,address)",
PUBLIC PARAMETER: The address of the Governor Guardian "0x452a9320": "guardian()",
PUBLIC PARAMETER (Mapping): The latest proposal for each proposer "0x17977c61": "latestProposalIds(address)",
PUBLIC PARAMETER: Majority percentage "0xe2653790": "majorityPercentageVotes()",
PUBLIC PARAMETER: The total number of proposals "0xda35c664": "proposalCount()",
Getter: The maximum number of actions that can be included in a proposal "0x7bdbe4d0": "proposalMaxOperations()",
Getter: The number of votes required in order for a voter to become a proposer "0xb58131b0": "proposalThreshold()",
PUBLIC PARAMETER (Mapping): The official record of all proposals ever proposed "0x013cf08b": "proposals(uint256)",
Relevant Settrer: Create a new proposal "0xda95691a": "propose(address[],uint256[],string[],bytes[],string)",
Setter: Enqueue a proposal and everyone of its calls "0xddf0b009": "queue(uint256)",
PUBLIC PARAMETER: Percentage of current total voting power required to vote "0xb2b0d91f": "quorumPercentageVotes()",
Getter: The number of votes in support of a proposal required in order for a quorum to be reached and for a vote to succeed "0x24bc1a64": "quorumVotes()",
PUBLIC PARAMETER: The staking contract address "0x4cf088d9": "staking()",
Getter: Get a proposal state "0x3e4f49e6": "state(uint256)",
PUBLIC PARAMETER: The address of the Sovryn Protocol Timelock "0xd33219b4": "timelock()",
Getter: The delay before voting on a proposal may take place, once proposed "0x3932abb1": "votingDelay()",
PUBLIC PARAMETER: The duration of voting on a proposal, in blocks "0x02a251a3": "votingPeriod()"
Entry Points: there are no relevant entry points for this contract. Beyond the ownership as getter, all the other relevant functions are not public.
Tools From TimeLockOwner: To interact with this features, requests must be addressed to the Owner instance of the Time Lock Contract:
Mainnet:
Testnet:
ABI for web3: To interact with these contracts via web3 (or ethers, and so on) it will be needed the ABI file for this contract which can be found here.
With the former two elements the Governor contract can be reached via web3.js by means of web3.eth.Contract(ABI, contractAddress);
Entry Points: this is the list of useful tools
PUBLIC PARAMETER: "0x26782247": "pendingAdmin()",
PUBLIC PARAMETER: "0xc1a287e2": "GRACE_PERIOD()",
PUBLIC PARAMETER: "0x7d645fab": "MAXIMUM_DELAY()",
PUBLIC PARAMETER: "0xb1b43ae5": "MINIMUM_DELAY()",
PUBLIC PARAMETER: "0xf851a440": "admin()",
PUBLIC PARAMETER: "0x6a42b8f8": "delay()",
PUBLIC PARAMETER (mapping, bytes32 => bool): "0xf2b06537": "queuedTransactions(bytes32)",
Natspec API:
https://github.com/DistributedCollective/Sovryn-smart-contracts/tree/feat/docs-generator/docs
Network RSK; Id: 30 (mainnet) and 31 (testnet)
Our public nodes:
Mainnet: https://mainnet.sovryn.app/rpc
Testnet: https://testnet.sovryn.app/rpc
Sovryn’s Bitocracy protocol manages all features on voting, changing the protocol and share distributions.
The features of Sovryn Bitocracy Admin are:
Tools From GovernorAdmin: To interact with this features, requests must be addressed to the Admin instance of the Governor Alpha:
Mainnet:
Testnet:
ABI for web3: To interact with these contracts via web3 (or ethers, and so on) it will be needed the ABI file for this contract which can be found here.
With the former two elements the Governor contract can be reached via web3.js by means of web3.eth.Contract(ABI, contractAddress);
Entry Points: the entry points for this contract are the same than for the Owner instance of the GovernorAplpha contract.
Entry Points: there are no relevant entry points for this contract. Beyond the ownership as getter, all the other relevant functions are not public.
Tools From TimeLockAdmin: To interact with this features, requests must be addressed to the Admin instance of the Time Lock Contract:
Mainnet:
ABI for web3: To interact with these contracts via web3 (or ethers, and so on) it will be needed the ABI file for this contract which can be found here.
With the former two elements the Governor contract can be reached via web3.js by means of web3.eth.Contract(ABI, contractAddress);
Entry Points: the entry points for this contract are the same than for the Owner instance of the TimeLock contract.