go-pulse/params/parlia_primordialpulse_fork.go
Bret Palsson efb9ef83a3 Add PulseChain mainnet and testnet
Add bootnodes for PulseChain testnet
Fix devp2p dns normalization for comparing names
2021-11-01 12:52:22 -07:00

40 lines
45 KiB
Go

package params
import "github.com/ethereum/go-ethereum/common/math"
var pulseChainTestnetTreasury Treasury
var pulseChainTestnetInitValidators = []string{
"0xdB5f55b6111f0adC916921Cf5624B2768f6524F8",
"0x33C31EE0457ADfE7e41FD65A33f50262Cc97eA1A",
"0x9F8ff5790D111915b55eF9D9BBd6E82Ef08c4550",
}
var pulseChainTestnetSystemContracts = []SystemContract{
{
Addr: "0x0000000000000000000000000000000000000666",
Code: "0x6080604052600080fdfea264697066735822122066aaa8132ca15dbbf14edca9f2a563f0ad9ac99e8992b175c88947a01970508164736f6c634300060c0033",
},
{
Addr: "0x0000000000000000000000000000000000001000",
Code: "0x6080604052600436106101095760003560e01c8063c3f8d5f411610095578063e589b61e11610064578063e589b61e146102a6578063eb57e202146102c6578063f340fa01146102e6578063f677e557146102f9578063f9a2bbc71461031957610109565b8063c3f8d5f414610252578063daacdb6614610267578063e086c7b11461027c578063e1c7392a1461029157610109565b806381650b62116100dc57806381650b62146101b7578063a78abc16146101d9578063ab51bb96146101fb578063ad3c9da614610210578063b7ab4db51461023057610109565b80630e2374a51461010e57806335409f7f14610139578063565c56b31461015b5780636969a25c14610188575b600080fd5b34801561011a57600080fd5b5061012361032e565b6040516101309190611ad7565b60405180910390f35b34801561014557600080fd5b50610159610154366004611a29565b610334565b005b34801561016757600080fd5b5061017b610176366004611a29565b61054c565b6040516101309190611dfc565b34801561019457600080fd5b506101a86101a3366004611abf565b61059e565b60405161013093929190611aeb565b3480156101c357600080fd5b506101cc6105de565b6040516101309190611e05565b3480156101e557600080fd5b506101ee6105e3565b6040516101309190611b59565b34801561020757600080fd5b506101cc6105ec565b34801561021c57600080fd5b5061017b61022b366004611a29565b6105f1565b34801561023c57600080fd5b50610245610603565b6040516101309190611b0c565b34801561025e57600080fd5b50610123610739565b34801561027357600080fd5b5061017b61073f565b34801561028857600080fd5b5061017b610745565b34801561029d57600080fd5b5061015961074a565b3480156102b257600080fd5b506101cc6102c1366004611a29565b61086c565b3480156102d257600080fd5b506101596102e1366004611a29565b6109f3565b6101596102f4366004611a29565b610acb565b34801561030557600080fd5b506101cc610314366004611a50565b610c82565b34801561032557600080fd5b50610123611010565b61100281565b336110011461035e5760405162461bcd60e51b815260040161035590611db3565b60405180910390fd5b6001600160a01b038116600090815260026020526040902054806103825750610549565b60018103905060006001828154811061039757fe5b600091825260209091206001600290920201810154905490915060001901806103e6576000600184815481106103c957fe5b906000526020600020906002020160010181905550505050610549565b836001600160a01b03167f17b74c5cba45cad2290ed1e96fedbc95120d08d9db606e6b540ef7355e0897a08360405161041f9190611dfc565b60405180910390a26001600160a01b0384166000908152600260205260408120556001546000190183146105115760018054600019810190811061045f57fe5b90600052602060002090600202016001848154811061047a57fe5b6000918252602082208354600292830290910180546001600160a01b0319166001600160a01b0390921691909117808255845460ff600160a01b918290041615150260ff60a01b199091161781556001938401549084015582548684019391929190879081106104e657fe5b600091825260208083206002909202909101546001600160a01b031683528201929092526040019020555b600180548061051c57fe5b60008281526020812060026000199093019283020180546001600160a81b03191681556001015590555050505b50565b6001600160a01b03811660009081526002602052604081205480610574576000915050610599565b60018082038154811061058357fe5b9060005260206000209060020201600101549150505b919050565b600181815481106105ab57fe5b6000918252602090912060029091020180546001909101546001600160a01b0382169250600160a01b90910460ff169083565b606581565b60005460ff1681565b600081565b60026020526000908152604090205481565b6001546060906000805b82811015610650576001818154811061062257fe5b6000918252602090912060029091020154600160a01b900460ff16610648576001909101905b60010161060d565b5060608167ffffffffffffffff8111801561066a57600080fd5b50604051908082528060200260200182016040528015610694578160200160208202803683370190505b5090506000915060005b8381101561073157600181815481106106b357fe5b6000918252602090912060029091020154600160a01b900460ff1661072957600181815481106106df57fe5b600091825260209091206002909102015482516001600160a01b039091169083908590811061070a57fe5b6001600160a01b03909216602092830291909101909101526001909201915b60010161069e565b509250505090565b61100181565b60035481565b602981565b60005460ff161561076d5760405162461bcd60e51b815260040161035590611cf8565b6060610777611016565b905060005b815181101561085b576001604051806060016040528084848151811061079e57fe5b602090810291909101810151516001600160a01b03908116835260008383018190526040938401819052855460018181018855968252838220865160029283029091018054958801511515600160a01b0260ff60a01b19929095166001600160a01b0319909616959095171692909217835593909201519084015584519284019290919085908590811061082e57fe5b602090810291909101810151516001600160a01b031682528101919091526040016000205560010161077c565b50506000805460ff19166001179055565b600033411461088d5760405162461bcd60e51b815260040161035590611d66565b3a156108ab5760405162461bcd60e51b815260040161035590611cca565b60005460ff166108cd5760405162461bcd60e51b815260040161035590611bb7565b6001600160a01b03821660009081526002602052604090205480158061091957506001808203815481106108fd57fe5b6000918252602090912060029091020154600160a01b900460ff165b15610928576000915050610599565b6001546003546000198201118015906109475760009350505050610599565b60038054600190810190915580548190600019860190811061096557fe5b6000918252602082206002909102018054921515600160a01b0260ff60a01b19909316929092179091556001805460001986019081106109a157fe5b600091825260208220600160029092020101919091556040516001600160a01b038716917f4905ac32602da3fb8b4b7b00c285e5fc4c6c2308cc908b4a1e4e9625a29c90a391a2506000949350505050565b3361100114610a145760405162461bcd60e51b815260040161035590611db3565b6001600160a01b03811660009081526002602052604090205480610a385750610549565b600181039050600060018281548110610a4d57fe5b9060005260206000209060020201600101549050600060018381548110610a7057fe5b906000526020600020906002020160010181905550826001600160a01b03167f0fdd64db3f2fc4b8bd4b00e84798c2e777552b745fad5b091466487c75ed451b82604051610abe9190611dfc565b60405180910390a2505050565b334114610aea5760405162461bcd60e51b815260040161035590611d66565b3a15610b085760405162461bcd60e51b815260040161035590611cca565b60005460ff16610b2a5760405162461bcd60e51b815260040161035590611bb7565b60003411610b4a5760405162461bcd60e51b815260040161035590611c25565b6001600160a01b03811660009081526002602052604090205434908015610c44576000600180830381548110610b7c57fe5b600091825260209091206002909102018054909150600160a01b900460ff1615610be657836001600160a01b03167ffe99ccb80dac5f836a7a85f3ec6734655b3502f8ad7eeaa1169631ee5b6c299084604051610bd99190611dfc565b60405180910390a2610c3e565b6001810154610bf590846110e9565b60018201556040516001600160a01b038516907f1ed371ca1748e85e2d9554206ef61b0e69b21d41f30b4d4987d7b006fb4801cc90610c35908690611dfc565b60405180910390a25b50610c7d565b826001600160a01b03167ffe99ccb80dac5f836a7a85f3ec6734655b3502f8ad7eeaa1169631ee5b6c299083604051610abe9190611dfc565b505050565b60003361100214610ca55760405162461bcd60e51b815260040161035590611c54565b60005460ff16610cc75760405162461bcd60e51b815260040161035590611bb7565b60006060610d0785858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061111592505050565b9150915081610d52577f0b5b555868e4c80836ece33563fe9abab755d2fcd3597b7e376345087f7e66dd81604051610d3f9190611b64565b60405180910390a160659250505061100a565b60608467ffffffffffffffff81118015610d6b57600080fd5b50604051908082528060200260200182016040528015610da557816020015b610d926119d8565b815260200190600190039081610d8a5790505b50905060005b85811015610e1a576040518060600160405280888884818110610dca57fe5b9050602002016020810190610ddf9190611a29565b6001600160a01b031681526020016000151581526020016000815250828281518110610e0757fe5b6020908102919091010152600101610dab565b5060008060005b600154811015610e8357600060018281548110610e3a57fe5b9060005260206000209060020201600101541115610e7b57600180549381019382908110610e6457fe5b906000526020600020906002020160010154820191505b600101610e21565b508115610f7457478190036000838281610e9957fe5b04905060005b600154811015610f7057600060018281548110610eb857fe5b90600052602060002090600202016001015490506000811115610f675782810190506110026001600160a01b0316634754857c8260018581548110610ef957fe5b60009182526020909120600290910201546040516001600160e01b031960e085901b168152610f34916001600160a01b031690600401611ad7565b6000604051808303818588803b158015610f4d57600080fd5b505af1158015610f61573d6000803e3d6000fd5b50505050505b50600101610e9f565b5050505b610f7d8361121e565b600060038190556040517fdf380451f7286b929282db56cae856ef8d5d940e01a022844d086bbedc51f7559190a16110016001600160a01b031663fc4333cd6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610fe857600080fd5b505af1158015610ffc573d6000803e3d6000fd5b505050506000955050505050505b92915050565b61100081565b60608061104261103d6040518060c0016040528060838152602001611e68608391396115dd565b611602565b90506060815167ffffffffffffffff8111801561105e57600080fd5b5060405190808252806020026020018201604052801561109857816020015b6110856119f8565b81526020019060019003908161107d5790505b50905060005b82518110156110e2576110c38382815181106110b657fe5b60200260200101516116ea565b8282815181106110cf57fe5b602090810291909101015260010161109e565b5091505090565b60008282018381101561110e5760405162461bcd60e51b815260040161035590611bee565b9392505050565b60006060825160001415611147576000604051806060016040528060238152602001611eeb6023913991509150611219565b6029835111156111755760006040518060600160405280602a8152602001611e17602a913991509150611219565b60005b83518110156112035760005b818110156111fa5784818151811061119857fe5b60200260200101516001600160a01b03168583815181106111b557fe5b60200260200101516001600160a01b031614156111f2576000604051806060016040528060278152602001611e4160279139935093505050611219565b600101611184565b50600101611178565b5050604080516020810190915260008152600191505b915091565b600154815160005b8281101561130a5760016112386119d8565b6001838154811061124557fe5b6000918252602080832060408051606081018252600290940290910180546001600160a01b038116855260ff600160a01b909104161515928401929092526001909101549082015291505b848110156112de578681815181106112a457fe5b6020026020010151600001516001600160a01b031682600001516001600160a01b031614156112d657600092506112de565b600101611290565b5081156113005780516001600160a01b03166000908152600260205260408120555b5050600101611226565b508082111561135e57805b8281101561135c57600180548061132857fe5b60008281526020812060026000199093019283020180546001600160a81b0319168155600190810191909155915501611315565b505b600081831061136d578161136f565b825b90506113796119d8565b60005b828110156114f35785818151811061139057fe5b602002602001015191506113fc82600183815481106113ab57fe5b600091825260209182902060408051606081018252600290930290910180546001600160a01b038116845260ff600160a01b9091041615159383019390935260019092015491810191909152611757565b61148d5781516001600160a01b03166000908152600260205260409020600180830190915580548391908390811061143057fe5b600091825260209182902083516002909202018054928401511515600160a01b0260ff60a01b196001600160a01b039093166001600160a01b031990941693909317919091169190911781556040909101516001909101556114eb565b60006001828154811061149c57fe5b9060005260206000209060020201600101819055506000600182815481106114c057fe5b600091825260209091206002909102018054911515600160a01b0260ff60a01b199092169190911790555b60010161137c565b50838311156115d657835b838110156115d45785818151811061151257fe5b6020908102919091018101516001805480820182556000828152835160029283027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf681018054878901511515600160a01b0260ff60a01b196001600160a01b039095166001600160a01b03199092168217949094169390931790556040808701517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf79092019190915590825291909452909220929091019182905591506114fe565b505b5050505050565b6115e5611a0f565b506040805180820190915281518152602082810190820152919050565b606061160d8261176b565b61161657600080fd5b6000611621836117a5565b905060608167ffffffffffffffff8111801561163c57600080fd5b5060405190808252806020026020018201604052801561167657816020015b611663611a0f565b81526020019060019003908161165b5790505b509050600061168885602001516117fd565b60208601510190506000805b848110156116df576116a583611860565b91506040518060400160405280838152602001848152508482815181106116c857fe5b602090810291909101015291810191600101611694565b509195945050505050565b6116f26119f8565b60606116fd83611602565b905060405180604001604052806117278360008151811061171a57fe5b6020026020010151611941565b6001600160a01b031681526020016117458360018151811061171a57fe5b6001600160a01b031690529392505050565b5190516001600160a01b0391821691161490565b805160009061177c57506000610599565b6020820151805160001a9060c082101561179b57600092505050610599565b5060019392505050565b80516000906117b657506000610599565b6000806117c684602001516117fd565b602085015185519181019250015b808210156117f4576117e582611860565b600190930192909101906117d4565b50909392505050565b8051600090811a6080811015611817576000915050610599565b60b8811080611832575060c08110801590611832575060f881105b15611841576001915050610599565b60c08110156118555760b519019050610599565b60f519019050610599565b80516000908190811a608081101561187b576001915061193a565b60b881101561189057607e198101915061193a565b60c08110156118e157600060b78203600186019550806020036101000a8651049150600181018201935050808310156118db5760405162461bcd60e51b815260040161035590611c9f565b5061193a565b60f88110156118f65760be198101915061193a565b600060f78203600186019550806020036101000a8651049150600181018201935050808310156119385760405162461bcd60e51b815260040161035590611c9f565b505b5092915050565b805160009060151461195257600080fd5b61100a8280516000901580159061196b57508151602110155b61197457600080fd5b600061198383602001516117fd565b905080836000015110156119a95760405162461bcd60e51b815260040161035590611d2f565b8251602080850151830180519284900392918310156119cf57826020036101000a820491505b50949350505050565b604080516060810182526000808252602082018190529181019190915290565b604080518082019091526000808252602082015290565b604051806040016040528060008152602001600081525090565b600060208284031215611a3a578081fd5b81356001600160a01b038116811461110e578182fd5b60008060208385031215611a62578081fd5b823567ffffffffffffffff80821115611a79578283fd5b818501915085601f830112611a8c578283fd5b813581811115611a9a578384fd5b8660208083028501011115611aad578384fd5b60209290920196919550909350505050565b600060208284031215611ad0578081fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b039390931683529015156020830152604082015260600190565b6020808252825182820181905260009190848201906040850190845b81811015611b4d5783516001600160a01b031683529284019291840191600101611b28565b50909695505050505050565b901515815260200190565b6000602080835283518082850152825b81811015611b9057858101830151858201604001528201611b74565b81811115611ba15783604083870101525b50601f01601f1916929092016040019392505050565b60208082526019908201527f74686520636f6e7472616374206e6f7420696e69742079657400000000000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601590820152746465706f7369742076616c7565206973207a65726f60581b604082015260600190565b6020808252602b908201527f746865206d6573736167652073656e646572206d757374206265207374616b6960408201526a1b99c818dbdb9d1c9858dd60aa1b606082015260800190565b6020808252601190820152706164646974696f6e206f766572666c6f7760781b604082015260600190565b6020808252601490820152736761737072696365206973206e6f74207a65726f60601b604082015260600190565b60208082526019908201527f74686520636f6e747261637420616c726561647920696e697400000000000000604082015260600190565b6020808252601a908201527f6c656e677468206973206c657373207468616e206f6666736574000000000000604082015260600190565b6020808252602d908201527f746865206d6573736167652073656e646572206d75737420626520746865206260408201526c3637b1b590383937b23ab1b2b960991b606082015260800190565b60208082526029908201527f746865206d6573736167652073656e646572206d75737420626520736c6173686040820152680818dbdb9d1c9858dd60ba1b606082015260800190565b90815260200190565b63ffffffff9190911681526020019056fe746865206e756d626572206f662076616c696461746f7273206578636565647320746865206c696d69746475706c6963617465206164647265737320666f756e6420696e2076616c696461746f72536574f881ea94db5f55b6111f0adc916921cf5624b2768f6524f894db5f55b6111f0adc916921cf5624b2768f6524f8ea9433c31ee0457adfe7e41fd65a33f50262cc97ea1a9433c31ee0457adfe7e41fd65a33f50262cc97ea1aea949f8ff5790d111915b55ef9d9bbd6e82ef08c4550949f8ff5790d111915b55ef9d9bbd6e82ef08c45506d75737420696e636c756465206174206c65617374206f6e652076616c696461746f72a2646970667358221220fc3ae17caa9f4014e2b577150774f29d91a6acc13ca4ee80d4ebcf508f9dded664736f6c634300060c0033",
},
{
Addr: "0x0000000000000000000000000000000000001001",
Code: "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063ab51bb961161008c578063c80d4b8f11610066578063c80d4b8f14610224578063c96be4cb1461022c578063f9a2bbc714610254578063fc4333cd1461025c576100ea565b8063ab51bb96146101f3578063ac0af62914610214578063c3f8d5f41461021c576100ea565b806337c8dab9116100c857806337c8dab91461017657806362b72cf5146101b55780637912a65d146101cf578063a78abc16146101d7576100ea565b80630e2374a5146100ef57806323bac5a21461011357806335aa2e4414610159575b600080fd5b6100f7610264565b604080516001600160a01b039092168252519081900360200190f35b6101396004803603602081101561012957600080fd5b50356001600160a01b031661026a565b604080519384526020840192909252151582820152519081900360600190f35b6100f76004803603602081101561016f57600080fd5b503561028d565b61019c6004803603602081101561018c57600080fd5b50356001600160a01b03166102b4565b6040805192835260208301919091528051918290030190f35b6101bd61030b565b60408051918252519081900360200190f35b6101bd610311565b6101df610316565b604080519115158252519081900360200190f35b6101fb61031f565b6040805163ffffffff9092168252519081900360200190f35b6101bd610324565b6100f7610329565b6101bd61032f565b6102526004803603602081101561024257600080fd5b50356001600160a01b0316610334565b005b6100f761062a565b610252610630565b61100281565b600260208190526000918252604090912080546001820154919092015460ff1683565b6001818154811061029a57fe5b6000918252602090912001546001600160a01b0316905081565b6000806102bf610a5a565b5050506001600160a01b0316600090815260026020818152604092839020835160608101855281548082526001830154938201849052919093015460ff16151592909301919091529091565b60035481565b603281565b60005460ff1681565b600081565b600481565b61100181565b609681565b3341146103725760405162461bcd60e51b815260040180806020018281038252602d815260200180610aae602d913960400191505060405180910390fd5b3a156103bc576040805162461bcd60e51b81526020600482015260146024820152736761737072696365206973206e6f74207a65726f60601b604482015290519081900360640190fd5b6003544311610412576040805162461bcd60e51b815260206004820181905260248201527f63616e206e6f7420736c61736820747769636520696e206f6e6520626c6f636b604482015290519081900360640190fd5b61041a610a5a565b506001600160a01b0381166000908152600260208181526040928390208351606081018552815481526001820154928101929092529091015460ff1615801592820192909252906104755760208101805160010190526104ce565b60016040820181905260208201819052805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b0319166001600160a01b0384161790555b43815260208101516096900661054957600060208201819052604080516335409f7f60e01b81526001600160a01b03851660048201529051611000926335409f7f926024808201939182900301818387803b15801561052c57600080fd5b505af1158015610540573d6000803e3d6000fd5b505050506105be565b603281602001518161055757fe5b066105be57604080516375abf10160e11b81526001600160a01b038416600482015290516110009163eb57e20291602480830192600092919082900301818387803b1580156105a557600080fd5b505af11580156105b9573d6000803e3d6000fd5b505050505b6001600160a01b0382166000818152600260208181526040808420865181559186015160018301558581015191909201805460ff1916911515919091179055517f1647efd0ce9727dc31dc201c9d8d35ac687f7370adcacbd454afc6485ddabfda9190a2505043600355565b61100081565b33611000146106705760405162461bcd60e51b8152600401808060200182810382526030815260200180610a7e6030913960400191505060405180910390fd5b60015461067c57610a58565b600154600090600019015b808211610a2c576000805b8284101561079d576106a2610a5a565b60026000600187815481106106b357fe5b60009182526020808320909101546001600160a01b0316835282810193909352604091820190208151606081018352815481526001820154938101939093526002015460ff16151590820152905060046096048160200151111561078757602081018051602419019052600180548291600291600091908990811061073457fe5b6000918252602080832091909101546001600160a01b0316835282810193909352604091820190208351815591830151600183015591909101516002909101805460ff1916911515919091179055610791565b600192505061079d565b50600190930192610692565b828411610926576107ac610a5a565b60026000600186815481106107bd57fe5b60009182526020808320909101546001600160a01b0316835282810193909352604091820190208151606081018352815481526001820154938101939093526002015460ff16151590820152905060046096048160200151111561089757602081018051602419019052600180548291600291600091908890811061083e57fe5b6000918252602080832091909101546001600160a01b03168352828101939093526040918201902083518155918301516001808401919091559201516002909101805460ff191691151591909117905591506109269050565b60026000600186815481106108a857fe5b60009182526020808320909101546001600160a01b031683528201929092526040018120818155600181810192909255600201805460ff191690558054806108ec57fe5b600082815260209020810160001990810180546001600160a01b0319169055019055836109195750610926565b506000199092019161079d565b8180156109305750805b15610a0f57600260006001868154811061094657fe5b60009182526020808320909101546001600160a01b031683528201929092526040018120818155600181810192909255600201805460ff1916905580548490811061098d57fe5b600091825260209091200154600180546001600160a01b0390921691869081106109b357fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060018054806109ec57fe5b600082815260209020810160001990810180546001600160a01b03191690550190555b82610a1b575050610a2c565b505060019091019060001901610687565b6040517fd8557356e90010c3e29ed50fd67ca9cd15ccbdb15c31224a2d2b41ce06eed63390600090a150505b565b60405180606001604052806000815260200160008152602001600015158152509056fe746865206d6573736167652073656e646572206d7573742062652076616c696461746f7253657420636f6e7472616374746865206d6573736167652073656e646572206d7573742062652074686520626c6f636b2070726f6475636572a2646970667358221220b61fa6398699139df82da5c8b5b8e3d64b03793e59935905cc23f57f7ec38db864736f6c634300060c0033",
},
{
Addr: "0x0000000000000000000000000000000000001002",
Code: "0x6080604052600436106101405760003560e01c80639c2972ca116100b6578063c3f8d5f41161006f578063c3f8d5f414610350578063db7fa0fa14610365578063e1c7392a1461037a578063f40756021461038f578063f519c8f1146103af578063f9a2bbc7146103c457610140565b80639c2972ca146102ab5780639e027604146102cd578063a78abc16146102d5578063ab51bb96146102f7578063b1ab7df814610319578063be64b76b1461033b57610140565b80631904bb2e116101085780631904bb2e146101f45780632cfd9fc614610221578063389e36fb146102365780634754857c1461025657806368ce7d8a146102695780639bd571db1461028957610140565b80630d1bdb96146101455780630e2374a5146101705780631076790414610192578063183516c6146101a757806318d50d33146101c7575b600080fd5b34801561015157600080fd5b5061015a6103d9565b6040516101679190612cdb565b60405180910390f35b34801561017c57600080fd5b506101856103de565b604051610167919061274d565b6101a56101a0366004612645565b6103e4565b005b3480156101b357600080fd5b506101856101c23660046126a5565b6105cc565b3480156101d357600080fd5b506101e76101e2366004612645565b610601565b6040516101679190612cc1565b34801561020057600080fd5b5061021461020f366004612645565b610613565b6040516101679190612ca4565b34801561022d57600080fd5b506101a5610707565b34801561024257600080fd5b506101a5610251366004612668565b6107cc565b6101a5610264366004612645565b610ade565b34801561027557600080fd5b506101a56102843660046126a5565b610f3a565b34801561029557600080fd5b5061029e61119c565b604051610167919061281b565b3480156102b757600080fd5b506102c061132e565b60405161016791906127ae565b6101a561156e565b3480156102e157600080fd5b506102ea611620565b604051610167919061285d565b34801561030357600080fd5b5061030c611629565b6040516101679190612cca565b34801561032557600080fd5b5061032e61162e565b6040516101679190612cb2565b34801561034757600080fd5b506101e7611633565b34801561035c57600080fd5b50610185611640565b34801561037157600080fd5b5061030c611646565b34801561038657600080fd5b506101a5611a8d565b34801561039b57600080fd5b506101e76103aa366004612645565b611c6a565b3480156103bb57600080fd5b506101e7611c7c565b3480156103d057600080fd5b50610185611c82565b603281565b61100281565b6000341161040d5760405162461bcd60e51b815260040161040490612b7f565b60405180910390fd5b6001600160a01b0381166000908152600360205260409020548190801580159061045757506002600182038154811061044257fe5b600091825260209091206004909102015460ff165b6104735760405162461bcd60e51b815260040161040490612c57565b6001600160a01b03831660009081526003602052604081205460028054339392600019019081106104a057fe5b600091825260208083206001600160a01b03868116855260048084526040808720928c1687529190935290932091029091016001810154909250600160a81b900460ff16156105065760018101805434908101909155600283018054909101905561051a565b805434908101825560038301805490910190555b4360028201556001810154815401341415610579576001600160a01b0386811660008181526005602090815260408220805460018101825581845291832090910180546001600160a01b03191694881694909417909355525460038201555b826001600160a01b0316866001600160a01b03167f45d857a252d31130704c5d1789f76aff5ba15702839b8b57882719d2b45ec702346040516105bc9190612cc1565b60405180910390a3505050505050565b600560205281600052604060002081815481106105e557fe5b6000918252602090912001546001600160a01b03169150829050565b60036020526000908152604090205481565b61061b61257f565b6001600160a01b0382166000908152600360205260409020546106505760405162461bcd60e51b815260040161040490612c57565b6001600160a01b0382166000908152600360205260409020546002805490916000190190811061067c57fe5b60009182526020918290206040805160e0810182526004909302909101805460ff808216151585526001600160a01b03610100909204821695850195909552600182015490811692840192909252600160a01b820484166060840152600160a81b90910490921615156080820152600282015460a082015260039091015460c082015290505b919050565b33600081815260036020526040902054801580159061074657506002600182038154811061073157fe5b600091825260209091206004909102015460ff165b6107625760405162461bcd60e51b815260040161040490612c57565b336000908152600360205260408120546002805490916000190190811061078557fe5b600091825260208220600490910201805460ff1916815560405190925033917f05abd4719d2e9b1e5b0f772b7a3b26c9bc48ebaf9a66945092fe09602619aa6b91a2505050565b336001600160a01b0383166107f35760405162461bcd60e51b8152600401610404906129e0565b60648260ff1611156108175760405162461bcd60e51b815260040161040490612ad0565b6001600160a01b0381166000908152600160205260409020546802b5e3af16b188000011156108585760405162461bcd60e51b815260040161040490612932565b6001600160a01b03811660009081526003602052604090205415610920576001600160a01b038116600090815260036020526040812054600280549091600019019081106108a257fe5b906000526020600020906004020190508060010160159054906101000a900460ff16156108e15760405162461bcd60e51b815260040161040490612868565b8054600160ff19909116811782550180546001600160a01b0319166001600160a01b0385161760ff60a01b1916600160a01b60ff851602179055610a98565b6040805160e08101825260018082526001600160a01b03848116602080850182815289841686880190815260ff8a811660608901908152600060808a0181815260a08b0182815260c08c01838152600280549c8d0181558085529c517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace6004909d029c8d018054995160ff19909a1691151591909117610100600160a81b031916610100998d16999099029890981790975594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf8b018054945192516001600160a01b031990951691909a161760ff60a01b1916600160a01b91909416029290921760ff60a81b1916600160a81b9115159190910217909555517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0860155517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad1909401939093559254928152600390915291909120555b806001600160a01b03167f238e7967f31ca3c1f5404d38c50af64eda069c84124252b2f4fe9be9c1ef3b0983604051610ad19190612cdb565b60405180910390a2505050565b60003411610afe5760405162461bcd60e51b815260040161040490612b7f565b3361100014610b1f5760405162461bcd60e51b815260040161040490612990565b806001600160a01b03167f38cbdc591b5cf62cc9a88b92dcee4809f0d0ca6cd9bdad9f818d74c38e78bf2934604051610b589190612cc1565b60405180910390a2610b6861257f565b6001600160a01b03821660009081526003602052604090205460028054909160001901908110610b9457fe5b600091825260208083206040805160e0810182526004909402909101805460ff808216151586526001600160a01b03610100909204821694860194909452600182015490811692850192909252600160a01b8204831660608501819052600160a81b90920490921615156080840152600282015460a084015260039091015460c083015290925034919015610e56576001600160a01b038416600090815260056020908152604091829020805483518184028101840190945280845260609392830182828015610c8d57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c6f575b505050505090506000612710905060008060005b8451811015610e50578760c0015160046000878481518110610cbf57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008b6001600160a01b03166001600160a01b0316815260200190815260200160002060000154850281610d1757fe5b04925083606402886060015160ff168434020281610d3157fe5b04915081610d3e57610e48565b848181518110610d4a57fe5b60200260200101516001600160a01b03166108fc839081150290604051600060405180830381858888f1935050505095508515610de9578187039650848181518110610d9257fe5b60200260200101516001600160a01b0316896001600160a01b03167f161c0c00797d4a1562a5501c2bfe4eaa78fd4e2ae7879ce35f67699421dac67e84604051610ddc9190612cc1565b60405180910390a3610e48565b848181518110610df557fe5b60200260200101516001600160a01b0316896001600160a01b03167fcceda04bf5b3b12ed328861c4d5132ccde0b298bd9775393c6d7db3357c1dab584604051610e3f9190612cc1565b60405180910390a35b600101610ca1565b50505050505b8115610f345782604001516001600160a01b03166108fc839081150290604051600060405180830381858888f1935050505090508015610ee45782604001516001600160a01b0316846001600160a01b03167f19ee3d4b5c5dccd6925fb5a326b2f138c7d626ba1515eaca3f584c00072fe33884604051610ed79190612cc1565b60405180910390a3610f34565b82604001516001600160a01b0316846001600160a01b03167fcceda04bf5b3b12ed328861c4d5132ccde0b298bd9775393c6d7db3357c1dab584604051610f2b9190612cc1565b60405180910390a35b50505050565b3360008181526004602090815260408083206001600160a01b038716845290915290208054831115610f7e5760405162461bcd60e51b815260040161040490612bc4565b617080816002015401431015610fa65760405162461bcd60e51b8152600401610404906128d5565b805483900381556001600160a01b03841660009081526003602052604090205460028054859260001901908110610fd957fe5b600091825260209091206003600490920201018054919091039055805415801561100557506001810154155b15611122576001600160a01b038416600090815260056020526040812080549091908290600019810190811061103757fe5b9060005260206000200160009054906101000a90046001600160a01b03169050808260018560030154038154811061106b57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550818054806110a357fe5b60008281526020808220830160001990810180546001600160a01b03191690559092019092556003808601546001600160a01b039485168452600480845260408086208c881680885290865281872085019390935595891685528352848420908452909152918120818155600181018290556002810182905590910155505b6040516001600160a01b0383169084156108fc029085906000818181858888f19350505050158015611158573d6000803e3d6000fd5b50816001600160a01b0316846001600160a01b03167f9df83610dcc949348087c81867251b00e01f97ea329e637897f825645cf5b89f85604051610f2b9190612cc1565b6002546060906000805b828110156111e357600281815481106111bb57fe5b600091825260209091206004909102015460ff16156111db576001909101905b6001016111a6565b5060608167ffffffffffffffff811180156111fd57600080fd5b5060405190808252806020026020018201604052801561123757816020015b61122461257f565b81526020019060019003908161121c5790505b5090506000915060005b83811015611326576002818154811061125657fe5b600091825260209091206004909102015460ff161561131e576002818154811061127c57fe5b60009182526020918290206040805160e0810182526004909302909101805460ff808216151585526001600160a01b0361010090920482169585019590955260018083015491821693850193909352600160a01b810485166060850152600160a81b900490931615156080830152600283015460a083015260039092015460c08201528351918501949091849190811061131257fe5b60200260200101819052505b600101611241565b509250505090565b60606113386125bb565b6002546000805b828110156113ed57336000908152600460205260408120600280549192918490811061136757fe5b600091825260208083206004909202909101546001600160a01b0361010090910416835282810193909352604091820190208151608081018352815480825260018301549482019490945260028201549281019290925260030154606082015294501515806113d95750602084015115155b156113e5576001909101905b60010161133f565b5060608167ffffffffffffffff8111801561140757600080fd5b5060405190808252806020026020018201604052801561144157816020015b61142e6125e3565b8152602001906001900390816114265790505b5090506000915060005b8381101561156557336000908152600460205260408120600280549192918490811061147357fe5b600091825260208083206004909202909101546001600160a01b0361010090910416835282810193909352604091820190208151608081018352815480825260018301549482019490945260028201549281019290925260030154606082015295501515806114e55750602085015115155b1561155d5760405180608001604052806002838154811061150257fe5b6000918252602091829020600490910201546001600160a01b03610100909104168252875182820152870151604080830191909152870151606090910152825160018501948491811061155157fe5b60200260200101819052505b60010161144b565b50935050505090565b6000341161158e5760405162461bcd60e51b815260040161040490612b7f565b336000818152600160205260409020546802b5e3af16b1880000116115c55760405162461bcd60e51b815260040161040490612a66565b6001600160a01b0381166000818152600160205260409081902080543490810190915590517f1ed371ca1748e85e2d9554206ef61b0e69b21d41f30b4d4987d7b006fb4801cc9161161591612cc1565b60405180910390a250565b60005460ff1681565b600081565b602181565b6802b5e3af16b188000081565b61100181565b60003341146116675760405162461bcd60e51b815260040161040490612c0a565b3a156116855760405162461bcd60e51b815260040161040490612a38565b600254600080805b8381101561170257600281815481106116a257fe5b600091825260209091206004909102015460ff16156116c2576001909201915b600281815481106116cf57fe5b906000526020600020906004020160010160159054906101000a900460ff16156116fa576001909101905b60010161168d565b5060608267ffffffffffffffff8111801561171c57600080fd5b5060405190808252806020026020018201604052801561175657816020015b61174361257f565b81526020019060019003908161173b5790505b50905060608267ffffffffffffffff8111801561177257600080fd5b5060405190808252806020026020018201604052801561179c578160200160208202803683370190505b509050600093506000925060005b858110156118b6576000600282815481106117c157fe5b60009182526020909120600490910201805490915060ff1615611869576040805160e081018252825460ff808216151583526001600160a01b036101009092048216602084015260018086015492831694840194909452600160a01b820481166060840152600160a81b9091041615156080820152600283015460a0820152600383015460c08201528551918801979091869190811061185d57fe5b60200260200101819052505b6001810154600160a81b900460ff16156118ad576001808201805460ff60a81b19169055835190860195839185919081106118a057fe5b6020026020010181815250505b506001016117aa565b506118c082611c88565b91506060825167ffffffffffffffff811180156118dc57600080fd5b50604051908082528060200260200182016040528015611906578160200160208202803683370190505b50905060005b83518110156119fc57600084828151811061192357fe5b60200260200101516020015190508083838151811061193e57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505060016002600160036000856001600160a01b03166001600160a01b0316815260200190815260200160002054038154811061199557fe5b6000918252602082206001600490920201018054921515600160a81b0260ff60a81b19909316929092179091556040516001600160a01b038316917fdbbc3fb464c238346e7c6b1dd5fc04bd2120161cd125361223ad76f36b70ca7691a25060010161190c565b5060405163f677e55760e01b81526000906110009063f677e55790611a25908590600401612761565b602060405180830381600087803b158015611a3f57600080fd5b505af1158015611a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7791906126d0565b9050611a8283611d83565b965050505050505090565b60005460ff1615611ab05760405162461bcd60e51b815260040161040490612b11565b6060611aba611ee9565b905060005b8151811015611c59576000828281518110611ad657fe5b602002602001015160000151905060026040518060e00160405280600115158152602001836001600160a01b03168152602001858581518110611b1557fe5b6020908102919091018101518101516001600160a01b03908116835260328383018190526001604080860182905260006060808801829052608097880182905289548085018b5599825286822089516004909b020180548a890151881661010002610100600160a81b03199c151560ff19909216919091179b909b169a909a178a5588830151938a018054918a0151988a01511515600160a81b0260ff60a81b1960ff9a909a16600160a01b0260ff60a01b199689166001600160a01b0319909416939093179590951691909117979097169290921790955560a086015160028089019190915560c0909601516003978801559454918716808652959092529282902092909255517f238e7967f31ca3c1f5404d38c50af64eda069c84124252b2f4fe9be9c1ef3b0991611c4891612cdb565b60405180910390a250600101611abf565b50506000805460ff19166001179055565b60016020526000908152604090205481565b61708081565b61100081565b6060600282511015611c9b575080610702565b6000602161ffff16835110611cb1576021611cb4565b82515b905060608167ffffffffffffffff81118015611ccf57600080fd5b50604051908082528060200260200182016040528015611d0957816020015b611cf661257f565b815260200190600190039081611cee5790505b509050611d1584611fbc565b83516000190160005b83811015611d795785600081518110611d3357fe5b6020026020010151838281518110611d4757fe5b6020026020010181905250611d5e86600084611ff2565b611d718660008480600190039550612059565b600101611d1e565b5090949350505050565b60005b8151811015611ee55760006002838381518110611d9f57fe5b602002602001015181548110611db157fe5b60009182526020808320600490920290910180546001600160a01b0361010090910416835260058252604092839020805484518185028101850190955280855291945060609392909190830182828015611e3457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611e16575b5050505050905060005b8151811015611eba57600060046000848481518110611e5957fe5b6020908102919091018101516001600160a01b03908116835282820193909352604091820160009081208854610100900490941681529290529020600181015490915015611eb1576001810180548254018255600090555b50600101611e3e565b50600282015415611edb576002820180546003840180549091019055600090555b5050600101611d86565b5050565b606080611f15611f106040518060c0016040528060838152602001612cff6083913961218d565b6121b2565b90506060815167ffffffffffffffff81118015611f3157600080fd5b50604051908082528060200260200182016040528015611f6b57816020015b611f58612614565b815260200190600190039081611f505790505b50905060005b8251811015611fb557611f96838281518110611f8957fe5b602002602001015161229a565b828281518110611fa257fe5b6020908102919091010152600101611f71565b5091505090565b600060028083510381611fcb57fe5b0490505b611fdb82828451612059565b80611fe65750611fef565b60001901611fcf565b50565b611ffa61257f565b83838151811061200657fe5b6020026020010151905083828151811061201c57fe5b602002602001015184848151811061203057fe5b60200260200101819052508084838151811061204857fe5b602002602001018190525050505050565b8160028082026001810191015b8382101561218457600083905086838151811061207f57fe5b602002602001015160a0015187848151811061209757fe5b602002602001015160c00151018782815181106120b057fe5b602002602001015160a001518883815181106120c857fe5b602002602001015160c001510110156120de5750815b848210801561214c57508682815181106120f457fe5b602002602001015160a0015187838151811061210c57fe5b602002602001015160c001510187828151811061212557fe5b602002602001015160a0015188838151811061213d57fe5b602002602001015160c0015101105b156121545750805b838114156121655750505050612188565b612170878583611ff2565b925050506002808202600181019101612066565b5050505b505050565b61219561262b565b506040805180820190915281518152602082810190820152919050565b60606121bd82612307565b6121c657600080fd5b60006121d183612341565b905060608167ffffffffffffffff811180156121ec57600080fd5b5060405190808252806020026020018201604052801561222657816020015b61221361262b565b81526020019060019003908161220b5790505b50905060006122388560200151612399565b60208601510190506000805b8481101561228f57612255836123fc565b915060405180604001604052808381526020018481525084828151811061227857fe5b602090810291909101015291810191600101612244565b509195945050505050565b6122a2612614565b60606122ad836121b2565b905060405180604001604052806122d7836000815181106122ca57fe5b60200260200101516124dd565b6001600160a01b031681526020016122f5836001815181106122ca57fe5b6001600160a01b031690529392505050565b805160009061231857506000610702565b6020820151805160001a9060c082101561233757600092505050610702565b5060019392505050565b805160009061235257506000610702565b6000806123628460200151612399565b602085015185519181019250015b8082101561239057612381826123fc565b60019093019290910190612370565b50909392505050565b8051600090811a60808110156123b3576000915050610702565b60b88110806123ce575060c081108015906123ce575060f881105b156123dd576001915050610702565b60c08110156123f15760b519019050610702565b60f519019050610702565b80516000908190811a608081101561241757600191506124d6565b60b881101561242c57607e19810191506124d6565b60c081101561247d57600060b78203600186019550806020036101000a8651049150600181018201935050808310156124775760405162461bcd60e51b815260040161040490612a0d565b506124d6565b60f88110156124925760be19810191506124d6565b600060f78203600186019550806020036101000a8651049150600181018201935050808310156124d45760405162461bcd60e51b815260040161040490612a0d565b505b5092915050565b80516000906015146124ee57600080fd5b6124f7826124fd565b92915050565b80516000901580159061251257508151602110155b61251b57600080fd5b600061252a8360200151612399565b905080836000015110156125505760405162461bcd60e51b815260040161040490612b48565b82516020808501518301805192849003929183101561257657826020036101000a820491505b50949350505050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b604080518082019091526000808252602082015290565b604051806040016040528060008152602001600081525090565b600060208284031215612656578081fd5b813561266181612ce9565b9392505050565b6000806040838503121561267a578081fd5b823561268581612ce9565b9150602083013560ff8116811461269a578182fd5b809150509250929050565b600080604083850312156126b7578182fd5b82356126c281612ce9565b946020939093013593505050565b6000602082840312156126e1578081fd5b815163ffffffff81168114612661578182fd5b805115158252602081015160018060a01b038082166020850152806040840151166040850152505060ff606082015116606083015260808101511515608083015260a081015160a083015260c081015160c08301525050565b6001600160a01b0391909116815260200190565b6020808252825182820181905260009190848201906040850190845b818110156127a25783516001600160a01b03168352928401929184019160010161277d565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b8281101561280e57815180516001600160a01b031685528681015187860152858101518686015260609081015190850152608090930192908501906001016127cb565b5091979650505050505050565b6020808252825182820181905260009190848201906040850190845b818110156127a25761284a8385516126f4565b9284019260e09290920191600101612837565b901515815260200190565b60208082526047908201527f76616c696461746f7220726567697374726174696f6e2063616e6e6f7420626560408201527f2075706461746564207768696c652076616c696461746f7220697320696e207260608201526637ba30ba34b7b760c91b608082015260a00190565b60208082526039908201527f74686973207374616b652063616e6e6f7420626520656e64656420796574202860408201527f6d696e207374616b65206c656e677468206e6f74206d65742900000000000000606082015260800190565b602080825260409082018190527f746865207265717569726564206465706f73697420686173206e6f7420626565908201527f6e206d657420666f7220746869732076616c696461746f722061646472657373606082015260800190565b60208082526030908201527f746865206d6573736167652073656e646572206d7573742062652076616c696460408201526f185d1bdc94d95d0818dbdb9d1c9858dd60821b606082015260800190565b602080825260139082015272696e76616c696420666565206164647265737360681b604082015260600190565b6020808252601190820152706164646974696f6e206f766572666c6f7760781b604082015260600190565b6020808252601490820152736761737072696365206973206e6f74207a65726f60601b604082015260600190565b60208082526044908201527f746865207265717569726564206465706f7369742068617320616c726561647960408201527f206265656e206d657420666f7220746869732076616c696461746f72206164646060820152637265737360e01b608082015260a00190565b60208082526021908201527f65786365656473206d61782070657263656e74526576536861726520283130306040820152602960f81b606082015260800190565b60208082526019908201527f74686520636f6e747261637420616c726561647920696e697400000000000000604082015260600190565b6020808252601a908201527f6c656e677468206973206c657373207468616e206f6666736574000000000000604082015260600190565b60208082526025908201527f6d7573742073656e6420776569207769746820746869732066756e6374696f6e6040820152640818d85b1b60da1b606082015260800190565b60208082526026908201527f7468652072657175657374656420616d742065786365656473207374616b65646040820152652066756e647360d01b606082015260800190565b6020808252602d908201527f746865206d6573736167652073656e646572206d75737420626520746865206260408201526c3637b1b590383937b23ab1b2b960991b606082015260800190565b6020808252602d908201527f612076616c696461746f72206973206e6f74207265676973746572656420617460408201526c2074686973206164647265737360981b606082015260800190565b60e081016124f782846126f4565b61ffff91909116815260200190565b90815260200190565b63ffffffff91909116815260200190565b60ff91909116815260200190565b6001600160a01b0381168114611fef57600080fdfef881ea94db5f55b6111f0adc916921cf5624b2768f6524f894db5f55b6111f0adc916921cf5624b2768f6524f8ea9433c31ee0457adfe7e41fd65a33f50262cc97ea1a9433c31ee0457adfe7e41fd65a33f50262cc97ea1aea949f8ff5790d111915b55ef9d9bbd6e82ef08c4550949f8ff5790d111915b55ef9d9bbd6e82ef08c4550a2646970667358221220a9724208714205abd2554c4834b90870e81911541be4bc9f326ee4be32b724e264736f6c634300060c0033",
},
}
func init() {
var pulseChainTestnetTreasuryBalance math.HexOrDecimal256
pulseChainTestnetTreasuryBalance.UnmarshalText([]byte("0x33b2e3c9fd0803ce8000000"))
pulseChainTestnetTreasury = Treasury{
Addr: "0xceB59257450820132aB274ED61C49E5FD96E8868",
Balance: &pulseChainTestnetTreasuryBalance,
}
}