Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update command to print all actor codes and version #1111

Merged
merged 4 commits into from
Feb 3, 2023

Conversation

frrist
Copy link
Member

@frrist frrist commented Jan 12, 2023

account

Metadata

Version Name Family Code
0 fil/1/account account bafkqadlgnfwc6mjpmfrwg33vnz2a
2 fil/2/account account bafkqadlgnfwc6mrpmfrwg33vnz2a
3 fil/3/account account bafkqadlgnfwc6mzpmfrwg33vnz2a
4 fil/4/account account bafkqadlgnfwc6nbpmfrwg33vnz2a
5 fil/5/account account bafkqadlgnfwc6njpmfrwg33vnz2a
6 fil/6/account account bafkqadlgnfwc6nrpmfrwg33vnz2a
7 fil/7/account account bafkqadlgnfwc6nzpmfrwg33vnz2a
8 fil/8/account account bafk2bzacedudbf7fc5va57t3tmo63snmt3en4iaidv4vo3qlyacbxaa6hlx6y
9 fil/9/account account bafk2bzacect2p7urje3pylrrrjy3tngn6yaih4gtzauuatf2jllk3ksgfiw2y

Methods

Method Name Method Number
Constructor 1
PubkeyAddress 2
AuthenticateMessage 3
UniversalReceiverHook 3726118371

cron

Metadata

Version Name Family Code
0 fil/1/cron cron bafkqactgnfwc6mjpmnzg63q
2 fil/2/cron cron bafkqactgnfwc6mrpmnzg63q
3 fil/3/cron cron bafkqactgnfwc6mzpmnzg63q
4 fil/4/cron cron bafkqactgnfwc6nbpmnzg63q
5 fil/5/cron cron bafkqactgnfwc6njpmnzg63q
6 fil/6/cron cron bafkqactgnfwc6nrpmnzg63q
7 fil/7/cron cron bafkqactgnfwc6nzpmnzg63q
8 fil/8/cron cron bafk2bzacecqb3eolfurehny6yp7tgmapib4ocazo5ilkopjce2c7wc2bcec62
9 fil/9/cron cron bafk2bzacebcec3lffmos3nawm5cvwehssxeqwxixoyyfvejy7viszzsxzyu26

Methods

Method Name Method Number
Constructor 1
EpochTick 2

datacap

Metadata

Version Name Family Code
9 fil/9/datacap datacap bafk2bzacebb6uy2ys7tapekmtj7apnjg7oyj4ia5t7tlkvbmwtxwv74lb2pug

Methods

Method Name Method Number
Constructor 1
Mint 2
Destroy 3
Name 10
Symbol 11
TotalSupply 12
BalanceOf 13
Transfer 14
TransferFrom 15
IncreaseAllowance 16
DecreaseAllowance 17
RevokeAllowance 18
Burn 19
BurnFrom 20
Allowance 21

init

Metadata

Version Name Family Code
0 fil/1/init init bafkqactgnfwc6mjpnfxgs5a
2 fil/2/init init bafkqactgnfwc6mrpnfxgs5a
3 fil/3/init init bafkqactgnfwc6mzpnfxgs5a
4 fil/4/init init bafkqactgnfwc6nbpnfxgs5a
5 fil/5/init init bafkqactgnfwc6njpnfxgs5a
6 fil/6/init init bafkqactgnfwc6nrpnfxgs5a
7 fil/7/init init bafkqactgnfwc6nzpnfxgs5a
8 fil/8/init init bafk2bzaceaipvjhoxmtofsnv3aj6gj5ida4afdrxa4ewku2hfipdlxpaektlw
9 fil/9/init init bafk2bzacebtdq4zyuxk2fzbdkva6kc4mx75mkbfmldplfntayhbl5wkqou33i

Methods

Method Name Method Number
Constructor 1
Exec 2

storagemarket

Metadata

Version Name Family Code
0 fil/1/storagemarket storagemarket bafkqae3gnfwc6mjpon2g64tbm5sw2ylsnnsxi
2 fil/2/storagemarket storagemarket bafkqae3gnfwc6mrpon2g64tbm5sw2ylsnnsxi
3 fil/3/storagemarket storagemarket bafkqae3gnfwc6mzpon2g64tbm5sw2ylsnnsxi
4 fil/4/storagemarket storagemarket bafkqae3gnfwc6nbpon2g64tbm5sw2ylsnnsxi
5 fil/5/storagemarket storagemarket bafkqae3gnfwc6njpon2g64tbm5sw2ylsnnsxi
6 fil/6/storagemarket storagemarket bafkqae3gnfwc6nrpon2g64tbm5sw2ylsnnsxi
7 fil/7/storagemarket storagemarket bafkqae3gnfwc6nzpon2g64tbm5sw2ylsnnsxi
8 fil/8/storagemarket storagemarket bafk2bzacediohrxkp2fbsl4yj4jlupjdkgsiwqb4zuezvinhdo2j5hrxco62q
9 fil/9/storagemarket storagemarket bafk2bzacec3j7p6gklk64stax5px3xxd7hdtejaepnd4nw7s2adihde6emkcu

