Exemple #1
0
 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()
Exemple #2
0
    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()
Exemple #3
0
    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()
Exemple #4
0
    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()
Exemple #6
0
 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()
Exemple #7
0
    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()
Exemple #8
0
 def __init__(self) -> None:        
     # Metadata, inputs and outputs
     self.BaseTx = BaseTx()
     # Who is authorized to manage this subnet
     self.Owner = Verifiable()