Documentation ¶
Index ¶
- type BridgeContract
- func (cont *BridgeContract) Address() common.Address
- func (cont *BridgeContract) Front() interface{}
- func (cont *BridgeContract) Init(addr common.Address, master common.Address)
- func (cont *BridgeContract) Master() common.Address
- func (cont *BridgeContract) Name() string
- func (cont *BridgeContract) OnCreate(cc *types.ContractContext, Args []byte) error
- func (cont *BridgeContract) OnReward(cc *types.ContractContext, b *types.Block, CountMap map[common.Address]uint32) (map[common.Address]*amount.Amount, error)
- type BridgeContractConstruction
- type BridgeFront
- type SendMaintokenInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeContract ¶
type BridgeContract struct {
// contains filtered or unexported fields
}
func (*BridgeContract) Address ¶
func (cont *BridgeContract) Address() common.Address
func (*BridgeContract) Front ¶
func (cont *BridgeContract) Front() interface{}
func (*BridgeContract) Init ¶
func (cont *BridgeContract) Init(addr common.Address, master common.Address)
func (*BridgeContract) Master ¶
func (cont *BridgeContract) Master() common.Address
func (*BridgeContract) Name ¶
func (cont *BridgeContract) Name() string
func (*BridgeContract) OnCreate ¶
func (cont *BridgeContract) OnCreate(cc *types.ContractContext, Args []byte) error
type BridgeContractConstruction ¶
type BridgeContractConstruction struct { Bank common.Address FeeOwner common.Address MeverseToken common.Address }
type BridgeFront ¶
type BridgeFront interface { ////////////////////////////////////////////////// // Public Reader Functions ////////////////////////////////////////////////// MeverseToken(cc *types.ContractContext) common.Address Bank(cc *types.ContractContext) common.Address FeeOwner(cc *types.ContractContext) common.Address TransferFeeInfoToChain(cc *types.ContractContext, chain string) *amount.Amount TokenFeeInfoFromChain(cc *types.ContractContext, chain string) uint16 GetSequenceFrom(cc *types.ContractContext, user common.Address, chain string) *big.Int GetSequenceTo(cc *types.ContractContext, user common.Address, chain string) *big.Int AllowanceTokenFromGateway(cc *types.ContractContext, token common.Address, from common.Address) (*amount.Amount, error) BalanceOfToGateway(cc *types.ContractContext, token common.Address, from common.Address) (*amount.Amount, error) StringToBytes32(source string) []byte }
type SendMaintokenInfo ¶
type SendMaintokenInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.