Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinimumWarrantIotas = 500 FuncPublicKey = "publicKey" FuncAddWarrant = "addWarrant" FuncRevokeWarrant = "revokeWarrant" FuncCloseWarrant = "closeWarrant" FuncSettle = "settle" FuncGetChannelInfo = "getWarrantInfo" ParamPublicKey = "pk" ParamPayerAddress = "pa" ParamServiceAddress = "sa" ParamPayments = "m" ParamWarrant = "wa" ParamRevoked = "re" ParamLastOrd = "lo" StateVarPublicKeys = "k" StateVarLastOrdNum = "o" WarrantRevokePeriod = 1 * time.Hour )
View Source
const (
Name = "micropay"
)
Variables ¶
View Source
var ( Interface = &coreutil.ContractInterface{ Name: Name, Description: description, ProgramHash: hashing.HashStrings(Name), } )
Functions ¶
This section is empty.
Types ¶
type BatchPayment ¶
type Payment ¶
func NewPayment ¶
func NewPayment(ord uint32, amount int64, targetAddr address.Address, payerSigScheme signaturescheme.SignatureScheme) *Payment
func NewPaymentFromBytes ¶
Click to show internal directories.
Click to hide internal directories.