Zondax / filecoin-solidity

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

Vendor external dependencies #248

Closed emmanuelm41 closed 1 year ago

emmanuelm41 commented 1 year ago

closes #237

:link: zboto Link

github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 26008516
authenticate_message (actor ID) 25522233
universal_receiver_hook 5697903
universal_receiver_hook (actor ID) 5267664

Datacap actor

Function Gas
name 6190625
symbol 5936957
total_supply 7963823
balance 7110754
allowance 8172703
transfer 17820183
transfer_from 25471151
burn 11560611
burn_from 18455400
allowance 11457315
increase_allowance 14217176
decrease_allowance 14220373
revoke_allowance 12853624

Init actor

Function Gas
exec 19957357
exec4 7128981

Market actor

Function Gas
add_balance 8148772
withdraw_balance 10971645
get_balance 12305159
get_deal_data_commitment 11444632
get_deal_client 6793700
get_deal_provider 6790204
get_deal_label 11650139
get_deal_term 7360469
get_deal_total_price 8910291
get_deal_client_collateral 8718437
get_deal_provider_collateral 8724617
get_deal_verified 6703274
get_deal_activation 7404913
publish_storage_deals 3090715

Power actor

Function Gas
miner_count 5303066
network_raw_power 5743664
miner_raw_power 7248782
miner_consensus_count 5313614

Precompiles actor

Function Gas
resolve_address 2396626
lookup_delegated_address (empty response) 2314327
lookup_delegated_address (address found) 2401331
resolve_eth_address 2520622

Send actor

Function Gas
send 3881748

Verifreg actor

Function Gas
add_verified_client 13875653
get_claims 10691834
extend_claim_term 12012782
remove_expired_allocations 13642758
remove_expired_claims 12012782