Jungle 4 (Testnet)

powerbot

Contract

The actions for this contract with their input parameters and potential response data.

  • Confirm the debit happened

    Confirm the chain cost of a top-up was observed and debited

    Request Parameters
    No action parameters.
  • Claim earnings

    Claim {{nowrap quantity}} of earnings to {{nowrap to}}

    Request Parameters
    to name
    quantity asset
  • Close a balance

    Close the powerbot balance of {{nowrap funder}}

    Request Parameters
    funder name
  • Close a pool

    Close the credit pool {{nowrap pool}}

    Request Parameters
    pool name
  • Configure one account

    Change how {{nowrap beneficiary}} is kept usable for {{nowrap funder}}

    Request Parameters
    funder name
    beneficiary name
    cpu_floor_ms uint32?
    net_floor_kb uint32?
    cpu_increment_ms uint32?
    net_increment_kb uint32?
    paused bool
  • Defund a pool

    Withdraw {{nowrap quantity}} from the credit pool {{nowrap pool}}

    Request Parameters
    pool name
    quantity asset
  • Erase an allowance

    Erase the allowance of {{nowrap funder}}

    Request Parameters
    funder name
  • Erase a standing order

    Erase the standing order of {{nowrap funder}}

    Request Parameters
    funder name
  • Expire lapsed credit

    Remove {{nowrap funder}}'s lapsed credit

    Request Parameters
    funder name
  • Grant credit

    Grant {{nowrap quantity}} of credit to {{nowrap funder}}

    Request Parameters
    funder name
    pool name
    quantity asset
    expires_at time_point_sec
  • Disclose a top-up

    Disclose a top-up of {{nowrap beneficiary}} charged to {{nowrap funder}}

    Request Parameters
    funder name
    beneficiary name
    chain_cost asset
    provider_fee asset
    cpu_ms uint32
    net_kb uint32
    memo string
  • Open a balance

    Open a powerbot balance for {{nowrap funder}}

    Request Parameters
    funder name
  • Open a pool

    Open the credit pool {{nowrap pool}}

    Request Parameters
    pool name
    owner name
  • Grant an allowance

    Let the accounts {{nowrap funder}} names settle fees from its balance

    Request Parameters
    funder name
    beneficiaries name[]
    patterns action_pattern[]
  • Publish operator bounds

    Publish the limits and defaults the operator will honor

    Request Parameters
    min_cpu_ms uint32
    max_cpu_ms uint32
    min_net_kb uint32
    max_net_kb uint32
    default_cpu_floor_ms uint32
    default_cpu_increment_ms uint32
    default_net_floor_kb uint32
    default_net_increment_kb uint32
  • Publish a watcher cpu sample

    Publish one measurement of the cpu the watcher spends on a top-up

    Request Parameters
    watcher_cpu_us uint32
  • Publish fee parameters

    Publish the parameters the provider computes its fee from

    Request Parameters
    rate_bp uint32
    u_pool_bp uint32
    ram_carry_rate_bp uint32
  • Write a standing order

    Keep the accounts {{nowrap funder}} names usable

    Request Parameters
    funder name
    entries beneficiary_entry[]
  • Sweep surplus

    Sweep {{nowrap quantity}} of {{nowrap token_contract}} to {{nowrap to}}

    Request Parameters
    to name
    token_contract name
    quantity asset
  • Top up a covered account

    Buy resources for {{nowrap beneficiary}} out of the balance of {{nowrap funder}}

    Request Parameters
    funder name
    beneficiary name
    cpu_ms uint32
    net_kb uint32
    cpu_frac int64
    net_frac int64
    max_payment asset
    fee asset
    memo string
  • Settle a transaction fee

    Pay {{nowrap fee}} from the balance of {{nowrap funder}} for a transaction {{nowrap beneficiary}} signed

    Request Parameters
    provider name
    funder name
    beneficiary name
    fee asset
    memo string
  • Withdraw

    Withdraw {{nowrap quantity}} to {{nowrap funder}}

    Request Parameters
    funder name
    quantity asset