def __init__(self) -> None: # Metadata, inputs and outputs self.BaseTx = BaseTx() # The validator self.Validator = SubnetValidator() # Auth that will be allowing this validator into the network self.SubnetAuth = Verifiable()
def __init__(self) -> None: self.BaseTx = BaseTx() # Which chain to consume the funds from self.SourceChain = ID() # Inputs that consume UTXOs produced on the chain self.ImportedInputs = Slice()
def __init__(self) -> None: self.BaseTx = BaseTx() # Which chain to send the funds to self.DestinationChain = ID() # Outputs that are exported to the chain self.ExportedOutputs = Slice()
def __init__(self) -> None: self.BaseTx = BaseTx() # Which chain to send the funds to self.DestinationChain = ID() # The outputs this transaction is sending to the other chain self.ExportedOuts = Slice()
def __init__(self) -> None: # Metadata, inputs and outputs self.BaseTx = BaseTx() # Describes the delegatee self.Validator = Validator() # Where to send staked tokens when done validating self.Stake = Slice() # Where to send staking rewards when done validating self.RewardsOwner = Verifiable()
def __init__(self) -> None: # Metadata, inputs and outputs self.BaseTx = BaseTx() # Describes the delegatee self.Validator = Validator() # Where to send staked tokens when done validating self.Stake = Slice() # Where to send staking rewards when done validating self.RewardsOwner = Verifiable() # Fee this validator charges delegators as a percentage, times 10,000 # For example, if this validator has Shares=300,000 then they take 30% of rewards from delegators self.Shares = Uint32()
def __init__(self) -> None: # Metadata, inputs and outputs self.BaseTx = BaseTx() # ID of the Subnet that validates this blockchain self.SubnetID = ID() # A human readable name for the chain; need not be unique self.ChainName = str() # ID of the VM running on the new chain self.VMID = ID() # IDs of the feature extensions running on the new chain self.FxIDs = Slice() # Byte representation of genesis state of the new chain self.GenesisData = Bytes() # Auth that will be allowing this validator into the network self.SubnetAuth = Verifiable()
def __init__(self) -> None: # Metadata, inputs and outputs self.BaseTx = BaseTx() # Who is authorized to manage this subnet self.Owner = Verifiable()