Documentation ¶
Index ¶
- Constants
- func CreateNewContract(contractEnvironment *cmn.ContractEnvironment) *cmn.ContractCallBackInfo
- func MustUnmarshal(data []byte, load interface{})
- func RigisteredMethod(contractEnvironment *cmn.ContractEnvironment) *cmn.ContractCallBackInfo
- type ArgsAddDelegate
- type ArgsCreateNewContract
- type ArgsRemoveDelegate
- type Delegate
Constants ¶
View Source
const NIN_PROPOSAL_COUNT = 5
Variables ¶
This section is empty.
Functions ¶
func CreateNewContract ¶
func CreateNewContract(contractEnvironment *cmn.ContractEnvironment) *cmn.ContractCallBackInfo
func MustUnmarshal ¶
func MustUnmarshal(data []byte, load interface{})
func RigisteredMethod ¶
func RigisteredMethod(contractEnvironment *cmn.ContractEnvironment) *cmn.ContractCallBackInfo
Types ¶
type ArgsAddDelegate ¶
type ArgsAddDelegate struct {
NewDelegate []byte `json:"1"`
}
type ArgsCreateNewContract ¶
type ArgsRemoveDelegate ¶
type ArgsRemoveDelegate struct {
RemovedDelegate []byte `json:"1"`
}
type Delegate ¶
type Delegate struct {
// contains filtered or unexported fields
}
func (*Delegate) NewContract ¶
func (*Delegate) ResetVote ¶
func (delegate *Delegate) ResetVote() *cmn.ContractCallBackInfo
func (*Delegate) Vote ¶
func (delegate *Delegate) Vote() *cmn.ContractCallBackInfo
Click to show internal directories.
Click to hide internal directories.