Documentation ¶
Index ¶
- Constants
- Variables
- func AddInitPos(ontSdk *sdk.DNASdk) bool
- func ApproveCandidate(ontSdk *sdk.DNASdk) bool
- func AssignDnaIDsToRole(ontSdk *sdk.DNASdk) bool
- func AssignDnaIDsToRoleAny(ontSdk *sdk.DNASdk) bool
- func AssignFuncsToRole(ontSdk *sdk.DNASdk) bool
- func AssignFuncsToRoleAny(ontSdk *sdk.DNASdk) bool
- func AuthorizeForPeer(ontSdk *sdk.DNASdk) bool
- func BlackNode(ontSdk *sdk.DNASdk) bool
- func ChangeMaxAuthorization(ontSdk *sdk.DNASdk) bool
- func CommitDpos(ontSdk *sdk.DNASdk) bool
- func DestroyContract(ontSdk *sdk.DNASdk) bool
- func GetAddressMultiSign(ontSdk *sdk.DNASdk) bool
- func GetAttributes(ontSdk *sdk.DNASdk) bool
- func GetAuthorizeInfo(ontSdk *sdk.DNASdk) bool
- func GetGlobalParam(ontSdk *sdk.DNASdk) bool
- func GetGlobalParam2(ontSdk *sdk.DNASdk) bool
- func GetGovernanceView(ontSdk *sdk.DNASdk) bool
- func GetPeerPoolItem(ontSdk *sdk.DNASdk) bool
- func GetPeerPoolMap(ontSdk *sdk.DNASdk) bool
- func GetPenaltyStake(ontSdk *sdk.DNASdk) bool
- func GetPromisePos(ontSdk *sdk.DNASdk) bool
- func GetSplitCurve(ontSdk *sdk.DNASdk) bool
- func GetSplitFee(ontSdk *sdk.DNASdk) bool
- func GetSplitFeeAddress(ontSdk *sdk.DNASdk) bool
- func GetTotalStake(ontSdk *sdk.DNASdk) bool
- func GetVbftConfig(ontSdk *sdk.DNASdk) bool
- func GetVbftInfo(ontSdk *sdk.DNASdk) bool
- func InBlackList(ontSdk *sdk.DNASdk) bool
- func MultiTransferOng(ontSdk *sdk.DNASdk) bool
- func MultiTransferOnt(ontSdk *sdk.DNASdk) bool
- func QuitNode(ontSdk *sdk.DNASdk) bool
- func ReduceInitPos(ontSdk *sdk.DNASdk) bool
- func RegIdWithPublicKey(ontSdk *sdk.DNASdk) bool
- func RegisterCandidate(ontSdk *sdk.DNASdk) bool
- func RegisterCandidate2Sign(ontSdk *sdk.DNASdk) bool
- func RegisterGovernance()
- func RejectCandidate(ontSdk *sdk.DNASdk) bool
- func SetPeerCost(ontSdk *sdk.DNASdk) bool
- func SetPromisePos(ontSdk *sdk.DNASdk) bool
- func TransferFromOngMultiSign(ontSdk *sdk.DNASdk) bool
- func TransferFromOngMultiSignAddress(ontSdk *sdk.DNASdk) bool
- func TransferFromOngMultiSignToMultiSign(ontSdk *sdk.DNASdk) bool
- func TransferOngMultiSign(ontSdk *sdk.DNASdk) bool
- func TransferOngMultiSignAddress(ontSdk *sdk.DNASdk) bool
- func TransferOngMultiSignToMultiSign(ontSdk *sdk.DNASdk) bool
- func TransferOntMultiSign(ontSdk *sdk.DNASdk) bool
- func TransferOntMultiSignAddress(ontSdk *sdk.DNASdk) bool
- func TransferOntMultiSignToMultiSign(ontSdk *sdk.DNASdk) bool
- func TransferPenalty(ontSdk *sdk.DNASdk) bool
- func UnAuthorizeForPeer(ontSdk *sdk.DNASdk) bool
- func UnRegisterCandidate(ontSdk *sdk.DNASdk) bool
- func UpdateConfig(ontSdk *sdk.DNASdk) bool
- func UpdateGlobalParam(ontSdk *sdk.DNASdk) bool
- func UpdateGlobalParam2(ontSdk *sdk.DNASdk) bool
- func UpdateSplitCurve(ontSdk *sdk.DNASdk) bool
- func Vrf(ontSdk *sdk.DNASdk) bool
- func WhiteNode(ontSdk *sdk.DNASdk) bool
- func Withdraw(ontSdk *sdk.DNASdk) bool
- func WithdrawOng(ontSdk *sdk.DNASdk) bool
- type Account
- type AddInitPosParam
- type ApproveCandidateParam
- type AssignDnaIDsToRoleAnyParam
- type AssignDnaIDsToRoleParam
- type AssignFuncsToRoleAnyParam
- type AuthorizeForPeerParam
- type BlackNodeParam
- type ChangeMaxAuthorizationParam
- type DestroyContractParam
- type GetAddressMultiSignParam
- type GetAttributesParam
- type GetAuthorizeInfoParam
- type GetPeerPoolItemParam
- type GetPenaltyStakeParam
- type GetPromisePosParam
- type GetSplitFeeAddressParam
- type GetTotalStakeParam
- type InBlackListParam
- type MultiAccount
- type MultiTransferParam
- type QuitNodeParam
- type ReduceInitPosParam
- type RegIDWithPublicKeyParam
- type RegisterCandidate2SignParam
- type RegisterCandidateParam
- type RejectCandidateParam
- type SetPeerCostParam
- type SetPromisePosParam
- type TransferFromMultiSignAddressParam
- type TransferFromMultiSignParam
- type TransferFromMultiSignToMultiSignParam
- type TransferMultiSignAddressParam
- type TransferMultiSignParam
- type TransferMultiSignToMultiSignParam
- type TransferPenaltyParam
- type UnRegisterCandidateParam
- type UpdateConfigParam
- type UpdateGlobalParamParam
- type UpdateGlobalParamParam2
- type UpdateSplitCurveParam
- type VrfParam
- type WhiteNodeParam
- type WithdrawOngParam
- type WithdrawParam
Constants ¶
View Source
const PROMISE_POS = 200000
Variables ¶
View Source
var DnaIDVersion = byte(0)
Functions ¶
func AddInitPos ¶
func ApproveCandidate ¶
func AssignDnaIDsToRole ¶
func AssignDnaIDsToRoleAny ¶
func AssignFuncsToRole ¶
func AssignFuncsToRoleAny ¶
func AuthorizeForPeer ¶
func ChangeMaxAuthorization ¶
func CommitDpos ¶
func DestroyContract ¶
func GetAddressMultiSign ¶
func GetAttributes ¶
func GetAuthorizeInfo ¶
func GetGlobalParam ¶
func GetGlobalParam2 ¶
func GetGovernanceView ¶
func GetPeerPoolItem ¶
func GetPeerPoolMap ¶
func GetPenaltyStake ¶
func GetPromisePos ¶
func GetSplitCurve ¶
func GetSplitFee ¶
func GetSplitFeeAddress ¶
func GetTotalStake ¶
func GetVbftConfig ¶
func GetVbftInfo ¶
func InBlackList ¶
func MultiTransferOng ¶
func MultiTransferOnt ¶
func ReduceInitPos ¶
func RegIdWithPublicKey ¶
func RegisterCandidate ¶
func RegisterCandidate2Sign ¶
func RegisterGovernance ¶
func RegisterGovernance()
func RejectCandidate ¶
func SetPeerCost ¶
func SetPromisePos ¶
func TransferOngMultiSign ¶
func TransferOntMultiSign ¶
func TransferPenalty ¶
func UnAuthorizeForPeer ¶
func UnRegisterCandidate ¶
func UpdateConfig ¶
func UpdateGlobalParam ¶
func UpdateGlobalParam2 ¶
func UpdateSplitCurve ¶
func WithdrawOng ¶
Types ¶
type AddInitPosParam ¶
type ApproveCandidateParam ¶
type AssignDnaIDsToRoleParam ¶
type AuthorizeForPeerParam ¶
type BlackNodeParam ¶
type DestroyContractParam ¶
type GetAddressMultiSignParam ¶
type GetAddressMultiSignParam struct {
PubKeys []string
}
type GetAttributesParam ¶
type GetAttributesParam struct {
PeerPubkey string
}
type GetAuthorizeInfoParam ¶
type GetPeerPoolItemParam ¶
type GetPeerPoolItemParam struct {
PeerPubkey string
}
type GetPenaltyStakeParam ¶
type GetPenaltyStakeParam struct {
PeerPubkey string
}
type GetPromisePosParam ¶
type GetPromisePosParam struct {
PeerPubkey string
}
type GetSplitFeeAddressParam ¶
type GetSplitFeeAddressParam struct {
Address string
}
type GetTotalStakeParam ¶
type GetTotalStakeParam struct {
Address string
}
type InBlackListParam ¶
type InBlackListParam struct {
PeerPubkey string
}
type MultiAccount ¶
type MultiAccount struct {
Path []string
}
type MultiTransferParam ¶
type QuitNodeParam ¶
type ReduceInitPosParam ¶
type RegIDWithPublicKeyParam ¶
type RegisterCandidateParam ¶
type RejectCandidateParam ¶
type SetPeerCostParam ¶
type SetPromisePosParam ¶
type TransferMultiSignParam ¶
type TransferPenaltyParam ¶
type UpdateConfigParam ¶
type UpdateGlobalParamParam ¶
type UpdateGlobalParamParam2 ¶
type UpdateSplitCurveParam ¶
type WhiteNodeParam ¶
type WithdrawOngParam ¶
type WithdrawParam ¶
Click to show internal directories.
Click to hide internal directories.