Methods

Method Name Method Number
Constructor 1
AddBalance 2
WithdrawBalance 3
PublishStorageDeals 4
VerifyDealsForActivation 5
ActivateDeals 6
OnMinerSectorsTerminate 7
ComputeDataCommitment 8
CronTick 9

multisig

Metadata

Version Name Family Code
0 fil/1/multisig multisig bafkqadtgnfwc6mjpnv2wy5djonuwo
2 fil/2/multisig multisig bafkqadtgnfwc6mrpnv2wy5djonuwo
3 fil/3/multisig multisig bafkqadtgnfwc6mzpnv2wy5djonuwo
4 fil/4/multisig multisig bafkqadtgnfwc6nbpnv2wy5djonuwo
5 fil/5/multisig multisig bafkqadtgnfwc6njpnv2wy5djonuwo
6 fil/6/multisig multisig bafkqadtgnfwc6nrpnv2wy5djonuwo
7 fil/7/multisig multisig bafkqadtgnfwc6nzpnv2wy5djonuwo
8 fil/8/multisig multisig bafk2bzacebhldfjuy4o5v7amrhp5p2gzv2qo5275jut4adnbyp56fxkwy5fag
9 fil/9/multisig multisig bafk2bzacec4va3nmugyqjqrs3lqyr2ij67jhjia5frvx7omnh2isha6abxzya

Methods

Method Name Method Number
Constructor 1
Propose 2
Approve 3
Cancel 4
AddSigner 5
RemoveSigner 6
SwapSigner 7
ChangeNumApprovalsThreshold 8
LockBalance 9
UniversalReceiverHook 3726118371

paymentchannel

Metadata

Version Name Family Code
0 fil/1/paymentchannel paymentchannel bafkqafdgnfwc6mjpobqxs3lfnz2gg2dbnzxgk3a
2 fil/2/paymentchannel paymentchannel bafkqafdgnfwc6mrpobqxs3lfnz2gg2dbnzxgk3a
3 fil/3/paymentchannel paymentchannel bafkqafdgnfwc6mzpobqxs3lfnz2gg2dbnzxgk3a
4 fil/4/paymentchannel paymentchannel bafkqafdgnfwc6nbpobqxs3lfnz2gg2dbnzxgk3a
5 fil/5/paymentchannel paymentchannel bafkqafdgnfwc6njpobqxs3lfnz2gg2dbnzxgk3a
6 fil/6/paymentchannel paymentchannel bafkqafdgnfwc6nrpobqxs3lfnz2gg2dbnzxgk3a
7 fil/7/paymentchannel paymentchannel bafkqafdgnfwc6nzpobqxs3lfnz2gg2dbnzxgk3a
8 fil/8/paymentchannel paymentchannel bafk2bzacebalad3f72wyk7qyilvfjijcwubdspytnyzlrhvn73254gqis44rq
9 fil/9/paymentchannel paymentchannel bafk2bzacebhdvjbjcgupklddfavzef4e4gnkt3xk3rbmgfmk7xhecszhfxeds

Methods

Method Name Method Number
Constructor 1
UpdateChannelState 2
Settle 3
Collect 4

storagepower

Metadata

Version Name Family Code
0 fil/1/storagepower storagepower bafkqaetgnfwc6mjpon2g64tbm5sxa33xmvza
2 fil/2/storagepower storagepower bafkqaetgnfwc6mrpon2g64tbm5sxa33xmvza
3 fil/3/storagepower storagepower bafkqaetgnfwc6mzpon2g64tbm5sxa33xmvza
4 fil/4/storagepower storagepower bafkqaetgnfwc6nbpon2g64tbm5sxa33xmvza
5 fil/5/storagepower storagepower bafkqaetgnfwc6njpon2g64tbm5sxa33xmvza
6 fil/6/storagepower storagepower bafkqaetgnfwc6nrpon2g64tbm5sxa33xmvza
7 fil/7/storagepower storagepower bafkqaetgnfwc6nzpon2g64tbm5sxa33xmvza
8 fil/8/storagepower storagepower bafk2bzacebjvqva6ppvysn5xpmiqcdfelwbbcxmghx5ww6hr37cgred6dyrpm
9 fil/9/storagepower storagepower bafk2bzacedsetphfajgne4qy3vdrpyd6ekcmtfs2zkjut4r34cvnuoqemdrtw

Methods

Method Name Method Number
Constructor 1
CreateMiner 2
UpdateClaimedPower 3
EnrollCronEvent 4
CronTick 5
UpdatePledgeTotal 6
Deprecated1 7
SubmitPoRepForBulkVerify 8
CurrentTotalPower 9

