Questions tagged [fa1.2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

how to calculate the value of a single LQT token for Liquidity Baking?

In looking at the Granadanet contract storage, I can see the amount of tzBTC, Tez, and LQT tracked in/by the CPMM. Here are those values as of writing this: tokenPool 45805 xtzPool 111379958864916 ...
0
votes
1answer
7 views

what is the Liquidity Baking subsidy used for and how do liquidity providers benefit?

I've read the official Tezos docs on liquidity baking. However these docs do not explain how the subsidy will be used, or what it's even for. How will this subsidy be used, and how will liquidity ...
0
votes
0answers
7 views

Is there any default FA2 / FA1.2 config to mint non-transferable tokens?

I am working on a requirement that needs a non-transferable token (similar to ERC 1238 requirement). ie the token can be transferred only from token contract/ admin to the user and the user cannot ...
0
votes
1answer
25 views

call to 'approve' entrypoint of tzBTC contract failing with 'UnsafeAllowanceChange'

I'm trying to call addLiquidity on the Liquidity Baking CPMM. I've already called xtzToToken on the CPMM and given my address tzBTC. I can see that my address has tokens on the tzBTC contract when I ...
1
vote
0answers
15 views

what's a sensible minLqtMinted to send to the Liquidity Baking CPMM when calling addLiquidity?

I'm trying to understand what a sensible value is for the liquidity token (LQT) parameter when calling the Liquidity Baking CPMM. I'm reading the Dexter docs here, since the CPMM is a fork of the ...
2
votes
1answer
52 views

Can't get tzBTC out of the tzBTC Granadanet contract

i'm trying to (eventually) add liquidity to the Liquidity Baking CPMM contract on Granadanet. In order to add liquidity, I need some tzBTC from the tzBTC contract here.. I cannot, for the life of me, ...
1
vote
1answer
41 views

Contract does not exist

I'm using a Granadanet node to experiment with Liquidity Baking. I'm trying to call the tzBTC contract's mint entry point. This is my first time using a test net, but I thought that it was a copy of ...
1
vote
1answer
31 views

Tweaking FA1.2 to add level based balance snapshots to assist token voting in a DAO

DAOs functioning on a token voting mechanism (using either FA1.2 or FA2) mostly require the locking up of tokens for the entirety of the voting period essentially to prevent double-voting or any form ...
0
votes
0answers
25 views

Custom FA1.2 Token - High Level Question about Custom Token/Symbols

I am hoping this is a very easy answer as I am most likely thinking about the fundamentals of this incorrectly. I am trying to build out a quick POC for the company I work for but am struggling with ...
1
vote
1answer
71 views

Best way to create FA1.2 token with TZIP016

What is the best way to implement a FA1.2 token with TZIP-016 metadata (symbol, name, decimals...)? I am using SmartPy. So far, I noted two methods: the first one is to implement a FA1.2 token with a ...
0
votes
1answer
31 views

How to attach data to an error

The FA1.2 standard specifies that the NotEnoughAllowance error should contain a nat: required, nat: present pair. How do I attach this kind of data to a failwith call? I am writing the token contract ...
3
votes
2answers
107 views

How to correctly implement an interface to an FA1.2 contract, from a programming language?

I am trying to implement a Java interface to be able to call FA1.2 smart contract entrypoints programmatically. This is what I've got now: public interface FA12 { public JSONObject transfer(String ...