1
This commit is contained in:
9
abis/ethereumabi/usdc.go
Normal file
9
abis/ethereumabi/usdc.go
Normal file
@ -0,0 +1,9 @@
|
||||
package ethereumabi
|
||||
|
||||
import "go-admin/abis"
|
||||
|
||||
var USDCErc20 = abis.TokenABI{
|
||||
Address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
|
||||
TestAddress: "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238",
|
||||
Decimals: 6,
|
||||
}
|
||||
10
abis/token.go
Normal file
10
abis/token.go
Normal file
@ -0,0 +1,10 @@
|
||||
package abis
|
||||
|
||||
type TokenABI struct {
|
||||
//token 合约地址
|
||||
Address string
|
||||
//测试网地址
|
||||
TestAddress string
|
||||
//token 最小单位位数
|
||||
Decimals int
|
||||
}
|
||||
Reference in New Issue
Block a user