set_dev_function

Method for set developer functions, from Developer module.

There are 2 functions that belong to Developer setter entrypoints.

0n -> set_dev_address
1n -> set_dev_fee

Input parameters type

FieldTypeDescription

func

bytes

Packed bytes from

type dev_func_t is (dev_action_t * dev_storage_t) -> dev_storage_t

index

nat

Index of the passed method to be set to the dev_lambdas big_map

type dev_action_t       is
| Set_dev_address         of address
| Set_dev_fee             of nat

type dev_storage_t      is [@layout:comb] record [
  dev_address             : address;
  dev_fee_f               : nat;
  dev_lambdas             : big_map(nat, bytes);
]

type dev_func_t         is (dev_action_t * dev_storage_t) -> dev_storage_t

type set_lambda_func_t  is [@layout:comb] record [
  func                    : bytes;
  index                   : nat;
]

This contract method are called only by admin of that contract.

For the Factory contract developer is admin.

Last updated