/
contract.go
37 lines (35 loc) · 1013 Bytes
/
contract.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
package client
type Contracts struct {
FungibleToken string
FlowToken string
FlowFee string
StakingTable string
LockedTokens string
NonFungibleToken string
StakingProxy string
ChainID string
}
func MainnetContracts() Contracts {
return Contracts{
FungibleToken: "0xf233dcee88fe0abe",
FlowToken: "0x1654653399040a61",
FlowFee: "0xf919ee77447b7497",
StakingTable: "0x8624b52f9ddcd04a",
LockedTokens: "0x8d0e87b65159ae63",
NonFungibleToken: "0x1d7e57aa55817448",
StakingProxy: "0x62430cf28c26d095",
ChainID: "Mainnet",
}
}
func TestnetContracts() Contracts {
return Contracts{
FungibleToken: "0x9a0766d93b6608b7",
FlowToken: "0x7e60df042a9c0868",
FlowFee: "0x912d5440f7e3769e",
StakingTable: "0x9eca2b38b18b5dfe",
LockedTokens: "0x95e019a17d0e23d7",
NonFungibleToken: "0x631e88ae7f1d7c20",
StakingProxy: "0x7aad92e5a0715d21",
ChainID: "Testnet",
}
}