Parameters
Returns
- stateobject
GenesisState struct containing all persistent data related to the Peggy module
- paramsobject
Configuration parameters that govern the behavior of the Peggy bridge
- peggy_idstring
Unique identifier used to prevent replay attacks across Peggy instances
- contract_source_hashstring
Hash of the Ethereum smart contract source code for validation purposes
- bridge_ethereum_addressstring
Ethereum address of the deployed Peggy bridge contract
- bridge_chain_idstring
Ethereum chain ID where the bridge contract is deployed
- signed_valsets_windowstring
Number of blocks within which validators must sign valsets
- signed_batches_windowstring
Number of blocks within which validators must sign outgoing transaction batches
- signed_claims_windowstring
Number of blocks within which claims (attestations) must be signed
- target_batch_timeoutstring
Target timeout (in blocks) for outgoing batches to be submitted on Ethereum
- average_block_timestring
Estimated average block time on the Cosmos chain (in milliseconds)
- average_ethereum_block_timestring
Estimated average block time on Ethereum (in milliseconds)
- slash_fraction_valsetstring
Fraction of stake slashed for failing to sign valsets
- slash_fraction_batchstring
Fraction of stake slashed for failing to sign outgoing batches
- slash_fraction_claimstring
Fraction of stake slashed for failing to attest claims
- slash_fraction_conflicting_claimstring
Fraction of stake slashed for submitting conflicting attestations
- unbond_slashing_valsets_windowstring
Window after unbonding during which missed valset signing can still be slashed
- slash_fraction_bad_eth_signaturestring
Fraction of stake slashed for submitting an invalid Ethereum signature
- cosmos_coin_denomstring
Denomination of the native Cosmos-side token represented on Ethereum
- cosmos_coin_erc20_contractstring
Ethereum address of the ERC20 contract representing the native Cosmos token
- claim_slashing_enabledboolean
Indicates whether slashing is enabled for missed or conflicting claims
- bridge_contract_start_heightstring
Block height when the bridge contract was first deployed on Ethereum
- valset_rewardobject
Reward paid to validators for relaying valset updates to Ethereum
- denomstring
Denomination of the token used for rewards
- amountstring
Amount of the reward
- adminsarray
List of addresses with admin privileges over the Peggy module
- segregated_wallet_addressstring
Ethereum address designated to receive funds from blacklisted addresses
- last_observed_noncestring
The most recent batch nonce observed and confirmed by the bridge
- valsetsarray
List of validator sets used to relay messages to Ethereum, each including power and Ethereum addresses
- noncestring
Unique identifier for the validator set
- membersarray
Members of the validator set
- powerstring
Voting power of the validator in the set
- ethereum_addressstring
Ethereum address associated with the validator
- heightstring
Block height at which this valset was created
- reward_amountstring
Optional reward amount given for relaying this valset
- reward_tokenstring
Ethereum address of the token used for valset rewards
- valset_confirmsarray
List of confirmations from validators for valset messages
- noncestring
Valset nonce being confirmed
- orchestratorstring
Cosmos orchestrator address submitting the confirmation
- eth_addressstring
Ethereum address of the validator submitting the signature
- signaturestring
Ethereum signature over the valset message
- batchesarray
List of outgoing token transfer batches pending submission to Ethereum
- batch_noncestring
Unique identifier for the batch
- batch_timeoutstring
Block height or timestamp after which the batch becomes invalid
- transactionsarray
Array of token transfer transactions included in the batch
- idstring
Unique identifier for the transaction
- senderstring
Cosmos address initiating the transfer
- dest_addressstring
Ethereum address receiving the tokens
- erc20_tokenobject
ERC20 token being transferred
- contractstring
Ethereum contract address of the token
- amountstring
Amount of tokens to transfer
- erc20_feeobject
ERC20 token used as transaction fee
- contractstring
Ethereum contract address of the fee token
- amountstring
Fee amount paid for processing the transaction
- token_contractstring
Ethereum contract address of the primary token for the batch
- blockstring
Cosmos block height when the batch was created
- batch_confirmsarray
Validator confirmations for outgoing transaction batches
- noncestring
Batch nonce being confirmed
- token_contractstring
ERC20 token contract used in the batch
- eth_signerstring
Ethereum address of the validator signing the batch
- orchestratorstring
Cosmos orchestrator address submitting the batch confirmation
- signaturestring
Validator signature over the batch data
- valsetsarray
List of validator sets used to relay messages to Ethereum, each including power and Ethereum addresses
- noncestring
Unique identifier for the validator set
- membersarray
Members of the validator set
- powerstring
Voting power of the validator in the set
- ethereum_addressstring
Ethereum address associated with the validator
- heightstring
Block height at which this valset was created
- reward_amountstring
Optional reward amount given for relaying this valset
- reward_tokenstring
Ethereum address of the token used for valset rewards
- valset_confirmsarray
List of confirmations from validators for valset messages
- noncestring
Valset nonce being confirmed
- orchestratorstring
Cosmos orchestrator address submitting the confirmation
- eth_addressstring
Ethereum address of the validator submitting the signature
- signaturestring
Ethereum signature over the valset message
- batchesarray
List of outgoing token transfer batches pending submission to Ethereum
- batch_noncestring
Unique identifier for the batch
- batch_timeoutstring
Block height or timestamp after which the batch becomes invalid
- transactionsarray
Array of token transfer transactions included in the batch
- idstring
Unique identifier for the transaction
- senderstring
Cosmos address initiating the transfer
- dest_addressstring
Ethereum address receiving the tokens
- erc20_tokenobject
ERC20 token being transferred
- contractstring
Ethereum contract address of the token
- amountstring
Amount of tokens to transfer
- erc20_feeobject
ERC20 token used as transaction fee
- contractstring
Ethereum contract address of the fee token
- amountstring
Fee amount paid for processing the transaction
- token_contractstring
Ethereum contract address of the primary token for the batch
- blockstring
Cosmos block height when the batch was created
- batch_confirmsarray
Validator confirmations for outgoing transaction batches
- noncestring
Batch nonce being confirmed
- token_contractstring
ERC20 token contract used in the batch
- eth_signerstring
Ethereum address of the validator signing the batch
- orchestratorstring
Cosmos orchestrator address submitting the batch confirmation
- signaturestring
Validator signature over the batch data
- attestationsarray
List of claims and voting results on observed events from Ethereum
- observedboolean
Indicates whether the claim has been successfully observed and processed
- votesarray
Addresses of validators that voted to observe the event
- heightstring
Block height when the attestation was created
- claimobject
Generic protobuf-encoded claim for the attestation
- @typestring
Protobuf type identifier for the claim
- event_noncestring
Event nonce used to order claims correctly
- valset_noncestring
Unique nonce for this validator set
- block_heightstring
Block height at which this claim was created
- membersarray
List of validators in the updated validator set
- powerstring
Voting power of the validator
- ethereum_addressstring
Ethereum address of the validator
- reward_amountstring
Amount of reward given for relaying this claim
- reward_tokenstring
Token address used for the reward
- orchestratorstring
Address of the orchestrator who submitted the claim
- orchestrator_addressesarray
Mapping between Cosmos validator operator addresses and their associated orchestrator and Ethereum addresses
- senderstring
Cosmos validator operator address
- orchestratorstring
Cosmos address of the orchestrator process
- eth_addressstring
Ethereum address of the validator
- erc20_to_denomsarray
List of ERC20-to-Cosmos denom mappings for bridged tokens
- erc20string
Ethereum contract address of the ERC20 token
- denomstring
Corresponding Cosmos denomination for the token
- unbatched_transfersarray
List of token transfers not yet grouped into an outgoing batch
- idstring
Unique identifier for the transfer
- senderstring
Cosmos address of the sender
- dest_addressstring
Ethereum address of the recipient
- erc20_tokenobject
Token being transferred
- contractstring
Ethereum address of the token contract
- amountstring
Amount of tokens to transfer
- erc20_feeobject
Fee applied to the transfer
- contractstring
Ethereum address of the fee token contract
- amountstring
Amount of fee in tokens
- last_observed_ethereum_heightstring
Most recent Ethereum block height observed by the bridge
- last_outgoing_batch_idstring
Identifier of the most recently created outgoing batch
- last_outgoing_pool_idstring
Identifier of the most recently used outgoing pool
- last_observed_valsetobject
Last validator set that was confirmed and submitted to Ethereum
- noncestring
Valset nonce
- membersarray
Members of the validator set
- powerstring
Voting power of the validator
- ethereum_addressstring
Ethereum address of the validator
- heightstring
Block height when the valset was created
- reward_amountstring
Amount of reward paid to relay the valset
- reward_tokenstring
Ethereum address of the reward token
- ethereum_blacklistarray
List of Ethereum addresses blacklisted from receiving bridged tokens