Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParamPublicKey = "pk" ParamPayerAddress = "pa" ParamServiceAddress = "sa" ParamPayments = "m" ParamWarrant = "wa" ParamRevoked = "re" ParamLastOrd = "lo" StateVarPublicKeys = "k" WarrantRevokePeriod = 1 * time.Hour )
View Source
const MinimumWarrantBaseTokens = 500
Variables ¶
View Source
var ( FuncPublicKey = coreutil.Func("publicKey") FuncAddWarrant = coreutil.Func("addWarrant") FuncRevokeWarrant = coreutil.Func("revokeWarrant") FuncCloseWarrant = coreutil.Func("closeWarrant") FuncSettle = coreutil.Func("settle") FuncGetChannelInfo = coreutil.ViewFunc("getWarrantInfo") )
View Source
var Contract = coreutil.NewContract("micropay", "Micro payment PoC smart contract")
Functions ¶
This section is empty.
Types ¶
type BatchPayment ¶
Click to show internal directories.
Click to hide internal directories.