saffron.finance
HomeGovernanceLaunch App
  • Introduction
  • Saffron Finance
    • ♨️ Saffron V2
      • Saffron KCC
        • Saffron Converter
        • Saffron Insurance Fund
        • Saffron Mojito Adapter v2
        • Saffron Mojito Auto Compounder
        • Saffron Pool v2
        • Saffron Position NFT
        • Saffron Position Token
      • Saffron V2 Protocol
      • Saffron Staking V2
        • Saffron Staking V2
        • SFI Rewarder
    • 🌺Saffron V1
    • 🎓Saffron Academy
    • 📝Whitepaper
  • Governance
    • Vote
    • Governance
  • Community
    • Twitter
    • Telegram
    • Discord
    • Github
    • Medium
    • Youtube
Powered by GitBook
On this page
  • Introduction
  • Miscellaneous State Variables

Was this helpful?

  1. Saffron Finance
  2. ♨️ Saffron V2
  3. Saffron KCC

Saffron Position Token

PreviousSaffron Position NFTNextSaffron V2 Protocol

Last updated 3 years ago

Was this helpful?

Introduction

Saffron Position Token

Miscellaneous State Variables

Type
Visibility
Name
Description

address

public

pool

Address of SaffronV2 pool that owns this token

Constructor

constructor(string memory name, string memory symbol) ERC20(name, symbol) {
Type
Name
Description

string

name_

Name of position tokens

string

symbol_

Symbol for position tokens

mint()

Mint Position Tokens as part of a deposit

function mint(address _to, uint256 _amount) external returns (uint256)
Type
Name
Description

address

_to

Recipient of newly minted tokens

uint256

_amount

Amount (Wei) of Position Tokens to be minted

burn()

Burn Position Tokens as part of a withdrawal

function burn(address _account, uint256 _amount) public
Type
Name
Description

address

_acount

Account to have tokens burned from

uint256

_amount

Amount (Wei) of Position Tokens to be burned

Source Code
Source Code
Source Code
Source Code