Documentation ¶
Index ¶
- Variables
- type Mgr
- func (mgr Mgr) ProcessDepositConfirmation(e tmEvents.Event) (err error)
- func (mgr Mgr) ProcessGatewayTxConfirmation(e tmEvents.Event) error
- func (mgr Mgr) ProcessNewChain(e tmEvents.Event) (err error)
- func (mgr Mgr) ProcessTokenConfirmation(e tmEvents.Event) error
- func (mgr Mgr) ProcessTransferKeyConfirmation(e tmEvents.Event) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ERC20TransferSig = crypto.Keccak256Hash([]byte("Transfer(address,address,uint256)")) ERC20TokenDeploymentSig = crypto.Keccak256Hash([]byte("TokenDeployed(string,address)")) SinglesigTransferOwnershipSig = crypto.Keccak256Hash([]byte("OwnershipTransferred(address,address)")) SinglesigTransferOperatorshipSig = crypto.Keccak256Hash([]byte("OperatorshipTransferred(address,address)")) MultisigTransferOwnershipSig = crypto.Keccak256Hash([]byte("OwnershipTransferred(address[],uint256,address[],uint256)")) MultisigTransferOperatorshipSig = crypto.Keccak256Hash([]byte("OperatorshipTransferred(address[],uint256,address[],uint256)")) ContractCallSig = crypto.Keccak256Hash([]byte("ContractCall(address,string,string,bytes32,bytes)")) ContractCallWithTokenSig = crypto.Keccak256Hash([]byte("ContractCallWithToken(address,string,string,bytes32,bytes,string,uint256)")) TokenSentSig = crypto.Keccak256Hash([]byte("TokenSent(address,string,string,string,uint256)")) )
Smart contract event signatures
Functions ¶
This section is empty.
Types ¶
type Mgr ¶
type Mgr struct {
// contains filtered or unexported fields
}
Mgr manages all communication with Ethereum
func NewMgr ¶
func NewMgr(rpcs map[string]rpc.Client, cliCtx sdkClient.Context, broadcaster types.Broadcaster, logger tmLog.Logger, cdc *codec.LegacyAmino) *Mgr
NewMgr returns a new Mgr instance
func (Mgr) ProcessDepositConfirmation ¶
ProcessDepositConfirmation votes on the correctness of an EVM chain token deposit
func (Mgr) ProcessGatewayTxConfirmation ¶ added in v0.17.0
ProcessGatewayTxConfirmation votes on the correctness of an EVM chain gateway's transactions
func (Mgr) ProcessNewChain ¶
ProcessNewChain notifies the operator that vald needs to be restarted/udpated for a new chain
func (Mgr) ProcessTokenConfirmation ¶
ProcessTokenConfirmation votes on the correctness of an EVM chain token deployment
Click to show internal directories.
Click to hide internal directories.