Add config endpoint

This commit is contained in:
laisolizq
2020-10-19 17:02:29 +02:00
parent eb54162fb8
commit f90de219ac
8 changed files with 261 additions and 91 deletions

View File

@@ -19,11 +19,11 @@ import (
// WDelayerConstants are the constants of the Rollup Smart Contract
type WDelayerConstants struct {
// Max Withdrawal Delay
MaxWithdrawalDelay uint64
MaxWithdrawalDelay uint64 `json:"maxWithdrawalDelay"`
// Max Emergency mode time
MaxEmergencyModeTime uint64
MaxEmergencyModeTime uint64 `json:"maxEmergencyModeTime"`
// HermezRollup smartcontract address
HermezRollup ethCommon.Address
HermezRollup ethCommon.Address `json:"hermezRollup"`
}
// DepositState is the state of Deposit