-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.go
39 lines (36 loc) · 2.24 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package bridge_contracts
import (
ethereumGateway "github.com/axieinfinity/bridge-contracts/generated_contracts/ethereum/gateway"
ethereumGovernance "github.com/axieinfinity/bridge-contracts/generated_contracts/ethereum/governance"
bridgeTracking "github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/bridge_tracking"
roninGateway "github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/gateway"
roninGovernance "github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/governance"
"github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/katana"
"github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/maintenance"
ronStaking "github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/ron_staking"
slashIndicator "github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/slash_indicator"
stakingVesting "github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/staking_vesting"
roninTrustedOrganization "github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/trusted_organization"
"github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/validator"
"github.com/axieinfinity/bridge-contracts/generated_contracts/ronin/wron"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
)
var ABIMaps = map[string]*bind.MetaData{
"RoninGateway": roninGateway.GatewayMetaData,
"EthereumGateway": ethereumGateway.GatewayMetaData,
"RoninValidator": validator.ValidatorMetaData,
"RoninGovernanceAdmin": roninGovernance.GovernanceMetaData,
"EthereumGovernanceAdmin": ethereumGovernance.GovernanceMetaData,
"RoninTrustedOrganization": roninTrustedOrganization.TrustedOrganizationMetaData,
"StakingVesting": stakingVesting.StakingVestingMetaData,
"Maintenance": maintenance.MaintenanceMetaData,
"SlashIndicator": slashIndicator.SlashIndicatorMetaData,
"BridgeTracking": bridgeTracking.BridgeTrackingMetaData,
"Validator": validator.ValidatorMetaData,
"Staking": ronStaking.RonStakingMetaData,
"KatanaPair": katana.KatanaPairMetaData,
"KatanaRouter": katana.KatanaRouterMetaData,
"KatanaPairV3": katana.KatanaPairV3MetaData,
"KatanaRouterV3": katana.KatanaRouterV3MetaData,
"WRON": wron.WRONMetaData,
}