Quipuswap
Search…
introduction
What is QuipuSwap?
Participants
QuipuSwap subprojects
Get Started
Install Wallet
How to get TEZ
How to find my tokens
Connect wallet
FAQ
Dex Guides
Overview
Types of the exchange (Token/TEZ, Token/Token)
How to use the DEX
Tezos Tokens
What is a Token?
What is the difference between FA1.2 and FA2 standards?
QUIPU Tokenomics
Smart Contracts
Dex token edition
QuipuSwap stable swap DEX
Dex 2.0
⁉
Errors overview
🥐
BakerRegistry contract
⚙
FlashSwapsProxy contract
🧺
Bucket contract
⚖
Auction contract
🏦
DexCore contract
Storage and types overview
Entrypoints overview
On-chain views overview
check_is_banned_baker
get_reserves
get_total_supply
get_swap_min_res
get_toks_per_share
get_cumulative_prices
get_collecting_period
Trusted contracts
Farming
Brand and Logos
Powered By
GitBook
get_collecting_period
This on-chain view returns collecting period (in blocks) that is used for bakers' rewards collecting.
Call parameters
A view doesn't accept any parameters.
Return type
nat
Usage
🌮 Taquito
const
dexCoreAddress
=
"KT1..."
;
const
viewCaller
=
"tz1..."
;
const
dexCore
=
await
tezos
.
contract
.
at
(
dexCoreAddress
);
const
collectingPeriod
=
await
dexCore
.
contract
.
contractViews
.
get_collecting_period
().
executeView
({
viewCaller
:
viewCaller
});
Errors
A view doesn't throw any errors.
Previous
get_cumulative_prices
Next - Smart Contracts
Trusted contracts
Last modified
4mo ago
Copy link
Outline
Call parameters
Return type
Usage
Errors