syntax = "proto3"; package dymensionxyz.dymension.rollapp; option go_package = "github.com/dymensionxyz/dymension/v3/x/rollapp/types"; import "gogoproto/gogo.proto"; import "dymension/rollapp/state_info.proto"; import "dymension/rollapp/bank.proto"; // Rollapp defines a rollapp object. First the RollApp is created and then // sequencers can be created and attached. The RollApp is identified by rollappId message Rollapp { // The unique identifier of the rollapp chain. // The rollappId follows the same standard as cosmos chain_id. string rollappId = 1; // creator is the bech32-encoded address of the rollapp creator. string creator = 2; // version is the software and configuration version. // starts from 1 and increases by one on every MsgUpdateState uint64 version = 3; // codeStamp is a generated hash for unique identification of the rollapp code. string codeStamp = 4 [deprecated=true]; // genesisPath is the description of the genesis file location on the DA. string genesisPath = 5 [deprecated=true]; // maxWithholdingBlocks is the maximum number of blocks for // an active sequencer to send a state update (MsgUpdateState). uint64 maxWithholdingBlocks = 6 [deprecated=true]; // maxSequencers is the maximum number of sequencers. uint64 maxSequencers = 7; // permissionedAddresses is a bech32-encoded address list of the sequencers that are allowed to serve this rollappId. // In the case of an empty list, the rollapp is considered permissionless. repeated string permissionedAddresses = 8; // tokenMetadata is a list of TokenMetadata that are registered on this rollapp repeated TokenMetadata tokenMetadata = 9; } // Rollapp summary is a compact representation of Rollapp message RollappSummary { // The unique identifier of the rollapp chain. // The rollappId follows the same standard as cosmos chain_id. string rollappId = 1; // Defines the index of the last rollapp UpdateState. StateInfoIndex latestStateIndex = 2; // Defines the index of the last rollapp UpdateState that was finalized. StateInfoIndex latestFinalizedStateIndex = 3; }