14 votes

Storage and parameter size limitations of smart contract?

1. Maximum parameter size per transaction The maximum number of bytes per transaction for a single transaction is limited several constants, in particular an upper size of for operations ...
arvidj's user avatar
  • 2,378
2 votes

How to construct signature list as parameter to invoke contract

The format you use for lists is wrong. You can look at the Michelson / Storage tabs in tests on SmartPy.io. Lists constants in Michelson are of the form {1; 2; 3}.
FFF's user avatar
  • 3,260
1 vote

AddressValidationError when calling an entrypoint with Taquito

The issue is probably the order of the fields. Try to pass an object as value instead: routerMap.set("...", { exchangeAddress: ..., minimumOutput: ..., requiredTokenAddress: ..., ...
Rodrigo Quelhas's user avatar
1 vote
Accepted

how to fill storage parameters?

You can use michelson-sdk to generate the Michelson values (Micheline or Michelson JSON). codesandbox (Output can be seen in the console) Micheline (Pair (Pair (Pair (Pair "...
Rodrigo Quelhas's user avatar
1 vote

Knowing the parameter name for a call to an entrypoint with Beacon

I would like to clarify some of the beacon behavior. The main responsibility of beacon is establishing and maintaining a communication channel between a dApp and a wallet. Beacon itself does NOT do ...
Andreas Gassmann's user avatar
1 vote
Accepted

Knowing the parameter name for a call to an entrypoint with Beacon

Did you try value: { "int" : "10000" }? It seems that: the field value in parameters should be micheline (seeing how Unit is expressed) the entrypoint %stake has type nat (the ...
arvidj's user avatar
  • 2,378

Only top scored, non community-wiki answers of a minimum length are eligible