constants

package
v0.7.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowRegistryContractName      = "WorkflowRegistry"
	BalanceReaderContractName         = "BalanceReader"
	WERC20MockContractName            = "WERC20Mock"
	ReserveManagerContractName        = "ReserveManager"
	MockKeystoneForwarderContractName = "MockKeystoneForwarder"

	MaxBinarySize                               = 20 * 1024 * 1024
	MaxConfigSize                               = 5 * 1024 * 1024
	MaxEncryptedSecretsSize                     = 5 * 1024 * 1024
	MaxURLLength                                = 200
	MaxPaginationLimit            uint32        = 100
	MaxVaultAllowlistDuration     time.Duration = 7 * 24 * time.Hour
	DefaultVaultAllowlistDuration time.Duration = 2 * 24 * time.Hour // 2 days

	DefaultSethLogLevel = "error"

	// Default Values
	DefaultSethConfigPath = "\"\""
	DefaultTimelockDelay  = "0s"

	// Default settings
	DefaultProposalExpirationTime = 60 * 60 * 24 * 3 // 72 hours

	DefaultEthSepoliaChainName  = "ethereum-testnet-sepolia"        // ETH Sepolia
	DefaultBaseSepoliaChainName = "ethereum-testnet-sepolia-base-1" // Base Sepolia
	DefaultEthMainnetChainName  = "ethereum-mainnet"                // Eth Mainnet

	DefaultEthSepoliaRpcUrl  = "https://sepolia.infura.io/v3/<YOUR-PROJECT-ID>" // ETH Sepolia
	DefaultBaseSepoliaRpcUrl = "<select your own rpc url>"                      // Base Sepolia
	DefaultEthMainnetRpcUrl  = "https://mainnet.infura.io/v3/<YOUR-PROJECT-ID>" // ETH Mainnet

	DefaultStagingDonFamily           = "zone-a" // Keystone team has to define this
	DefaultProductionTestnetDonFamily = "zone-a" // Keystone team has to define this
	DefaultProductionDonFamily        = "zone-a" // Keystone team has to define this

	DefaultProjectSettingsFileName  = "project.yaml"
	DefaultWorkflowSettingsFileName = "workflow.yaml"
	DefaultEnvFileName              = ".env"
	DefaultIsGoFileName             = "go.mod"

	AuthAuthorizePath = "/authorize"
	AuthTokenPath     = "/oauth/token"
	AuthRevokePath    = "/oauth/revoke"
	AuthBrowserLogout = "/v2/logout"

	AuthRedirectURI = "http://localhost:53682/callback"
	AuthListenAddr  = "localhost:53682"
	CreUiAuthPath   = "/auth/cli"

	WorkflowOwnerTypeEOA  = "EOA"
	WorkflowOwnerTypeMSIG = "MSIG"

	WorkflowRegistryV2TypeAndVersion = "WorkflowRegistry 2.0.0"

	TestAddress      = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
	TestAddress2     = "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
	TestAddress3     = "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
	TestAddress4     = "0x90F79bf6EB2c4f870365E785982E1f101E93b906"
	TestPrivateKey   = "ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
	TestPrivateKey2  = "59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
	TestPrivateKey3  = "5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a"
	TestPrivateKey4  = "7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6"
	TestAnvilChainID = 31337 // Anvil chain ID
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL