示例#1
0
    def __init__(self,
                 tx_id=None,
                 tx=None,
                 height=None,
                 in_tx=None,
                 action=None,
                 out_txs=None,
                 _configuration=None):  # noqa: E501
        """TxSigners - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._tx_id = None
        self._tx = None
        self._height = None
        self._in_tx = None
        self._action = None
        self._out_txs = None
        self.discriminator = None

        if tx_id is not None:
            self.tx_id = tx_id
        if tx is not None:
            self.tx = tx
        if height is not None:
            self.height = height
        if in_tx is not None:
            self.in_tx = in_tx
        if action is not None:
            self.action = action
        if out_txs is not None:
            self.out_txs = out_txs
示例#2
0
    def __init__(self, tx=None, status=None, out_hashes=None, block_height=None, signers=None, observed_pub_key=None, _configuration=None):  # noqa: E501
        """Tx - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._tx = None
        self._status = None
        self._out_hashes = None
        self._block_height = None
        self._signers = None
        self._observed_pub_key = None
        self.discriminator = None

        if tx is not None:
            self.tx = tx
        if status is not None:
            self.status = status
        if out_hashes is not None:
            self.out_hashes = out_hashes
        if block_height is not None:
            self.block_height = block_height
        if signers is not None:
            self.signers = signers
        if observed_pub_key is not None:
            self.observed_pub_key = observed_pub_key
示例#3
0
    def __init__(self, balance_rune=None, balance_asset=None, asset=None, pool_units=None, status=None, synth_units=None, pending_inbound_rune=None, pending_inbound_asset=None, _configuration=None):  # noqa: E501
        """Pool - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._balance_rune = None
        self._balance_asset = None
        self._asset = None
        self._pool_units = None
        self._status = None
        self._synth_units = None
        self._pending_inbound_rune = None
        self._pending_inbound_asset = None
        self.discriminator = None

        if balance_rune is not None:
            self.balance_rune = balance_rune
        if balance_asset is not None:
            self.balance_asset = balance_asset
        if asset is not None:
            self.asset = asset
        if pool_units is not None:
            self.pool_units = pool_units
        if status is not None:
            self.status = status
        if synth_units is not None:
            self.synth_units = synth_units
        if pending_inbound_rune is not None:
            self.pending_inbound_rune = pending_inbound_rune
        if pending_inbound_asset is not None:
            self.pending_inbound_asset = pending_inbound_asset
    def __init__(self,
                 chain=None,
                 last_observed_in=None,
                 last_sign_out=None,
                 thorchain=None,
                 _configuration=None):  # noqa: E501
        """LastBlockHeight - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._chain = None
        self._last_observed_in = None
        self._last_sign_out = None
        self._thorchain = None
        self.discriminator = None

        if chain is not None:
            self.chain = chain
        if last_observed_in is not None:
            self.last_observed_in = last_observed_in
        if last_sign_out is not None:
            self.last_sign_out = last_sign_out
        if thorchain is not None:
            self.thorchain = thorchain
示例#5
0
    def __init__(self,
                 bond_reward_rune=None,
                 total_bond_units=None,
                 total_reserve=None,
                 burned_bep_2_rune=None,
                 burned_erc_20_rune=None,
                 _configuration=None):  # noqa: E501
        """Network - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._bond_reward_rune = None
        self._total_bond_units = None
        self._total_reserve = None
        self._burned_bep_2_rune = None
        self._burned_erc_20_rune = None
        self.discriminator = None

        if bond_reward_rune is not None:
            self.bond_reward_rune = bond_reward_rune
        if total_bond_units is not None:
            self.total_bond_units = total_bond_units
        if total_reserve is not None:
            self.total_reserve = total_reserve
        if burned_bep_2_rune is not None:
            self.burned_bep_2_rune = burned_bep_2_rune
        if burned_erc_20_rune is not None:
            self.burned_erc_20_rune = burned_erc_20_rune
示例#6
0
    def __init__(self, chain=None, to=None, vault_pubkey=None, coin=None, memo=None, max_gas=None, gas_rate=None, in_hash=None, out_hash=None, _configuration=None):  # noqa: E501
        """TxOutItem - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._chain = None
        self._to = None
        self._vault_pubkey = None
        self._coin = None
        self._memo = None
        self._max_gas = None
        self._gas_rate = None
        self._in_hash = None
        self._out_hash = None
        self.discriminator = None

        if chain is not None:
            self.chain = chain
        if to is not None:
            self.to = to
        if vault_pubkey is not None:
            self.vault_pubkey = vault_pubkey
        if coin is not None:
            self.coin = coin
        if memo is not None:
            self.memo = memo
        if max_gas is not None:
            self.max_gas = max_gas
        if gas_rate is not None:
            self.gas_rate = gas_rate
        if in_hash is not None:
            self.in_hash = in_hash
        if out_hash is not None:
            self.out_hash = out_hash
示例#7
0
    def __init__(self, chain=None, router=None, _configuration=None):  # noqa: E501
        """ChainRouter - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._chain = None
        self._router = None
        self.discriminator = None

        if chain is not None:
            self.chain = chain
        if router is not None:
            self.router = router
示例#8
0
    def __init__(self, keygen_block=None, signature=None, _configuration=None):  # noqa: E501
        """Keygen - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._keygen_block = None
        self._signature = None
        self.discriminator = None

        if keygen_block is not None:
            self.keygen_block = keygen_block
        if signature is not None:
            self.signature = signature
示例#9
0
    def __init__(self, swap=None, outbound=None, internal=None, _configuration=None):  # noqa: E501
        """OutboundQueue - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._swap = None
        self._outbound = None
        self._internal = None
        self.discriminator = None

        if swap is not None:
            self.swap = swap
        if outbound is not None:
            self.outbound = outbound
        if internal is not None:
            self.internal = internal
示例#10
0
    def __init__(self,
                 current=None,
                 next=None,
                 _configuration=None):  # noqa: E501
        """Version - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._current = None
        self._next = None
        self.discriminator = None

        if current is not None:
            self.current = current
        if next is not None:
            self.next = next
示例#11
0
    def __init__(self,
                 asset=None,
                 amount=None,
                 _configuration=None):  # noqa: E501
        """Coin - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._asset = None
        self._amount = None
        self.discriminator = None

        if asset is not None:
            self.asset = asset
        if amount is not None:
            self.amount = amount
示例#12
0
    def __init__(self,
                 chain=None,
                 address=None,
                 _configuration=None):  # noqa: E501
        """ChainAddress - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._chain = None
        self._address = None
        self.discriminator = None

        if chain is not None:
            self.chain = chain
        if address is not None:
            self.address = address
示例#13
0
    def __init__(self,
                 asset=None,
                 rune_address=None,
                 asset_address=None,
                 last_add=None,
                 last_withdraw=None,
                 units=None,
                 pending_rune=None,
                 pending_asset=None,
                 pending_tx_id=None,
                 _configuration=None):  # noqa: E501
        """LiquidityProvider - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._asset = None
        self._rune_address = None
        self._asset_address = None
        self._last_add = None
        self._last_withdraw = None
        self._units = None
        self._pending_rune = None
        self._pending_asset = None
        self._pending_tx_id = None
        self.discriminator = None

        if asset is not None:
            self.asset = asset
        if rune_address is not None:
            self.rune_address = rune_address
        if asset_address is not None:
            self.asset_address = asset_address
        if last_add is not None:
            self.last_add = last_add
        if last_withdraw is not None:
            self.last_withdraw = last_withdraw
        if units is not None:
            self.units = units
        if pending_rune is not None:
            self.pending_rune = pending_rune
        if pending_asset is not None:
            self.pending_asset = pending_asset
        if pending_tx_id is not None:
            self.pending_tx_id = pending_tx_id
示例#14
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration

        # Use the pool property to lazily initialize the ThreadPool.
        self._pool = None
        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'Swagger-Codegen/1.0.0/python'
        self.client_side_validation = configuration.client_side_validation
示例#15
0
    def __init__(self,
                 id=None,
                 chain=None,
                 from_address=None,
                 to_address=None,
                 coins=None,
                 gas=None,
                 memo=None,
                 _configuration=None):  # noqa: E501
        """ObservedTx - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._chain = None
        self._from_address = None
        self._to_address = None
        self._coins = None
        self._gas = None
        self._memo = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if chain is not None:
            self.chain = chain
        if from_address is not None:
            self.from_address = from_address
        if to_address is not None:
            self.to_address = to_address
        if coins is not None:
            self.coins = coins
        if gas is not None:
            self.gas = gas
        if memo is not None:
            self.memo = memo
