Tinyman Docs
  • Tinyman V2 Overview
  • About Tinyman
  • Protocol Specification
    • Pool
      • Pool Creation
      • Adding Liquidity
      • Removing Liquidity
    • Swap
    • Fees
    • Flash Loan
    • Flash Swap
    • Additional Notes
  • FAQ
    • Migration FAQ
  • Fees
  • Permissioned Methods
    • Roles
    • Methods
    • Related Non-Permissioned Methods
  • Formulae
  • Disclaimer
  • Contracts
  • Audits & Security
  • Token and Governance
    • TINY Token Details
    • Governance Details
      • Overview
      • Governance Vault
      • Governance Rewards
      • Governance Process
      • TINY Farming
  • V2 Integration
    • Protocol Methods
      • Bootstrap
      • Add Initial Liquidity
      • Add Subsequent Liquidity
      • Remove Liquidity
      • Swap
      • Flash Loan
      • Flash Swap
    • State Data
    • Oracle Data
    • Calculating Quotes
    • Official SDKs
  • Swap Router
    • Transaction Specification
  • Swap Widget
    • Customization Preferences
    • How to export your Widget
  • Lending Pools
  • Trigger Orders & Recurring Orders
  • Liquid Staking
    • Liquid Staking
  • Tinyman V1
    • Overview
    • Tinyman AMM Basics
      • Creating Pools
      • Slippage & Excess
      • Farming
    • FAQ
    • Fees
    • Design Doc
    • Contracts
    • Tinyman Testnet
    • Disclaimer
    • Audits
    • Security
  • V1 Integration
    • Pool Lookup
    • Transaction Specifications
      • Bootstrap Pool
      • OptIn
      • Swap
      • Mint
      • Burn
      • Redeem
      • Create Validator App
      • Redeem Protocol Fees
    • Official SDKs
    • Community SDKs
  • Tinyman Presentations
  • Known Issues
    • 2021-11-12 - Pool overflow errors
Powered by GitBook
On this page
  • Transaction
  • Validator App State Changes

Was this helpful?

  1. V1 Integration
  2. Transaction Specifications

Create Validator App

Create/deploy the Validator App.

This transaction is sent once to create the Tinyman Validator App. No user should ever send this.

Transaction

  1. App Call - Create Validator App

    • signed by Creator

{
  "txn": {
    "type": "appl",
    "snd": "{CREATOR_ADDRESS}",
    "apid": 0,
    "apan": 0, // OnComplete: NoOp
    "apaa": ['Y3JlYXRl'] // ['create']
    "apls": {"nui": 16}, // Local State Schema: num_uints=16
    "apap": {APPROVAL_PROGRAM_BYTES},
    "apsu": {CLEAR_STATE_PROGRAM_BYTES},
    ...
  },
}

Validator App State Changes

Global State

None

Creator Account Local State

None

PreviousRedeemNextRedeem Protocol Fees

Last updated 3 years ago

Was this helpful?