Zondax / filecoin-solidity

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

add inline docs for CborDecode lib #296

Closed emmanuelm41 closed 1 year ago

emmanuelm41 commented 1 year ago

closes #275

:link: zboto Link

github-actions[bot] commented 1 year ago

Gas results 🚀📝

Account actor

Function Gas
authenticate_message 25470920
universal_receiver_hook 5177037

Datacap actor

Function Gas
name 5931357
symbol 5677689
total_supply 7704555
balance 6851734
allowance 7913811
transfer 17561163
transfer_from 25212107
burn 11301591
burn_from 18196508
allowance 11198295
increase_allowance 13958284
decrease_allowance 13961481
revoke_allowance 12594604

Init actor

Function Gas
exec 19744082
exec4 6910885

Market actor

Function Gas
publish_storage_deals 49365661
add_balance 7866253
withdraw_balance 10704962
get_balance 12030319
get_deal_data_commitment 11170181
get_deal_client 6519273
get_deal_provider 6515777
get_deal_label 11375687
get_deal_term 7086042
get_deal_total_price 8635863
get_deal_client_collateral 8444010
get_deal_provider_collateral 8450190
get_deal_verified 6428847
get_deal_activation 7130486

Power actor

Function Gas
miner_count 5060198
network_raw_power 5500796
miner_raw_power 7006162
miner_consensus_count 5070746

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 13654452
get_claims 10452471
extend_claim_term 11773419
remove_expired_allocations 13403395
remove_expired_claims 11773419