Documentation ¶
Index ¶
- func CreateNewContract(contractEnvironment *cmn.ContractEnvironment) *cmn.ContractCallBackInfo
- func MustUnmarshal(data []byte, load interface{})
- func RigisteredMethod(contractEnvironment *cmn.ContractEnvironment) *cmn.ContractCallBackInfo
- type ArgsBuyOption
- type ArgsCreateNewContract
- type ArgsUpdateStake
- type Option
- func (option *Option) BuyOption(proposal *math.Uint256) *cmn.ContractCallBackInfo
- func (option *Option) NewContract(owner []byte, strikePrice *math.Uint256) *cmn.ContractCallBackInfo
- func (option *Option) StakeFund() *cmn.ContractCallBackInfo
- func (option *Option) UpdateStake(value *math.Uint256) *cmn.ContractCallBackInfo
- type ValidBuyer
Constants ¶
This section is empty.
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 ArgsBuyOption ¶
type ArgsCreateNewContract ¶
type ArgsUpdateStake ¶
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
func (*Option) BuyOption ¶
func (option *Option) BuyOption(proposal *math.Uint256) *cmn.ContractCallBackInfo
func (*Option) NewContract ¶
func (*Option) StakeFund ¶
func (option *Option) StakeFund() *cmn.ContractCallBackInfo
func (*Option) UpdateStake ¶
func (option *Option) UpdateStake(value *math.Uint256) *cmn.ContractCallBackInfo
type ValidBuyer ¶
Click to show internal directories.
Click to hide internal directories.