示例#16
0
 def __init__(self, _configuration=None):  # noqa: E501
     """Constants - a model defined in Swagger"""  # noqa: E501
     if _configuration is None:
         _configuration = Configuration()
     self._configuration = _configuration
     self.discriminator = None
示例#17
0
    def __init__(self,
                 node_address=None,
                 status=None,
                 pub_key_set=None,
                 validator_cons_pub_key=None,
                 bond=None,
                 active_block_height=None,
                 bond_address=None,
                 status_since=None,
                 signer_membership=None,
                 requested_to_leave=None,
                 forced_to_leave=None,
                 ip_address=None,
                 version=None,
                 slash_points=None,
                 jail=None,
                 current_award=None,
                 observe_chains=None,
                 preflight_status=None,
                 _configuration=None):  # noqa: E501
        """Node - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._node_address = None
        self._status = None
        self._pub_key_set = None
        self._validator_cons_pub_key = None
        self._bond = None
        self._active_block_height = None
        self._bond_address = None
        self._status_since = None
        self._signer_membership = None
        self._requested_to_leave = None
        self._forced_to_leave = None
        self._ip_address = None
        self._version = None
        self._slash_points = None
        self._jail = None
        self._current_award = None
        self._observe_chains = None
        self._preflight_status = None
        self.discriminator = None

        if node_address is not None:
            self.node_address = node_address
        if status is not None:
            self.status = status
        if pub_key_set is not None:
            self.pub_key_set = pub_key_set
        if validator_cons_pub_key is not None:
            self.validator_cons_pub_key = validator_cons_pub_key
        if bond is not None:
            self.bond = bond
        if active_block_height is not None:
            self.active_block_height = active_block_height
        if bond_address is not None:
            self.bond_address = bond_address
        if status_since is not None:
            self.status_since = status_since
        if signer_membership is not None:
            self.signer_membership = signer_membership
        if requested_to_leave is not None:
            self.requested_to_leave = requested_to_leave
        if forced_to_leave is not None:
            self.forced_to_leave = forced_to_leave
        if ip_address is not None:
            self.ip_address = ip_address
        if version is not None:
            self.version = version
        if slash_points is not None:
            self.slash_points = slash_points
        if jail is not None:
            self.jail = jail
        if current_award is not None:
            self.current_award = current_award
        if observe_chains is not None:
            self.observe_chains = observe_chains
        if preflight_status is not None:
            self.preflight_status = preflight_status
示例#18
0
    def __init__(self,
                 block_height=None,
                 pub_key=None,
                 coins=None,
                 type=None,
                 status=None,
                 status_since=None,
                 membership=None,
                 chains=None,
                 inbound_tx_count=None,
                 outbound_tx_count=None,
                 pending_tx_heights=None,
                 routers=None,
                 addresses=None,
                 _configuration=None):  # noqa: E501
        """AsgardVault - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._block_height = None
        self._pub_key = None
        self._coins = None
        self._type = None
        self._status = None
        self._status_since = None
        self._membership = None
        self._chains = None
        self._inbound_tx_count = None
        self._outbound_tx_count = None
        self._pending_tx_heights = None
        self._routers = None
        self._addresses = None
        self.discriminator = None

        if block_height is not None:
            self.block_height = block_height
        if pub_key is not None:
            self.pub_key = pub_key
        if coins is not None:
            self.coins = coins
        if type is not None:
            self.type = type
        if status is not None:
            self.status = status
        if status_since is not None:
            self.status_since = status_since
        if membership is not None:
            self.membership = membership
        if chains is not None:
            self.chains = chains
        if inbound_tx_count is not None:
            self.inbound_tx_count = inbound_tx_count
        if outbound_tx_count is not None:
            self.outbound_tx_count = outbound_tx_count
        if pending_tx_heights is not None:
            self.pending_tx_heights = pending_tx_heights
        if routers is not None:
            self.routers = routers
        if addresses is not None:
            self.addresses = addresses