LogoLogo
  • 소개
  • 프로토콜 개요
  • 핵심 개념
  • 클레이스왑의 장점
  • 위험 & 보안
  • 개인정보처리방침
  • 보안 감사
  • Tokenomics
    • KSP
      • KSP Tokenomics
      • KSP 분배율 자동화
        • KSP 분배율 반영 정책
      • KSP Allocation
  • Product
    • Swap
    • Supply & Borrow
      • 자동 반환
      • 파라미터
      • Supply & Borrow 상세정책
    • V2 Pool
    • V3 Pool (Concentrated Liquidity Pool)
      • V2 to V3 마이그레이션
        • V2 to V3 마이그레이션 가이드
        • V2 to V3 마이그레이션 상세 정책
      • V3 풀 유동성 공급
        • V3 풀 유동성 공급 가이드
        • V3 풀 유동성 공급 상세 정책
      • V3 to V3 마이그레이션
        • V3 to V3 마이그레이션 가이드
        • V3 to V3 마이그레이션 상세 정책
      • V3 풀 유동성 회수
        • V3 풀 회수 가이드
        • V3 풀 유동성 회수 상세 정책
    • KSP Staking
      • Staking 정책
    • Governance
      • Governance 투표 정책
    • Pool Airdrop
    • APR & APY
      • TVL
      • Pool
      • Staking
  • Developers
    • Contract
      • V2Factory
      • V2Exchange
      • VotingKSP
      • V2Treasury
      • Distribution
      • Governor
      • Helper
      • V3Factory
      • V3Pool
      • NonfungiblePositionManager
      • NonfungibleTokenPositionDescriptor
      • V3SwapRouter
      • V3Migrator
      • V3Estimator
      • PositionMigrator
      • V3Treasury
      • V3AirdropOperator
      • UniversalRouter
    • Airdrop
      • Airdrop Operator 권한 획득
      • Airdrop 계획 진행
  • HOW-TO GUIDES
    • 클레이스왑 가이드
    • 서비스에 연결하기
      • [클립] PC에서 연결하기
      • [클립] 모바일에서 연결하기
      • [카이카스] PC에서 연결하기
    • 활용할 자산 입금하기
      • 클레이튼 자산 입금하기
      • 이더리움/BSC 자산 입금하기
      • 리플 자산 입금하기
    • 풀에 예치하기
      • [클립] PC에서 단일 예치하기
      • [부리또월렛] 모바일에서 단일 예치하기
      • [클립] PC에서 일반 페어 예치 하기
      • [클립] 모바일에서 일반 페어 예치 하기
      • [카이카스] PC에서 일반 페어 예치하기
      • [클립] PC에서 플러스 페어 예치하기
      • [공통] 활용할 자산 선택하기
    • 풀에서 출금하기
      • [클립] PC에서 단일 예치출금하기
      • [클립] PC에서 플러스 예치 출금하기
    • KSP 스테이킹 & 풀 투표하기
      • [클립] PC에서 KSP 스테이킹 하기
      • [클립] 모바일에서 KSP 스테이킹 하기
      • [카이카스] PC에서 KSP 스테이킹 하기
      • [클립] PC에서 풀 투표 하기
      • [클립] 모바일에서 풀 투표 하기
      • [카이카스] PC에서 풀 투표 하기
    • 보상 수령하기
    • FAQ
      • 클레이스왑은 어떤 서비스인가요?
      • 클레이(KLAY) & 클레이스왑(KSP)은 무엇인가요?
      • 유동성 풀(Liquidity pool)이 무엇인가요?
      • 유동성 풀의 예치방법, 특징이 무엇인가요?
      • 왜 클레이스왑에서 예치해야 하나요?
      • 획득한 보상은 어떻게 활용하나요?
  • KLAYswap
  • Orbit Bridge
  • KLAYswap git
  • Orbit Bridge git
  • KLAYswap audit report
Powered by GitBook
On this page
  • Code
  • Events, Read-Only Functions, and State-Changing Functions
  1. Developers
  2. Contract

V3AirdropOperator

해당 컨트랙트는 각 에어드롭을 운영합니다. 에어드랍되는 LP와 토큰은 생성 시점에 결정되며 수정할 수 없습니다.

Code

Github Link: (Will be updated after official launch)

Events, Read-Only Functions, and State-Changing Functions

Read-Only Functions

getAirdropStat

function getAirdropStat() external view returns (
    uint256 totalAmount,
    uint256 blockAmount,
    uint256 distributableBlock,
    uint256 endBlock,
    uint256 distributed,
    uint256 remain,
    bool created
) 

Return Values:

Name
Type
Description

totalAmount

uint256

에어드랍 총 물량

blockAmount

uint256

블록당 에어드랍된 토큰의 양

distributableBlock

uint256

에어드랍가능한 블록의 블록 번호

endBlock

uint256

에어드랍 종료되는 블록 번호

distributed

uint256

현재 분배된 양

remain

uint256

남아있는 양

created

bool

초기화되었는지 여부

getDistributionId

function getDistributionId() public view returns (bytes32 id)
Name
Type
Description

id

bytes32

에어드랍 ID

State-Changing Functions

changeNextOwner

function changeNextOwner(address _nextOwner) external

changeOwner

function changeOwner() external

createDistribution

function createDistribution(
    uint256 totalAmount,
    uint256 blockAmount,
    uint256 startBlock
) external

Parameters:

Name
Type
Description

totalAmount

uint256

Total number of tokens to be distributed by airdrop

blockAmount

uint256

Token quantity to be distributed per block

startBlock

uint256

Airdrop start block number

deposit

function deposit(uint256 amount) external

If there is an issue of token exhaustion or extension during the airdrop process, tokens can be recharged using the AirdropOperator's Deposit function.

  • When executing the function, transfer more than the amount of tokens entered into the wallet.

  • The token specified when creating the operator is charged.

  • When recharging due to exhaustion, it will be applied from the block after recharging.

refixBlockAmount

function refixBlockAmount(uint256 blockAmount) external
  • Modify the amount of tokens distributed per block

  • It is applied from the block after the transaction is executed.

withdraw

function withdraw(address _token) external
  • The remaining tokens can be withdrawn after the Airdrop plan is in progress.

  • Withdrawal will be made to the owner's account.

PreviousV3TreasuryNextUniversalRouter

Last updated 11 months ago

Return Values:

​