reward

Metadata

Version Name Family Code
0 fil/1/reward reward bafkqaddgnfwc6mjpojsxoylsmq
2 fil/2/reward reward bafkqaddgnfwc6mrpojsxoylsmq
3 fil/3/reward reward bafkqaddgnfwc6mzpojsxoylsmq
4 fil/4/reward reward bafkqaddgnfwc6nbpojsxoylsmq
5 fil/5/reward reward bafkqaddgnfwc6njpojsxoylsmq
6 fil/6/reward reward bafkqaddgnfwc6nrpojsxoylsmq
7 fil/7/reward reward bafkqaddgnfwc6nzpojsxoylsmq
8 fil/8/reward reward bafk2bzacecwzzxlgjiavnc3545cqqil3cmq4hgpvfp2crguxy2pl5ybusfsbe
9 fil/9/reward reward bafk2bzacebezgbbmcm2gbcqwisus5fjvpj7hhmu5ubd37phuku3hmkfulxm2o

Methods

Method Name Method Number
Constructor 1
AwardBlockReward 2
ThisEpochReward 3
UpdateNetworkKPI 4

system

Metadata

Version Name Family Code
0 fil/1/system system bafkqaddgnfwc6mjpon4xg5dfnu
2 fil/2/system system bafkqaddgnfwc6mrpon4xg5dfnu
3 fil/3/system system bafkqaddgnfwc6mzpon4xg5dfnu
4 fil/4/system system bafkqaddgnfwc6nbpon4xg5dfnu
5 fil/5/system system bafkqaddgnfwc6njpon4xg5dfnu
6 fil/6/system system bafkqaddgnfwc6nrpon4xg5dfnu
7 fil/7/system system bafkqaddgnfwc6nzpon4xg5dfnu
8 fil/8/system system bafk2bzacedwq5uppsw7vp55zpj7jdieizirmldceehu6wvombw3ixq2tcq57w
9 fil/9/system system bafk2bzaceagvlo2jtahj7dloshrmwfulrd6e2izqev32qm46eumf754weec6c

Methods

Method Name Method Number

verifiedregistry

Metadata

Version Name Family Code
0 fil/1/verifiedregistry verifiedregistry bafkqaftgnfwc6mjpozsxe2lgnfswi4tfm5uxg5dspe
2 fil/2/verifiedregistry verifiedregistry bafkqaftgnfwc6mrpozsxe2lgnfswi4tfm5uxg5dspe
3 fil/3/verifiedregistry verifiedregistry bafkqaftgnfwc6mzpozsxe2lgnfswi4tfm5uxg5dspe
4 fil/4/verifiedregistry verifiedregistry bafkqaftgnfwc6nbpozsxe2lgnfswi4tfm5uxg5dspe
5 fil/5/verifiedregistry verifiedregistry bafkqaftgnfwc6njpozsxe2lgnfswi4tfm5uxg5dspe
6 fil/6/verifiedregistry verifiedregistry bafkqaftgnfwc6nrpozsxe2lgnfswi4tfm5uxg5dspe
7 fil/7/verifiedregistry verifiedregistry bafkqaftgnfwc6nzpozsxe2lgnfswi4tfm5uxg5dspe
8 fil/8/verifiedregistry verifiedregistry bafk2bzaceb3zbkjz3auizmoln2unmxep7dyfcmsre64vnqfhdyh7rkqfoxlw4
9 fil/9/verifiedregistry verifiedregistry bafk2bzacecf3yodlyudzukumehbuabgqljyhjt5ifiv4vetcfohnvsxzynwga

Methods

Method Name Method Number
Constructor 1
AddVerifier 2
RemoveVerifier 3
AddVerifiedClient 4
Deprecated1 5
Deprecated2 6
RemoveVerifiedClientDataCap 7
RemoveExpiredAllocations 8
ClaimAllocations 9
GetClaims 10
ExtendClaimTerms 11
RemoveExpiredClaims 12
UniversalReceiverHook 3726118371

@frrist frrist self-assigned this Jan 12, 2023
}
if err := printSortedActorVersions(reward.VersionCodes()); err != nil {
return err
for _, a := range []string{actors.AccountKey, actors.CronKey, actors.DatacapKey, actors.InitKey, actors.MarketKey, actors.MultisigKey, actors.PaychKey, actors.PowerKey, actors.RewardKey, actors.SystemKey, actors.VerifregKey} {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the miner actor key

@vinhloc30796
Copy link
Contributor

Still cleaning up a tiny bit! Sorry this is taking long

@vinhloc30796
Copy link
Contributor

@frrist I made #1113 to clean this 1111 up a bit!

@kasteph kasteph merged commit 582edce into master Feb 3, 2023
@kasteph kasteph deleted the frrist/print-actor-meta branch February 3, 2023 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants