Zondax / filecoin-solidity

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

add some required features #293

Closed emmanuelm41 closed 1 year ago

emmanuelm41 commented 1 year ago

closes #268

:link: zboto Link

github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 25469640
universal_receiver_hook 5175757

Datacap actor

Function Gas
name 5930105
symbol 5676437
total_supply 7703303
balance 6850482
allowance 7912559
transfer 17559911
transfer_from 25210855
burn 11300339
burn_from 18195256
allowance 11197043
increase_allowance 13957032
decrease_allowance 13960229
revoke_allowance 12593352

Init actor

Function Gas
exec 19743418
exec4 6910221

Market actor

Function Gas
publish_storage_deals 49364889
add_balance 7865481
withdraw_balance 10704190
get_balance 12029547
get_deal_data_commitment 11169409
get_deal_client 6518501
get_deal_provider 6515005
get_deal_label 11374915
get_deal_term 7085270
get_deal_total_price 8635091
get_deal_client_collateral 8443238
get_deal_provider_collateral 8449418
get_deal_verified 6428075
get_deal_activation 7129714

Power actor

Function Gas
miner_count 5059318
network_raw_power 5499916
miner_raw_power 7005282
miner_consensus_count 5069866

Precompiles actor

Function Gas
resolve_address 2411070
lookup_delegated_address (empty response) 2328771
lookup_delegated_address (address found) 2415775
resolve_eth_address 2439194

Send actor

Function Gas
send (actor id) 3653196
send (address) 3653196

Verifreg actor

Function Gas
add_verified_client 13654932
get_claims 10452951
extend_claim_term 11773899
remove_expired_allocations 13403875
remove_expired_claims 11773899