Zondax / filecoin-solidity

Filecoin Solidity API Library
Apache License 2.0
95 stars 43 forks source link

Organize code and fix some docs #257

Closed emmanuelm41 closed 1 year ago

emmanuelm41 commented 1 year ago

closes #256

:link: zboto Link

github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 25431962
universal_receiver_hook 5164041

Datacap actor

Function Gas
name 6189137
symbol 5935469
total_supply 7962334
balance 7109405
allowance 8171355
transfer 17818834
transfer_from 25469803
burn 11559262
burn_from 18454051
allowance 11455966
increase_allowance 14215827
decrease_allowance 14219024
revoke_allowance 12852275

Init actor

Function Gas
exec 19957037
exec4 7128661

Market actor

Function Gas
add_balance 8147440
withdraw_balance 10970313
get_balance 12303827
get_deal_data_commitment 11443300
get_deal_client 6792368
get_deal_provider 6788872
get_deal_label 11648807
get_deal_term 7359137
get_deal_total_price 8908959
get_deal_client_collateral 8717105
get_deal_provider_collateral 8723285
get_deal_verified 6701942
get_deal_activation 7403581
publish_storage_deals 3089383

Power actor

Function Gas
miner_count 5304421
network_raw_power 5745019
miner_raw_power 7250277
miner_consensus_count 5314969

Precompiles actor

Function Gas
resolve_address 2394758
lookup_delegated_address (empty response) 2312459
lookup_delegated_address (address found) 2399463
resolve_eth_address 2518754

Send actor

Function Gas
send 3516502

Verifreg actor

Function Gas
add_verified_client 13621502
get_claims 10437959
extend_claim_term 11758907
remove_expired_allocations 13388882
remove_expired_claims 11758907