Skip to content

Instantly share code, notes, and snippets.

View namesty's full-sized avatar

Nestor Amesty namesty

  • Polywrap
  • Madrid, Spain
View GitHub Profile
@namesty
namesty / gist:e264bf06b7a409a720866c5c7fecfc3a
Created November 2, 2023 19:21
Evo MD Output - Error with success msg
```
_____ _ _ _ _
| ___| | \ | (_) (_)
| |____ _____ | \| |_ _ __ _ __ _
| __\ \ / / _ \ | . ` | | '_ \| |/ _` |
| |___\ V / (_) || |\ | | | | | | (_| |
\____/ \_/ \___(_)_| \_/_|_| |_| |\__,_|
_/ |
|__/
```
parameter
(or (or (or (or (unit %accept_ownership) (pair %callCustom string bytes))
(or (pair %propose (address %from) (pair (nat %frozen_token) (bytes %proposal_metadata)))
(pair %transfer_contract_tokens
(address %contract_address)
(list %params
(pair (address %from_)
(list %txs (pair (address %to_) (pair (nat %token_id) (nat %amount)))))))))
(address %transfer_ownership))
(or (or (or (bytes %drop_proposal) (nat %flush)) (or (nat %freeze) (nat %unfreeze)))
@namesty
namesty / gist:ceab1d5202cbcb91bccadc24fab6aaf1
Created December 21, 2021 02:02
Generated storage code
(Pair (Pair (Pair (Pair (Pair "tz1ZQnHjvi25qQzoo9AFThPukMmieP6e4sk2" {})
{ Elt "frozen_extra_value" 0x050004 ;
Elt "frozen_scale_value" 0x050000 ;
Elt "max_proposal_size" 0x05008427 ;
Elt "max_xtz_amount" 0x05008084af5f ;
Elt "min_xtz_amount" 0x050000 ;
Elt "proposal_receivers" 0x050200000000 ;
Elt "registry" 0x050200000000 ;
Elt "registry_affected" 0x050200000000 ;
Elt "slash_division_value" 0x0500a401 ;
parameter
(or (or (or (pair %callCustom string bytes)
(pair %propose (nat %frozen_token) (bytes %proposal_metadata)))
(pair %transfer_contract_tokens
(address %contract_address)
(list %params
(pair (address %from_)
(list %txs (pair (address %to_) (pair (nat %token_id) (nat %amount))))))))
(or (or (or (unit %accept_ownership)
(or %call_FA2
Transaction Invalid
The transaction is invalid and the node did not accept it.
[
{
"kind": "permanent",
"id": "proto.009-PsFLoren.michelson_v1.ill_typed_data",
"expected_type": {
"prim": "pair",
(Pair (Pair (Pair (Pair (Pair "tz1QozfhaUW4wLnohDo6yiBUmh7cPCSXE9Af" {})
{ Elt "frozen_extra_value" 0x050000 ;
Elt "frozen_scale_value" 0x050001 ;
Elt "max_proposal_size" 0x0500a401 ;
Elt "max_xtz_amount" 0x0500a401 ;
Elt "min_xtz_amount" 0x050000 ;
Elt "slash_division_value" 0x050001 ;
Elt "slash_scale_value" 0x050001 }
{})
(Pair 0 0)
{
"00_originator.tz":"parameter (or (bytes %load_lambda)\n (unit %run_lambda));\nstorage (pair (address %owner)\n (or (address %originated)\n (pair %loading bytes\n (pair (pair (big_map address\n (pair (pair nat\n nat)\n (pair nat\n nat)))\n (pair (big_map (pair address\n nat)\n nat)\n (big_map string\n bytes)))\n (pair (big_map (pair address\n
0x03031705210004031603170317031705210005031603170317031603170570000305210007034c0346034c035005210005031603170317031603160342034205210004031603170316034205210004031603160342034203210317034c0321057100020316031703170317052100030316031703170316031705700005031603170317031603160570000605700006034207430359030a034c035003420342052100030316031703160342057000020316031603420342053d036d0342020000240a0743036a000003130319032a072c020000003005200003034c0320034c0320034c0320034c0320034c032007430368010000000d464f5242494444454e5f58545a032702000023c2072e0200002007057000050320072e02000015ae057000060320072e0200000b00057000020320057000030320057000030320057000030320072e020000030c072e020000008a03200348034c0321057100020316031703160317031603190325072c020000004603210317034c03210571000203160317052100030316031603170521000403160316031603170570000403160316031603160317034803420342034203420342053d036d0342020000001e03200743036801000000114e4f545f50454e44494e475f41444d494e03270200000276034c03210571000203160316031603160316034803190325072c0200000002

Keybase proof

I hereby claim:

  • I am namesty on github.
  • I am namesty (https://keybase.io/namesty) on keybase.
  • I have a public key ASDNE4RQym9x9MMX8sAl5sW9xUlWRAFpg2zHnrqZrZ97uAo

To claim this, I am signing this object: