Commit b086b896 authored by vicotor's avatar vicotor

update abi

parent 32628d1d
...@@ -50,8 +50,8 @@ func (s *ChainSync) ParseTransferInConfirmation(log *types.Log) (*bridge.BridgeC ...@@ -50,8 +50,8 @@ func (s *ChainSync) ParseTransferInConfirmation(log *types.Log) (*bridge.BridgeC
return s.bridgeCa.ParseTransferInConfirmation(*log) return s.bridgeCa.ParseTransferInConfirmation(*log)
} }
func (s *ChainSync) ParseTokenConfigChanged(log *types.Log) (*bridge.BridgeContractTokenConfigChanged, error) { func (s *ChainSync) ParseTokenConfigChanged(log *types.Log) (*bridge.BridgeContractTokenOutConfigChanged, error) {
return s.bridgeCa.ParseTokenConfigChanged(*log) return s.bridgeCa.ParseTokenOutConfigChanged(*log)
} }
func (s *ChainSync) GetReceiveToken(token common.Address, toChainId int64) (string, error) { func (s *ChainSync) GetReceiveToken(token common.Address, toChainId int64) (string, error) {
......
...@@ -45,7 +45,7 @@ const ( ...@@ -45,7 +45,7 @@ const (
EVENT_TRANSFER_IN_CONFIRMATION = "TransferInConfirmation" EVENT_TRANSFER_IN_CONFIRMATION = "TransferInConfirmation"
EVENT_TRANSFER_IN_REJECTION = "TransferInRejection" EVENT_TRANSFER_IN_REJECTION = "TransferInRejection"
EVENT_TRANSFER_IN_EXECUTION = "TransferInExecution" EVENT_TRANSFER_IN_EXECUTION = "TransferInExecution"
EVENT_TOKENCONFIGCHANGED = "TokenConfigChanged" EVENT_TOKENCONFIGCHANGED = "TokenOutConfigChanged"
) )
type ValidatorOp int type ValidatorOp int
......
This diff is collapsed.
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
"type": "bool" "type": "bool"
} }
], ],
"name": "TokenConfigChanged", "name": "TokenOutConfigChanged",
"type": "event" "type": "event"
}, },
{ {
......
...@@ -22,7 +22,7 @@ type ChainInterface interface { ...@@ -22,7 +22,7 @@ type ChainInterface interface {
ParseTransferInExecution(log *types.Log) (*bridge.BridgeContractTransferInExecution, error) ParseTransferInExecution(log *types.Log) (*bridge.BridgeContractTransferInExecution, error)
ParseTransferInRejection(log *types.Log) (*bridge.BridgeContractTransferInRejection, error) ParseTransferInRejection(log *types.Log) (*bridge.BridgeContractTransferInRejection, error)
ParseTransferInConfirmation(log *types.Log) (*bridge.BridgeContractTransferInConfirmation, error) ParseTransferInConfirmation(log *types.Log) (*bridge.BridgeContractTransferInConfirmation, error)
ParseTokenConfigChanged(log *types.Log) (*bridge.BridgeContractTokenConfigChanged, error) ParseTokenConfigChanged(log *types.Log) (*bridge.BridgeContractTokenOutConfigChanged, error)
GetReceiveToken(token common.Address, toChainId int64) (string, error) GetReceiveToken(token common.Address, toChainId int64) (string, error)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment