Documentation ¶
Index ¶
- Constants
- Variables
- func CreateUpgradeHandler(mm *module.Manager, configurator module.Configurator, ...) upgradetypes.UpgradeHandler
- func FixLockupPeriods(ctx sdk.Context, ak authkeeper.AccountKeeper) error
- func TurnOnDAO(ctx sdk.Context, bk bankkeeper.Keeper, lk liquidvestingkeeper.Keeper, ...) error
Constants ¶
View Source
const ( // UpgradeName is the shared upgrade plan name for network UpgradeName = "v1.7.6" // LockupLengthThreshold is the threshold for lockup periods length LockupLengthThreshold = 1717043774 // EndTimeForCheck is the threshold for end time of lockup periods EndTimeForCheck = 1767213372 )
Variables ¶
View Source
var WhiteListedAccounts = map[string]bool{ "3AE79B0BB65DE92D9D62A4D9A751A5B1F9AEBDCDB3816DE3E287F64231306E58": true, "00BB35FC02F25A4FA73D554A76592DD2B936A8B087CDBFB45D354458FF2FE726": true, "3024CD367A89DCC33EBE159ADBEC5AAA90395D174441B59C367EF98BA7222DD5": true, "242C42CAB31D5EC5F7B1315D966EBE80C33D11772AF88AE4EC865EE46CA0327A": true, "05E7EF9D9B5B503CDCEA92533553BEA9B591F33719F9E8012363CF4E65F9AA71": true, "B9E3852AB25DC3E9B57CA37FD9121D52C02090D267FAD8DDADDFFCF17ABE2CF4": true, "82754DC402C6AEC0527CBF6134A3F354CEBE9F403C3C4BA4B9E286010168BAE4": true, "BCB58DDAD304A2E2208497E3A2F3F04BE9FEF47F80BC24D3CEC55EE9927D9AC8": true, "119D253C8D244CF82B82B98E7E14F6FDF20CA6B9606D5F7535481FF8514433EB": true, "FA5C0069D143854E6916BBE570E698518E52949B65BB5DFA6BCF7616CE59ED9B": true, "209FA5602AC3C4AECA4C8A853AD86A1B8D13203E8E6B91DA7634EB5D6B43FAB8": true, "2620350C2588E5EC54E79989802DBBDF2BD6AB6B85FE6592EA9DD284C9BEE823": true, "145CDBFA6FA9BE2844FD199B7F791D6FD0F68BEF3EA2A84849D41E9ED89F0762": true, "514A5237A8B79255504EFFBEBEBFB8A0E4F452C0BAB412F331BA4C13DEFAA687": true, "FA05C8A0CEBAF4AE77847685F0418A7D62559DF9DA7F5DFE345CD932D30F6587": true, "A051A3A4240ABD7C203903B21ADF687138B01E01EDA1EE6F79B9FFBF417919CC": true, "FAA709DFE1ADA3C31AFC82A7F157EACB3433D5D656875DB06EDC56129D731160": true, "92D4E4903D820420D892CD1758E9B15DF6151AA36D33981ADBD90FC326BA3CF0": true, "E79FAE05D21C8BD05046B768254ED533817A41FE044A452EFF492C6FFE69D560": true, "F5A712839B528835F5481B4687BD70FCA33F3EFE328009BCDDDADC872BC4A1B9": true, "455EB5C781401AD415F41582DE010FD9229B7CE41C488E0CE3A9C722775C1C0D": true, "73665E44DB578AFFB99D75D4C4FF50DE6DB52FCD8BE2441C9A80DAA59F9A8EC9": true, "E305384DF77EBF4DD274508262358D69832C1052D5AC77CC7CE0B054A0A44C71": true, "7E7876B01E5B2142DA001C2919C731D72EAF2C1DD46E5760B435D453073C547A": true, "EDF4A730E3DA0E67A5F1D8FBC102E9DBFEE07AB7F8D9B4A71B29D3A923196559": true, "A65B690983FD2A15715A1074964CCB5BA127C695CC68FE62744C96BCFFD7E9F4": true, "B8D74E9617C835E3D7B59B596C9CD92459466A724024C8BB7A9FFCE9E5240D2C": true, "CC6A440415640397FE1948B5ADC2BBBFB8913C1330521D15B466231B215D3809": true, "43DB9FB754A50FBA92FA3BDFA8879FD8F71B0437CDFAF62BA8DAA5A2841C1726": true, "CD80CE9CB13548914EDF7D8A52D45A05358C2A90F7413A1B1E0229BC3A3CBCDE": true, "EE3B94DC6377C9408E3120DA90595CB48A6141889B23B0FE65DBEDCD540CAD51": true, "36AFCB67F7A69059304397F4C2A673AEEBFE92704F13F2D9EA1117CAF25B7F1D": true, "AF0ACD5862D6421684B6B4DCCF31CA683E6E403CE2C475FE48D00DA50E0412A3": true, "D9E04531B9920796CCC361FE665E1D46022D30AFF4D0A2A0D01B1FCC3786FF81": true, "7783BDDB5B6334D99608FEFF5ED71ED74ED79C5A8420E6776CD1ED9683065CBA": true, "31997BDAF374AD65DE5036F83EBCAA3BA48B4AD8291F45A03A817CDAA5031866": true, "81BB3767EC5A77131C07AE93E88F2605F7446BE246DA01F5583756823627DB44": true, "C6F134614B4827F95EDB92B82F35E4C401305084AF4771849A8C8F5C0B2AE31B": true, "3B8D0B64AFF5BE99345A82E814C13D84F85A8ECE555B0BE085D9AF8788636508": true, "C9C2ACC39B8E676F7CDAFC02DF03B8D841250F12ADBFF90A3242B267FEE517C1": true, "4B052ED07FE5E7BCED0DE4FF3F0F06593D1D7A837B3CB7541609C06191397474": true, "4A38F70AE16A9B6848CD00274EF688BB7E953CF01F37DD7768289AA89D26DF78": true, "878AD41E5381F806B088E89FBFFBFB5C967295B68FE65BD22024A57C0D5947D1": true, "27A0334E685995AF8EE5D78451A0E22D18C9168B3416FE3CD523F5CEF28C2142": true, "E6359D9FA9A6ED8D4D857E992E4BC8D7ACC1927E2128ECC4347C5346E7CF2BB1": true, "B3529ECDC536E638FCD6716F40688BC54BA0C88CD9BC94512690CE56968C6A37": true, "47E5C0499CC130B42D3438C53BA5FBC49459C4D474A89A506CC367EAD5AA4472": true, "E2EC2D7EB3EB2352CB61D4995A5690E1E63D90588ACDB4E57B32D3AA2A9AC69A": true, "82ECC63DAC4AA2BB13E531734D6ACD5FE5B58DEC022E43FFBB97FECA662E2E7C": true, "C9D4219E21DE36DF094469CCBC6AF0CE104CD1AB8B8506DDEAE92838C2C462F6": true, "ED0A9038951D2522486498D283873C5EB40B3DC1F48020FBB52AB17F10D065A8": true, "7A3C5DAE29DD5D383C68F9892D75BCB24D62E1757E6B14E1E405575BDAF382A6": true, "D7F4161CC71D7F7FD945F88B92E8B29D6563FFC7B709118A1659455135F7EBE9": true, "1A4769678893201DE67CD7C02804F395D1A94E6BC1E6512F0420F8CE5FEC5C71": true, "9A3D69EF513196C69E7B66C4A4C8A5AB101C8E01501C3A4EFA8AD70CB832D5C2": true, "F6D10429477A039B5F73A15B31BEB34A2775E91255AE180599961DBFD560243B": true, "B910E5678D54D96387FEEA0F1FBCDBF662FD9EB1FA06CDFCBDBA475D6EA0D279": true, "EBB287493BF5B787EDB1C942317C21088F3D832A21C1FEF6B7133FD8E6D36BC1": true, "93E04059186476688A9F28A304A2D0EDCAE0FDC9090CBB50F14624C2EB75CA89": true, "6D0CBA13762F9C5FCB0B80B60E95C661FEAD1490FF6CB8E351F5B8ED83F2800C": true, "70C1A60DB396873E7AE929698F1C0830C5D044F6A2FD39FF27E92CA4578BAF92": true, "2172D327A215C2F7119DBD30FB1BF927E716862237AEC6B9577B9F3D492D72FA": true, "79ABA57E29A130D546B911A5FD774F1D37278F88B96059D8627D8430E3CF8693": true, "7F094987E7C57CEB3AF2EF80CA82A6D6BE9307F05426C3597FA0434C47E5E3DF": true, "3763BC7A98DE2D78905E6A890236B774529B42F482E282D714FC85EE7840E0F4": true, "A83281EEE0722C9F9E39E1F8858A6CB2896B09953CB6ACDFB2815F4961FE7F41": true, "2B1AD10C7DC1569FBE7185CEE48655D85DB7719B9D8BB00E7598BE8C17FEDE81": true, "06DA7B2C74B2F9477C40628D2A99B7389D582A3E6F681F7BA6A95083FA4FA4E2": true, }
WhiteListedAccounts of addresses that should be processed
Functions ¶
func CreateUpgradeHandler ¶
func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, ak authkeeper.AccountKeeper, bk bankkeeper.Keeper, sk stakingkeeper.Keeper, dk daokeeper.Keeper, lk liquidvestingkeeper.Keeper, erc20k erc20keeper.Keeper, ) upgradetypes.UpgradeHandler
CreateUpgradeHandler creates an SDK upgrade handler for v1.7.6
func FixLockupPeriods ¶
func FixLockupPeriods(ctx sdk.Context, ak authkeeper.AccountKeeper) error
func TurnOnDAO ¶
func TurnOnDAO(ctx sdk.Context, bk bankkeeper.Keeper, lk liquidvestingkeeper.Keeper, ak authkeeper.AccountKeeper, sk stakingkeeper.Keeper, dk daokeeepr.Keeper, erc20k erc20keeper.Keeper) error
TurnOnDAO turns on the DAO module
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.