Address Contract Partially Verified
Address
0x15ADa72A3B52A88E25DdD2CC2bA1120234e34bb0
Balance
0 ETH
Nonce
1
Code Size
15280 bytes
Creator
0xa448833b...6eDf at tx 0x17d111b3...a26ffa
Indexed Transactions
0
Contract Bytecode
15280 bytes
0x608060405234801561001057600080fd5b50600436106102f45760003560e01c80638b928bd311610191578063c57981b5116100e3578063e050be5711610097578063f7b188a511610071578063f7b188a51461074b578063fc0c546a14610753578063fd433ec01461077a57600080fd5b8063e050be57146106f5578063f40e349f14610718578063f55ebb8f1461072b57600080fd5b8063cdbdfdc2116100c8578063cdbdfdc2146106aa578063d9fb265d146106b2578063de7974a4146106d557600080fd5b8063c57981b51461067a578063cd84980e1461068357600080fd5b80639b8c624a11610145578063b61325cd1161011f578063b61325cd1461063d578063b61d27f614610646578063c2f6afe51461066757600080fd5b80639b8c624a146105c8578063a3a6d9e8146105db578063b32c4d8d146105ee57600080fd5b80638e714a72116101765780638e714a7214610541578063907c6c2e146105545780639ace38c21461057457600080fd5b80638b928bd3146105195780638da5cb5b1461052157600080fd5b80633beaf5261161024a578063652dfc3b116101fe57806379ba5097116101d857806379ba5097146104e25780638304e6d2146104ea5780638456cb591461051157600080fd5b8063652dfc3b1461049557806366e64f97146104a857806369fe0e2d146104cf57600080fd5b8063525862f91161022f578063525862f91461042a57806353a47bb7146104585780635c975abb1461047857600080fd5b80633beaf526146104045780634a474aa31461041757600080fd5b80631627540c116102ac57806333032dd01161028657806333032dd0146103d557806333efa2b2146103de57806336f734c1146103f157600080fd5b80631627540c14610363578063165282c314610376578063327107f71461038957600080fd5b806305c211d2116102dd57806305c211d21461032a57806307cca1661461033d578063081c46241461035057600080fd5b8063024faa8c146102f957806305ab421d14610315575b600080fd5b61030260075481565b6040519081526020015b60405180910390f35b6103286103233660046134c3565b61078d565b005b6103286103383660046134ed565b6108bf565b61032861034b366004613527565b610c78565b61032861035e36600461355e565b610d83565b610328610371366004613583565b610e0e565b61030261038436600461359e565b610efe565b6103b07f0000000000000000000000001a93b23281cc1cde4c4741353f3064709a16197d81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161030c565b61030260065481565b6103286103ec3660046135c0565b610f98565b6103286103ff3660046135fb565b611749565b61030261041236600461359e565b611b36565b610328610425366004613627565b611d5e565b61043d61043836600461359e565b611ede565b6040805193845260208401929092529082015260600161030c565b6001546103b09073ffffffffffffffffffffffffffffffffffffffff1681565b6005546104859060ff1681565b604051901515815260200161030c565b6103286104a3366004613640565b611ff7565b6103027f00000000000000000000000000000000000000000000000000000002540be40081565b6103286104dd366004613627565b6120bb565b6103286121ab565b6103027f000000000000000000000000000000000000000000000000000000000000050581565b6103286122e8565b600c54610302565b6000546103b09073ffffffffffffffffffffffffffffffffffffffff1681565b61032861054f366004613583565b6123d3565b61056761056236600461359e565b6124e2565b60405161030c91906136c6565b610587610582366004613627565b612672565b6040805173ffffffffffffffffffffffffffffffffffffffff909416845267ffffffffffffffff909216602084015263ffffffff169082015260600161030c565b6103286105d6366004613583565b6126f3565b6103286105e936600461375d565b612802565b6106016105fc366004613627565b612912565b6040805167ffffffffffffffff96871681529486166020860152928516928401929092529092166060820152608081019190915260a00161030c565b610302600b5481565b6106596106543660046137d2565b612992565b60405161030c92919061387d565b61032861067536600461359e565b612b1e565b61030260085481565b6103027f000000000000000000000000000000000000000000000000000000000000000181565b600954610302565b6104856106c0366004613583565b60046020526000908152604090205460ff1681565b6003546103b09073ffffffffffffffffffffffffffffffffffffffff1681565b610485610703366004613627565b600a6020526000908152604090205460ff1681565b61032861072636600461359e565b612c72565b6002546103b09073ffffffffffffffffffffffffffffffffffffffff1681565b610328612f8f565b6103b07f000000000000000000000000853d955acef822db058eb8505911ed77f175b99e81565b610328610788366004613627565b61301a565b60005473ffffffffffffffffffffffffffffffffffffffff163314610813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e6572000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5a65726f2061646472657373206e6f7420616c6c6f7765640000000000000000604482015260640161080a565b6108bb7f000000000000000000000000853d955acef822db058eb8505911ed77f175b99e8383613027565b5050565b60055460ff161561092c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f5061757365640000000000000000000000000000000000000000000000000000604482015260640161080a565b7f00000000000000000000000000000000000000000000000000000002540be4006109578184613906565b6109619190613941565b915060085482116109ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f416d6f756e7420746f6f206c6f77000000000000000000000000000000000000604482015260640161080a565b67ffffffffffffffff610a017f00000000000000000000000000000000000000000000000000000002540be40084613906565b1115610a69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416d6f756e7420746f6f20686967680000000000000000000000000000000000604482015260640161080a565b610a957f000000000000000000000000853d955acef822db058eb8505911ed77f175b99e333085613197565b60007f00000000000000000000000000000000000000000000000000000002540be40060085484610ac69190613958565b610ad09190613906565b60095490915073ffffffffffffffffffffffffffffffffffffffff8316907f0250c838bae2cda1e214f0925d41846180714450539039d6fd90a4121d98738e9085610b457f00000000000000000000000000000000000000000000000000000002540be40067ffffffffffffffff8716613941565b6040805193845260208401929092529082015242606082015260800160405180910390a26040805160608101825273ffffffffffffffffffffffffffffffffffffffff938416815267ffffffffffffffff9283166020820190815263ffffffff4281169383019384526009805460018101825560009190915292517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af9093018054925194519091167c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff9490951674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009092169290951691909117171617905550565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cf9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b73ffffffffffffffffffffffffffffffffffffffff821660008181526004602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f6a5f1fd939b33c2480886a44e0780806ce19041ef2c91734cb752c54288ca5ac910160405180910390a25050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b6108bb8282613310565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce2290600090a250565b6000825b828111610f665760098181548110610f1c57610f1c61396b565b600091825260209091200154610f549074010000000000000000000000000000000000000000900467ffffffffffffffff168361399a565b9150610f5f816139ad565b9050610f02565b50610f917f00000000000000000000000000000000000000000000000000000002540be40082613941565b9392505050565b60055460ff1615611005576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f5061757365640000000000000000000000000000000000000000000000000000604482015260640161080a565b60035473ffffffffffffffffffffffffffffffffffffffff163314611086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e6f74206669727374206f666669636572000000000000000000000000000000604482015260640161080a565b600b8054600091600c91908361109b836139ad565b91905055815481106110af576110af61396b565b60009182526020918290206040805160a0810182526002909302909101805467ffffffffffffffff8082168552680100000000000000008204811695850195909552700100000000000000000000000000000000810485169284019290925278010000000000000000000000000000000000000000000000009091049092166060820181905260019092015460808201529150156111a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4261746368206469737075746564000000000000000000000000000000000000604482015260640161080a565b805167ffffffffffffffff1682351461121e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f57726f6e67207374617274000000000000000000000000000000000000000000604482015260640161080a565b806020015167ffffffffffffffff16600183806020019061123f91906139e5565b8451611255925067ffffffffffffffff1661399a565b61125f9190613958565b146112c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f57726f6e672073697a6500000000000000000000000000000000000000000000604482015260640161080a565b60075460408201516112e29067ffffffffffffffff1642613958565b101561134a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f546f6f20736f6f6e000000000000000000000000000000000000000000000000604482015260640161080a565b8051604051600091611452917f0000000000000000000000000000000000000000000000000000000000000505917f0000000000000000000000001a93b23281cc1cde4c4741353f3064709a16197d917f0000000000000000000000000000000000000000000000000000000000000001917f000000000000000000000000853d955acef822db058eb8505911ed77f175b99e91602001948552606093841b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000090811660208701526034860193909352921b16605483015260c01b7fffffffffffffffff00000000000000000000000000000000000000000000000016606882015260700190565b60405160208183030381529060405280519060200120905060005b61147a60208501856139e5565b905081101561167e57600a600082856000015167ffffffffffffffff166114a1919061399a565b815260208101919091526040016000205460ff1661157f5761157f7f000000000000000000000000853d955acef822db058eb8505911ed77f175b99e6114ea60208701876139e5565b848181106114fa576114fa61396b565b6115109260206060909202019081019150613583565b7f00000000000000000000000000000000000000000000000000000002540be40061153e60208901896139e5565b8681811061154e5761154e61396b565b90506060020160200160208101906115669190613a53565b67ffffffffffffffff1661157a9190613941565b613027565b8161158d60208601866139e5565b8381811061159d5761159d61396b565b6115b39260206060909202019081019150613583565b6115c060208701876139e5565b848181106115d0576115d061396b565b90506060020160200160208101906115e89190613a53565b6040516020016116559392919092835260609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602083015260c01b7fffffffffffffffff000000000000000000000000000000000000000000000000166034820152603c0190565b60405160208183030381529060405280519060200120915080611677906139ad565b905061146d565b50808260800151146116ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f57726f6e67206861736800000000000000000000000000000000000000000000604482015260640161080a565b81516020808401516040805167ffffffffffffffff9485168152939091169183019190915281018290527fce67cdf2a5dbd123a7aa5e9fd21b2136e06d33eb30e024ee5c491a6ec934a48b906060015b60405180910390a1505050565b60055460ff16156117b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f5061757365640000000000000000000000000000000000000000000000000000604482015260640161080a565b60025473ffffffffffffffffffffffffffffffffffffffff163314611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f74206361707461696e000000000000000000000000000000000000000000604482015260640161080a565b600c54158015611845575082155b806118b65750600c54158015906118b65750600c805461186790600190613958565b815481106118775761187761396b565b60009182526020909120600290910201546118a99068010000000000000000900467ffffffffffffffff166001613a7d565b67ffffffffffffffff1683145b61191c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f57726f6e67207374617274000000000000000000000000000000000000000000604482015260640161080a565b828210158015611933575067ffffffffffffffff82105b611999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f57726f6e6720656e640000000000000000000000000000000000000000000000604482015260640161080a565b6040805160a08101825267ffffffffffffffff80861682528481166020830190815242821693830193845260006060840181815260808501878152600c80546001818101835594829052965160029097027fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c781018054965199519451881678010000000000000000000000000000000000000000000000000277ffffffffffffffffffffffffffffffffffffffffffffffff95891670010000000000000000000000000000000002959095166fffffffffffffffffffffffffffffffff9a891668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090981699909816989098179590951797909716949094171790935590517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c89091015590547fe078fb854f34cd8ca5f749fe2e680b692ef7df5e057026369a30c8965a3219ca91611b1491613958565b604080519182526020820186905281018490526060810183905260800161173c565b604080517f00000000000000000000000000000000000000000000000000000000000000016020808301919091527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000007f000000000000000000000000853d955acef822db058eb8505911ed77f175b99e606090811b8216848601527f000000000000000000000000000000000000000000000000000000000000050560548501527f0000000000000000000000001a93b23281cc1cde4c4741353f3064709a16197d901b1660748301527fffffffffffffffff00000000000000000000000000000000000000000000000060c086901b1660888301528251808303607001815260909092019092528051910120600090835b838111611d54578160098281548110611c6357611c6361396b565b6000918252602090912001546009805473ffffffffffffffffffffffffffffffffffffffff9092169184908110611c9c57611c9c61396b565b9060005260206000200160000160149054906101000a900467ffffffffffffffff16604051602001611d2b9392919092835260609190911b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602083015260c01b7fffffffffffffffff000000000000000000000000000000000000000000000000166034820152603c0190565b60405160208183030381529060405280519060200120915080611d4d906139ad565b9050611c48565b5090505b92915050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611ddf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b80600b541115611e4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f426174636820616c726561647920657865637574656400000000000000000000604482015260640161080a565b600c54811015611ea757600c805480611e6657611e66613a9e565b60008281526020812060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90930192830201818155600101559055611e4b565b6040518181527f992e817214d6c9aa9d52b4faf1913b1d1321ce1a6ff98258e88a5d78e71a0183906020015b60405180910390a150565b60008060008060065442611ef29190613958565b60095490915086108015611f4957508060098781548110611f1557611f1561396b565b6000918252602090912001547c0100000000000000000000000000000000000000000000000000000000900463ffffffff16105b15611fef578593506001611f5d868661399a565b611f679190613958565b6009549093508310611f8557600954611f8290600190613958565b92505b8060098481548110611f9957611f9961396b565b6000918252602090912001547c0100000000000000000000000000000000000000000000000000000000900463ffffffff1610611fe25782611fda81613acd565b935050611f85565b611fec8484611b36565b91505b509250925092565b60005473ffffffffffffffffffffffffffffffffffffffff163314612078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b60005b828110156120b5576120a58484838181106120985761209861396b565b9050602002013583613310565b6120ae816139ad565b905061207b565b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461213c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b7f0000000000000000000000000000000000000000000000056bc75e2d631000006008541061216a57600080fd5b60085460408051918252602082018390527f032dc6a2d839eb179729a55633fdf1c41a1fc4739394154117005db2b354b9b5910160405180910390a1600855565b60015473ffffffffffffffffffffffffffffffffffffffff163314612252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527f2063616e20616363657074206f776e6572736869700000000000000000000000606482015260840161080a565b6001546000805460405173ffffffffffffffffffffffffffffffffffffffff93841693909116917fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c91a360018054600080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811673ffffffffffffffffffffffffffffffffffffffff841617909155169055565b3360009081526004602052604090205460ff168061231d575060005473ffffffffffffffffffffffffffffffffffffffff1633145b8061233f575060025473ffffffffffffffffffffffffffffffffffffffff1633145b80612361575060035473ffffffffffffffffffffffffffffffffffffffff1633145b6123c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420637265776d656d626572000000000000000000000000000000000000604482015260640161080a565b6123d1600161343b565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b60025460405173ffffffffffffffffffffffffffffffffffffffff8084169216907ff18effac70e61c427eeb822dabc8c030ad0d6178e38899b5436e10f9b599028f90600090a3600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60408051808201909152606060208201528281526125008383613958565b61250b90600161399a565b67ffffffffffffffff81111561252357612523613b02565b60405190808252806020026020018201604052801561258c57816020015b60408051606081018252600080825260208083018290529282015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9092019101816125415790505b506020820152825b82811161266b57600981815481106125ae576125ae61396b565b600091825260209182902060408051606081018252929091015473ffffffffffffffffffffffffffffffffffffffff8116835274010000000000000000000000000000000000000000810467ffffffffffffffff16838501527c0100000000000000000000000000000000000000000000000000000000900463ffffffff16908201529083015161263f8684613958565b8151811061264f5761264f61396b565b602002602001018190525080612664906139ad565b9050612594565b5092915050565b6009818154811061268257600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff8116915074010000000000000000000000000000000000000000810467ffffffffffffffff16907c0100000000000000000000000000000000000000000000000000000000900463ffffffff1683565b60005473ffffffffffffffffffffffffffffffffffffffff163314612774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b60035460405173ffffffffffffffffffffffffffffffffffffffff8084169216907fd64fbe94bc529b7e39db059497f4956a94c5ade6b2df42325818876b1c013bcd90600090a3600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008461280f5787612831565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b6040517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018290526064810188905260ff8616608482015260a4810185905260c481018490529091507f000000000000000000000000853d955acef822db058eb8505911ed77f175b99e73ffffffffffffffffffffffffffffffffffffffff169063d505accf9060e401600060405180830381600087803b1580156128e657600080fd5b505af11580156128fa573d6000803e3d6000fd5b5050505061290881886108bf565b5050505050505050565b600c818154811061292257600080fd5b60009182526020909120600290910201805460019091015467ffffffffffffffff8083169350680100000000000000008304811692700100000000000000000000000000000000810482169278010000000000000000000000000000000000000000000000009091049091169085565b6000805460609073ffffffffffffffffffffffffffffffffffffffff163314612a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b821580612a3b575060008673ffffffffffffffffffffffffffffffffffffffff163b115b612aa1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f43616e206e6f742063616c6c20612066756e6374696f6e206f6e206120454f41604482015260640161080a565b6000808773ffffffffffffffffffffffffffffffffffffffff16878787604051612acc929190613b31565b60006040518083038185875af1925050503d8060008114612b09576040519150601f19603f3d011682016040523d82523d6000602084013e612b0e565b606091505b5090999098509650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314612b9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b610e108210158015612bb35750610e108110155b612c19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f506572696f6420746f6f2073686f727400000000000000000000000000000000604482015260640161080a565b6006546007546040805192835260208301919091528101839052606081018290527f7e8d6c37faafc79578015f383c6a5d31a846c93210a9d639e01843943e9fd5f89060800160405180910390a1600691909155600755565b3360009081526004602052604090205460ff1680612ca7575060005473ffffffffffffffffffffffffffffffffffffffff1633145b80612cc9575060025473ffffffffffffffffffffffffffffffffffffffff1633145b80612ceb575060035473ffffffffffffffffffffffffffffffffffffffff1633145b612d51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420637265776d656d626572000000000000000000000000000000000000604482015260640161080a565b80600c8381548110612d6557612d6561396b565b90600052602060002090600202016001015414612dde576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f57726f6e67206861736800000000000000000000000000000000000000000000604482015260640161080a565b81600b541115612e4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f426174636820616c726561647920657865637574656400000000000000000000604482015260640161080a565b600c8281548110612e5d57612e5d61396b565b60009182526020909120600290910201547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1615612efb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f426174636820616c726561647920646973707574656400000000000000000000604482015260640161080a565b6001600c8381548110612f1057612f1061396b565b906000526020600020906002020160000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550612f51600161343b565b60408051838152602081018390527f2292bdbb5281fd856c02c8a97b23b28fd9c47e895224d5262ef02c9647c1ebc091015b60405180910390a15050565b60005473ffffffffffffffffffffffffffffffffffffffff163314613010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640161080a565b6123d1600061343b565b61302481336108bf565b50565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905291516000928392908716916130be9190613b41565b6000604051808303816000865af19150503d80600081146130fb576040519150601f19603f3d011682016040523d82523d6000602084013e613100565b606091505b509150915081801561312a57508051158061312a57508080602001905181019061312a9190613b5d565b613190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f5354000000000000000000000000000000000000000000000000000000000000604482015260640161080a565b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905291516000928392908816916132369190613b41565b6000604051808303816000865af19150503d8060008114613273576040519150601f19603f3d011682016040523d82523d6000602084013e613278565b606091505b50915091508180156132a25750805115806132a25750808060200190518101906132a29190613b5d565b613308576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f5354460000000000000000000000000000000000000000000000000000000000604482015260640161080a565b505050505050565b600b5415806133655750600c6001600b5461332b9190613958565b8154811061333b5761333b61396b565b600091825260209091206002909102015468010000000000000000900467ffffffffffffffff1682115b6133cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5472616e73616374696f6e20616c726561647920657865637574656400000000604482015260640161080a565b6000828152600a602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168415159081179091558251858152918201527fdf11c22eefc5804dfbf9c567c2522c17e93416278a0f8a6f8e8f327ee6cb032e9101612f83565b600580547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215159081179091556040519081527f9422424b175dda897495a07b091ef74a3ef715cf6d866fc972954c1c7f45930490602001611ed3565b803573ffffffffffffffffffffffffffffffffffffffff811681146134be57600080fd5b919050565b600080604083850312156134d657600080fd5b6134df8361349a565b946020939093013593505050565b6000806040838503121561350057600080fd5b823591506135106020840161349a565b90509250929050565b801515811461302457600080fd5b6000806040838503121561353a57600080fd5b6135438361349a565b9150602083013561355381613519565b809150509250929050565b6000806040838503121561357157600080fd5b82359150602083013561355381613519565b60006020828403121561359557600080fd5b610f918261349a565b600080604083850312156135b157600080fd5b50508035926020909101359150565b6000602082840312156135d257600080fd5b813567ffffffffffffffff8111156135e957600080fd5b820160408185031215610f9157600080fd5b60008060006060848603121561361057600080fd5b505081359360208301359350604090920135919050565b60006020828403121561363957600080fd5b5035919050565b60008060006040848603121561365557600080fd5b833567ffffffffffffffff8082111561366d57600080fd5b818601915086601f83011261368157600080fd5b81358181111561369057600080fd5b8760208260051b85010111156136a557600080fd5b602092830195509350508401356136bb81613519565b809150509250925092565b60006020808352606080840185518386015282860151604080818801528282518085526080890191508684019450600093505b80841015613750578451805173ffffffffffffffffffffffffffffffffffffffff1683528781015167ffffffffffffffff168884015283015163ffffffff16838301529386019360019390930192908501906136f9565b5098975050505050505050565b600080600080600080600060e0888a03121561377857600080fd5b873596506137886020890161349a565b955060408801359450606088013561379f81613519565b9350608088013560ff811681146137b557600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080600080606085870312156137e857600080fd5b6137f18561349a565b935060208501359250604085013567ffffffffffffffff8082111561381557600080fd5b818701915087601f83011261382957600080fd5b81358181111561383857600080fd5b88602082850101111561384a57600080fd5b95989497505060200194505050565b60005b8381101561387457818101518382015260200161385c565b50506000910152565b821515815260406020820152600082518060408401526138a4816060850160208701613859565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016060019392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008261393c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b8082028115828204841417611d5857611d586138d7565b81810381811115611d5857611d586138d7565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b80820180821115611d5857611d586138d7565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036139de576139de6138d7565b5060010190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112613a1a57600080fd5b83018035915067ffffffffffffffff821115613a3557600080fd5b6020019150606081023603821315613a4c57600080fd5b9250929050565b600060208284031215613a6557600080fd5b813567ffffffffffffffff81168114610f9157600080fd5b67ffffffffffffffff81811683821601908082111561266b5761266b6138d7565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081613adc57613adc6138d7565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b8183823760009101908152919050565b60008251613b53818460208701613859565b9190910192915050565b600060208284031215613b6f57600080fd5b8151610f918161351956fea26469706673582212205576932e7b01a615616f43af263e14dc4e80f024a8a25d3bd971534693622e6164736f6c63430008110033
Verified Source Code Partial Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: Yes (100000 runs)
Fraxferry.sol 553 lines
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.8.0; // Sources flattened with hardhat v2.12.0 https://hardhat.org // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File @uniswap/v3-periphery/contracts/libraries/[email protected] library TransferHelper { /// @notice Transfers tokens from the targeted address to the given destination /// @notice Errors with 'STF' if transfer fails /// @param token The contract address of the token to be transferred /// @param from The originating address from which the tokens will be transferred /// @param to The destination address of the transfer /// @param value The amount to be transferred function safeTransferFrom( address token, address from, address to, uint256 value ) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'STF'); } /// @notice Transfers tokens from msg.sender to a recipient /// @dev Errors with ST if transfer fails /// @param token The contract address of the token which will be transferred /// @param to The recipient of the transfer /// @param value The value of the transfer function safeTransfer( address token, address to, uint256 value ) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.transfer.selector, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'ST'); } /// @notice Approves the stipulated contract to spend the given allowance in the given token /// @dev Errors with 'SA' if transfer fails /// @param token The contract address of the token to be approved /// @param to The target of the approval /// @param value The amount of the given token the target will be allowed to spend function safeApprove( address token, address to, uint256 value ) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'SA'); } /// @notice Transfers ETH to the recipient address /// @dev Fails with `STE` /// @param to The destination of the transfer /// @param value The value to be transferred function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, 'STE'); } } // File contracts/Fraxferry/Fraxferry.sol // ==================================================================== // | ______ _______ | // | / _____________ __ __ / ____(_____ ____ _____ ________ | // | / /_ / ___/ __ `| |/_/ / /_ / / __ \/ __ `/ __ \/ ___/ _ \ | // | / __/ / / / /_/ _> < / __/ / / / / / /_/ / / / / /__/ __/ | // | /_/ /_/ \__,_/_/|_| /_/ /_/_/ /_/\__,_/_/ /_/\___/\___/ | // | | // ==================================================================== // ============================ Fraxferry ============================= // ==================================================================== // Ferry that can be used to ship tokens between chains // Frax Finance: https://github.com/FraxFinance // Primary Author(s) // Dennis: https://github.com/denett /* ** Modus operandi: ** - User sends tokens to the contract. This transaction is stored in the contract. ** - Captain queries the source chain for transactions to ship. ** - Captain sends batch (start, end, hash) to start the trip, ** - Crewmembers check the batch and can dispute it if it is invalid. ** - Non disputed batches can be executed by the first officer by providing the transactions as calldata. ** - Hash of the transactions must be equal to the hash in the batch. User receives their tokens on the other chain. ** - In case there was a fraudulent transaction (a hacker for example), the owner can cancel a single transaction, such that it will not be executed. ** - The owner can manually manage the tokens in the contract and must make sure it has enough funds. ** ** What must happen for a false batch to be executed: ** - Captain is tricked into proposing a batch with a false hash ** - All crewmembers bots are offline/censured/compromised and no one disputes the proposal ** ** Other risks: ** - Reorgs on the source chain. Avoided, by only returning the transactions on the source chain that are at least one hour old. ** - Rollbacks of optimistic rollups. Avoided by running a node. ** - Operators do not have enough time to pause the chain after a fake proposal. Avoided by requiring a minimal amount of time between sending the proposal and executing it. */ contract Fraxferry { IERC20 immutable public token; IERC20 immutable public targetToken; uint immutable public chainid; uint immutable public targetChain; address public owner; address public nominatedOwner; address public captain; address public firstOfficer; mapping(address => bool) public crewmembers; bool public paused; uint public MIN_WAIT_PERIOD_ADD=3600; // Minimal 1 hour waiting uint public MIN_WAIT_PERIOD_EXECUTE=82800; // Minimal 23 hour waiting uint public FEE=1*1e18; // 1 token uint immutable MAX_FEE=100e18; // Max fee is 100 tokens uint immutable public REDUCED_DECIMALS=1e10; Transaction[] public transactions; mapping(uint => bool) public cancelled; uint public executeIndex; Batch[] public batches; struct Transaction { address user; uint64 amount; uint32 timestamp; } struct Batch { uint64 start; uint64 end; uint64 departureTime; uint64 status; bytes32 hash; } struct BatchData { uint startTransactionNo; Transaction[] transactions; } constructor(IERC20 _token, uint _chainid, IERC20 _targetToken, uint _targetChain) { //require (block.chainid==_chainid,"Wrong chain"); chainid=_chainid; token = _token; targetToken = _targetToken; owner = msg.sender; targetChain = _targetChain; } // ############## Events ############## event Embark(address indexed sender, uint index, uint amount, uint amountAfterFee, uint timestamp); event Disembark(uint start, uint end, bytes32 hash); event Depart(uint batchNo,uint start,uint end,bytes32 hash); event RemoveBatch(uint batchNo); event DisputeBatch(uint batchNo, bytes32 hash); event Cancelled(uint index, bool cancel); event Pause(bool paused); event OwnerNominated(address indexed newOwner); event OwnerChanged(address indexed previousOwner,address indexed newOwner); event SetCaptain(address indexed previousCaptain, address indexed newCaptain); event SetFirstOfficer(address indexed previousFirstOfficer, address indexed newFirstOfficer); event SetCrewmember(address indexed crewmember,bool set); event SetFee(uint previousFee, uint fee); event SetMinWaitPeriods(uint previousMinWaitAdd,uint previousMinWaitExecute,uint minWaitAdd,uint minWaitExecute); // ############## Modifiers ############## modifier isOwner() { require (msg.sender==owner,"Not owner"); _; } modifier isCaptain() { require (msg.sender==captain,"Not captain"); _; } modifier isFirstOfficer() { require (msg.sender==firstOfficer,"Not first officer"); _; } modifier isCrewmember() { require (crewmembers[msg.sender] || msg.sender==owner || msg.sender==captain || msg.sender==firstOfficer,"Not crewmember"); _; } modifier notPaused() { require (!paused,"Paused"); _; } // ############## Ferry actions ############## function embarkWithRecipient(uint amount, address recipient) public notPaused { amount = (amount/REDUCED_DECIMALS)*REDUCED_DECIMALS; // Round amount to fit in data structure require (amount>FEE,"Amount too low"); require (amount/REDUCED_DECIMALS<=type(uint64).max,"Amount too high"); TransferHelper.safeTransferFrom(address(token),msg.sender,address(this),amount); uint64 amountAfterFee = uint64((amount-FEE)/REDUCED_DECIMALS); emit Embark(recipient,transactions.length,amount,amountAfterFee*REDUCED_DECIMALS,block.timestamp); transactions.push(Transaction(recipient,amountAfterFee,uint32(block.timestamp))); } function embark(uint amount) public { embarkWithRecipient(amount, msg.sender) ; } function embarkWithSignature( uint256 _amount, address recipient, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) public { uint amount = approveMax ? type(uint256).max : _amount; IERC20Permit(address(token)).permit(msg.sender, address(this), amount, deadline, v, r, s); embarkWithRecipient(amount,recipient); } function depart(uint start, uint end, bytes32 hash) external notPaused isCaptain { require ((batches.length==0 && start==0) || (batches.length>0 && start==batches[batches.length-1].end+1),"Wrong start"); require (end>=start && end<type(uint64).max,"Wrong end"); batches.push(Batch(uint64(start),uint64(end),uint64(block.timestamp),0,hash)); emit Depart(batches.length-1,start,end,hash); } function disembark(BatchData calldata batchData) external notPaused isFirstOfficer { Batch memory batch = batches[executeIndex++]; require (batch.status==0,"Batch disputed"); require (batch.start==batchData.startTransactionNo,"Wrong start"); require (batch.start+batchData.transactions.length-1==batch.end,"Wrong size"); require (block.timestamp-batch.departureTime>=MIN_WAIT_PERIOD_EXECUTE,"Too soon"); bytes32 hash = keccak256(abi.encodePacked(targetChain, targetToken, chainid, token, batch.start)); for (uint i=0;i<batchData.transactions.length;++i) { if (!cancelled[batch.start+i]) { TransferHelper.safeTransfer(address(token),batchData.transactions[i].user,batchData.transactions[i].amount*REDUCED_DECIMALS); } hash = keccak256(abi.encodePacked(hash, batchData.transactions[i].user,batchData.transactions[i].amount)); } require (batch.hash==hash,"Wrong hash"); emit Disembark(batch.start,batch.end,hash); } function removeBatches(uint batchNo) external isOwner { require (executeIndex<=batchNo,"Batch already executed"); while (batches.length>batchNo) batches.pop(); emit RemoveBatch(batchNo); } function disputeBatch(uint batchNo, bytes32 hash) external isCrewmember { require (batches[batchNo].hash==hash,"Wrong hash"); require (executeIndex<=batchNo,"Batch already executed"); require (batches[batchNo].status==0,"Batch already disputed"); batches[batchNo].status=1; // Set status on disputed _pause(true); emit DisputeBatch(batchNo,hash); } function pause() external isCrewmember { _pause(true); } function unPause() external isOwner { _pause(false); } function _pause(bool _paused) internal { paused=_paused; emit Pause(_paused); } function _jettison(uint index, bool cancel) internal { require (executeIndex==0 || index>batches[executeIndex-1].end,"Transaction already executed"); cancelled[index]=cancel; emit Cancelled(index,cancel); } function jettison(uint index, bool cancel) external isOwner { _jettison(index,cancel); } function jettisonGroup(uint[] calldata indexes, bool cancel) external isOwner { for (uint i=0;i<indexes.length;++i) { _jettison(indexes[i],cancel); } } // ############## Parameters management ############## function setFee(uint _FEE) external isOwner { require(FEE<MAX_FEE); emit SetFee(FEE,_FEE); FEE=_FEE; } function setMinWaitPeriods(uint _MIN_WAIT_PERIOD_ADD, uint _MIN_WAIT_PERIOD_EXECUTE) external isOwner { require(_MIN_WAIT_PERIOD_ADD>=3600 && _MIN_WAIT_PERIOD_EXECUTE>=3600,"Period too short"); emit SetMinWaitPeriods(MIN_WAIT_PERIOD_ADD, MIN_WAIT_PERIOD_EXECUTE,_MIN_WAIT_PERIOD_ADD, _MIN_WAIT_PERIOD_EXECUTE); MIN_WAIT_PERIOD_ADD=_MIN_WAIT_PERIOD_ADD; MIN_WAIT_PERIOD_EXECUTE=_MIN_WAIT_PERIOD_EXECUTE; } // ############## Roles management ############## function nominateNewOwner(address newOwner) external isOwner { nominatedOwner = newOwner; emit OwnerNominated(newOwner); } function acceptOwnership() external { require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership"); emit OwnerChanged(owner, nominatedOwner); owner = nominatedOwner; nominatedOwner = address(0); } function setCaptain(address newCaptain) external isOwner { emit SetCaptain(captain,newCaptain); captain=newCaptain; } function setFirstOfficer(address newFirstOfficer) external isOwner { emit SetFirstOfficer(firstOfficer,newFirstOfficer); firstOfficer=newFirstOfficer; } function setCrewmember(address crewmember, bool set) external isOwner { crewmembers[crewmember]=set; emit SetCrewmember(crewmember,set); } // ############## Token management ############## function sendTokens(address receiver, uint amount) external isOwner { require (receiver!=address(0),"Zero address not allowed"); TransferHelper.safeTransfer(address(token),receiver,amount); } // Generic proxy function execute(address _to, uint256 _value, bytes calldata _data) external isOwner returns (bool, bytes memory) { require(_data.length==0 || _to.code.length>0,"Can not call a function on a EOA"); (bool success, bytes memory result) = _to.call{value:_value}(_data); return (success, result); } // ############## Views ############## function getNextBatch(uint _start, uint max) public view returns (uint start, uint end, bytes32 hash) { uint cutoffTime = block.timestamp-MIN_WAIT_PERIOD_ADD; if (_start<transactions.length && transactions[_start].timestamp<cutoffTime) { start=_start; end=start+max-1; if (end>=transactions.length) end=transactions.length-1; while(transactions[end].timestamp>=cutoffTime) end--; hash = getTransactionsHash(start,end); } } function getBatchData(uint start, uint end) public view returns (BatchData memory data) { data.startTransactionNo = start; data.transactions = new Transaction[](end-start+1); for (uint i=start;i<=end;++i) { data.transactions[i-start]=transactions[i]; } } function getBatchAmount(uint start, uint end) public view returns (uint totalAmount) { for (uint i=start;i<=end;++i) { totalAmount+=transactions[i].amount; } totalAmount*=REDUCED_DECIMALS; } function getTransactionsHash(uint start, uint end) public view returns (bytes32) { bytes32 result = keccak256(abi.encodePacked(chainid, token, targetChain, targetToken, uint64(start))); for (uint i=start;i<=end;++i) { result = keccak256(abi.encodePacked(result, transactions[i].user,transactions[i].amount)); } return result; } function noTransactions() public view returns (uint) { return transactions.length; } function noBatches() public view returns (uint) { return batches.length; } }
Read Contract
FEE 0xc57981b5 → uint256
MIN_WAIT_PERIOD_ADD 0x33032dd0 → uint256
MIN_WAIT_PERIOD_EXECUTE 0x024faa8c → uint256
REDUCED_DECIMALS 0x66e64f97 → uint256
batches 0xb32c4d8d → uint64, uint64, uint64, uint64, bytes32
cancelled 0xe050be57 → bool
captain 0xf55ebb8f → address
chainid 0xcd84980e → uint256
crewmembers 0xd9fb265d → bool
executeIndex 0xb61325cd → uint256
firstOfficer 0xde7974a4 → address
getBatchAmount 0x165282c3 → uint256
getBatchData 0x907c6c2e → tuple
getNextBatch 0x525862f9 → uint256, uint256, bytes32
getTransactionsHash 0x3beaf526 → bytes32
noBatches 0x8b928bd3 → uint256
noTransactions 0xcdbdfdc2 → uint256
nominatedOwner 0x53a47bb7 → address
owner 0x8da5cb5b → address
paused 0x5c975abb → bool
targetChain 0x8304e6d2 → uint256
targetToken 0x327107f7 → address
token 0xfc0c546a → address
transactions 0x9ace38c2 → address, uint64, uint32
Write Contract 20 functions
These functions modify contract state and require a wallet transaction to execute.
acceptOwnership 0x79ba5097
No parameters
depart 0x36f734c1
uint256 start
uint256 end
bytes32 hash
disembark 0x0bd4f697
tuple batchData
disputeBatch 0xf40e349f
uint256 batchNo
bytes32 hash
embark 0xfd433ec0
uint256 amount
embarkWithRecipient 0x05c211d2
uint256 amount
address recipient
embarkWithSignature 0xa3a6d9e8
uint256 _amount
address recipient
uint256 deadline
bool approveMax
uint8 v
bytes32 r
bytes32 s
execute 0xb61d27f6
address _to
uint256 _value
bytes _data
returns: bool, bytes
jettison 0x081c4624
uint256 index
bool cancel
jettisonGroup 0x652dfc3b
uint256[] indexes
bool cancel
nominateNewOwner 0x1627540c
address newOwner
pause 0x8456cb59
No parameters
removeBatches 0x4a474aa3
uint256 batchNo
sendTokens 0x05ab421d
address receiver
uint256 amount
setCaptain 0x8e714a72
address newCaptain
setCrewmember 0x07cca166
address crewmember
bool set
setFee 0x69fe0e2d
uint256 _FEE
setFirstOfficer 0x9b8c624a
address newFirstOfficer
setMinWaitPeriods 0xc2f6afe5
uint256 _MIN_WAIT_PERIOD_ADD
uint256 _MIN_WAIT_PERIOD_EXECUTE
unPause 0xf7b188a5
No parameters
Recent Transactions
No transactions found for this address