Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_EVM_GAS_LIMIT = 200000 DEFAULT_TSS_FEE = "1000000000000000000" // 1e16 0.01 DEFAULT_ST_TOKEN_AMOUNT = "1000000000000000000" // 1e16 0.01 DEFAULT_DEPOSIT_STAKER_FEE = "1000000000000000000" // 1e16 0.01 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type E2ETestConfig ¶
type EVM ¶
type EVM struct {
Rpc string `yaml:"rpc"`
// pell releated
Connector string `yaml:"connector"`
StERC20Addr string `yaml:"st_erc20_addr"`
StrategyAddr string `yaml:"strategy_addr"`
StrategyManagerAddr string `yaml:"strategy_manager_addr"`
DelegationManagerAddr string `yaml:"delegation_manager_addr"`
TssManagerAddr string `yaml:"tss_manager_addr"`
E2ETestConfig E2ETestConfig `yaml:"e2e_test_config"`
PellTokenAddr string `yaml:"pell_token_addr"`
GatewayEVMAddr string `yaml:"gateway_evm_addr"`
GasSwapEVMAddr string `yaml:"gas_swap_evm_addr"`
CentralSchedulerAddr string `yaml:"central_scheduler_addr"`
OperatorStakeManagerAddr string `yaml:"operator_stake_manager_addr"`
EjectionManagerAddr string `yaml:"ejection_manager_addr"`
}
type PEVMContracts ¶
type PEVMContracts struct {
PellDelegationManageInteractor string `yaml:"pell_delegation_manager_interactor"`
PellDelegationManager string `yaml:"pell_delegation_manager"`
PellDvsDirectory string `yaml:"pell_dvs_directory"`
PellRegistryRouter string `yaml:"pell_registry_router"`
PellSlasher string `yaml:"pell_slasher"`
PellStrategyManager string `yaml:"pell_strategy_manager"`
PellTokenAddress string `yaml:"pell_token_addr"`
PellGatewayAddr string `yaml:"pell_gateway_addr"`
PellGasSwapAddr string `yaml:"pell_gas_swap_addr"`
PellRegistryRouterFactory string `yaml:"pell_registry_router_factory"`
}
pell releated
type PellConfig ¶
type PellConfig struct {
Accounts TestAccounts `yaml:"accounts"`
Rpcs Rpcs `yaml:"rpcs"`
PEVM PEVMContracts `yaml:"pevm"`
MultiChain []EVM `yaml:"multi_chain"`
PellChainId string `yaml:"pell_chain_id"`
Setup SetupFlag `yaml:"setup"`
}
func Default ¶
func Default() *PellConfig
func LoadConfig ¶
func LoadConfig(configFile string) (*PellConfig, error)
GetConfig returns config from file from the command line flag
func (*PellConfig) Export ¶
func (conf *PellConfig) Export(path string) error
func (*PellConfig) Validate ¶
func (conf *PellConfig) Validate()
type TestAccounts ¶
type TestAccounts struct {
EVMAddress string `yaml:"evm_address"`
EVMPrivKey string `yaml:"evm_priv_key"`
EVMAdminPrivKey string `yaml:"evm_admin_priv_key"`
FungibleAdminMnemonic string `yaml:"fungible_admin_mnemonic"`
DeployerPrivKey string `yaml:"deployer_priv_key"`
DeployerAddress string `yaml:"deployer_address"`
}
Click to show internal directories.
Click to hide internal directories.