Documentation ¶
Index ¶
Constants ¶
View Source
const ( GOERLI_CHAIN_ID string = "edad429038838754f84b4214613e33985e5957b09beec04ba4610bbb38fa12d0" GOERLI_CHAIN_ID_NUM int64 = 44525 //compute: (0xad<<8) + (0xed) XWC_ASSET_ID = "1.3.0" XWC_ASSET_ID_NUM = 0 XWC_ASSET_PRCISION = 100000000 PEN_ERC20_PRCISION = 100000000 )
Variables ¶
View Source
var CHAIN_ID string = GOERLI_CHAIN_ID
View Source
var CHAIN_ID_NUM int64 = GOERLI_CHAIN_ID_NUM
View Source
var ChequeBookDeployedCodeHash = []byte("482186ef6e356cf90b087e4d300c776d7ec3e39a")
[Test]cheque book contract code hash(refer: XRC20SimpleSwap.glua, python service will create it)
View Source
var DOMAIN_ID string = ""
View Source
var EntranceAddress string = "XWCNbncadY7UwGQpyP5jBMj8FLA9jTDDNU18E"
[Test] The receiver account's address
View Source
var FactoryAddress string = "XWCCbcYhJjF9vdt9Riv43Gat4ad2MnLCAYTeu"
[Test]factory contract
View Source
var FactoryDeployedCodeHash = []byte("0d17f58ca648876af170ebed1a697cdbba8680cd")
[Test]factory contract code hash
View Source
var OfflineCaller string = "penguin"
View Source
var PostageStampAddress string = "XWCCRyYKg5tn9yZ8gDfNAnGMX3HrZKs8g9hQG"
[Test]postage stamp contract
View Source
var PostageStampDeployedCodeHash = []byte("b8ce22d64dcf5df1bb0b2cc5e94c6d3e4020a76b")
[Test]postage stamp contract code hash
View Source
var StakingAddress string = "XWCCV6F9LNQ3XR3kSo75YnKaxipbnvt5rHbCL"
[Test]staking contract
View Source
var StakingAddressDeployedCodeHash = []byte("a9b34ce16a1be02469729ad0cbd5ac79e8560929")
[Test]staking contract code hash
View Source
var StakingAdmin = []byte("XWCNbncadY7UwGQpyP5jBMj8FLA9jTDDNU18E")
[Test]staking admin
Functions ¶
func RFC3339ToUTC ¶
func UTCToRFC3339 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.