Documentation ¶
Index ¶
Constants ¶
View Source
const ( CIDForMainNet = 0x1 StatusIllegalArgument = module.StatusReverted + iota StatusNotFound )
View Source
const ( IISSNoCharge = 1 << iota IISSDisabled )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallHandler ¶ added in v0.9.6
type CallHandler interface { contract.AsyncContractHandler GetMethodName() string AllowExtra() DoExecuteAsync(cc contract.CallContext, ch eeproxy.CallContext) error TLogStart() TLogDone(status error, steps *big.Int, result *codec.TypedObj) ApplyCallSteps(cc contract.CallContext) bool }
type ChainConfig ¶ added in v0.9.6
type ChainConfig struct { Revision common.HexInt32 `json:"revision"` AuditEnabled common.HexInt16 `json:"auditEnabled"` Fee FeeConfig `json:"fee"` ValidatorList []*common.Address `json:"validatorList"` BlockInterval *common.HexInt64 `json:"blockInterval"` CommitTimeout *common.HexInt64 `json:"commitTimeout"` TimestampThreshold *common.HexInt64 `json:"timestampThreshold"` RoundLimitFactor *common.HexInt64 `json:"roundLimitFactor"` DepositTerm *common.HexInt64 `json:"depositTerm"` FeeSharingEnabled *common.HexInt16 `json:"feeSharingEnabled"` }
type SystemCallHandler ¶ added in v0.9.6
type SystemCallHandler struct { CallHandler // contains filtered or unexported fields }
func (*SystemCallHandler) ExecuteAsync ¶ added in v0.9.6
func (h *SystemCallHandler) ExecuteAsync(cc contract.CallContext) (err error)
type TransferHandler ¶ added in v0.9.6
type TransferHandler struct {
*contract.CommonHandler
}
func (*TransferHandler) DoExecuteSync ¶ added in v0.9.6
func (h *TransferHandler) DoExecuteSync(cc contract.CallContext) (err error, ro *codec.TypedObj, addr module.Address)
func (*TransferHandler) ExecuteSync ¶ added in v0.9.6
func (h *TransferHandler) ExecuteSync(cc contract.CallContext) (err error, ro *codec.TypedObj, addr module.Address)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
* Copyright 2020 ICON Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
|
* Copyright 2020 ICON Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.