PositionMetadata

package
v0.0.0-...-e60cbf4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NativeTokenAddress = "0x0000000000000000000000000000000000000000"
)

Variables

View Source
var ErrNoRPCURL error = errors.New("no RPC URL provided -- please pass an RPC URL from the command line or set the POSITION_METADATA_RPC_URL environment variable")
View Source
var PositionMetadataABI = PositionMetadataMetaData.ABI

PositionMetadataABI is the input ABI used to generate the binding from. Deprecated: Use PositionMetadataMetaData.ABI instead.

View Source
var PositionMetadataBin = PositionMetadataMetaData.Bin

PositionMetadataBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PositionMetadataMetaData.Bin instead.

View Source
var PositionMetadataMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"StringsInsufficientHexLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"generateDefs\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"generateLogo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"stakeTimestampStr\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"unlockTimestampStr\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"cooldownStr\",\"type\":\"string\"}],\"name\":\"generateStakingPeriodElements\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenIdOrAmountString\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"amountOrTokenIDString\",\"type\":\"string\"}],\"name\":\"generateTokenIdOrAmountElement\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenSymbolString\",\"type\":\"string\"}],\"name\":\"generateTokenSymbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenTypeString\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenAddressString\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"amountOrTokenIdString\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"poolIdString\",\"type\":\"string\"}],\"name\":\"generateTokenTypeElement\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"getAddressSlice\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionTokenID\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOrTokenID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stakeTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeInitiatedAt\",\"type\":\"uint256\"}],\"internalType\":\"structPosition\",\"name\":\"position\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"administrator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"lockupSeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownSeconds\",\"type\":\"uint256\"}],\"internalType\":\"structStakingPool\",\"name\":\"pool\",\"type\":\"tuple\"}],\"name\":\"metadata\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionTokenID\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOrTokenID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stakeTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeInitiatedAt\",\"type\":\"uint256\"}],\"internalType\":\"structPosition\",\"name\":\"position\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"administrator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"lockupSeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownSeconds\",\"type\":\"uint256\"}],\"internalType\":\"structStakingPool\",\"name\":\"pool\",\"type\":\"tuple\"}],\"name\":\"metadataBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionTokenID\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"poolID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOrTokenID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stakeTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeInitiatedAt\",\"type\":\"uint256\"}],\"internalType\":\"structPosition\",\"name\":\"position\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"administrator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"transferable\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"lockupSeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cooldownSeconds\",\"type\":\"uint256\"}],\"internalType\":\"structStakingPool\",\"name\":\"pool\",\"type\":\"tuple\"}],\"name\":\"metadataJSON\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"returnTokenSymbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"returnTokenSymbolNative\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x6080604052348015600f57600080fd5b506148e28061001f6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80637b2f34ff11610081578063c7547df91161005b578063c7547df914610179578063cb91d35d1461018c578063e8e009b71461019f57600080fd5b80637b2f34ff1461014b578063975a3a3b1461015e578063bdd53ada1461016657600080fd5b8063239bdf6c116100b2578063239bdf6c1461011257806362ee01be14610125578063721ac18a1461013857600080fd5b806313d30b87146100d957806315f694a7146100f757806320958018146100ff575b600080fd5b6100e16101b2565b6040516100ee9190611a7e565b60405180910390f35b6100e1610353565b6100e161010d366004611bfe565b6104b7565b6100e1610120366004611c5c565b6104e0565b6100e1610133366004611d81565b6104f5565b6100e1610146366004611c5c565b61077d565b6100e1610159366004611c5c565b610921565b6100e1610959565b6100e1610174366004611e41565b610a2f565b6100e1610187366004611ed5565b610abf565b6100e161019a366004611ef0565b610b83565b6100e16101ad366004611f1c565b610cd2565b606060405160200161033f907f3c7265637420783d22313633362e3534312220793d223138312220776964746881527f3d223130372e34353922206865696768743d223130372e343539222072783d2260208201527f35332e3732393522207374726f6b653d222343424346434222207374726f6b6560408201527f2d77696474683d22372e3534303938222f3e000000000000000000000000000060608201527f3c7061746820643d224d313636312e39393035203232302e353034354c31363760728201527f332e34343935203233372e3934343548313638382e323839354c313638342e3960928201527f323030203233322e3831343548313639352e363230304c313638322e3835303060b28201527f203235322e323634354c313639302e32373030203236342e353534354c31373160d28201527f382e35353030203232302e3530343548313636312e393930355a222066696c6c60f28201527f3d2223434243464342222f3e000000000000000000000000000000000000000061011282015261011e0190565b604051602081830303815290604052905090565b6040517f3c646566733e000000000000000000000000000000000000000000000000000060208201527f3c6c696e6561724772616469656e742069643d226631222078313d223022207960268201527f313d22393230222078323d2231393630222079323d223932302220677261646960468201527f656e74556e6974733d227573657253706163654f6e557365223e00000000000060668201527f3c73746f702073746f702d636f6c6f723d2223314231423142222073746f702d60808201527f6f7061636974793d222e3835222f3e000000000000000000000000000000000060a08201527f3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223314260af8201527f31423142222f3e3c2f6c696e6561724772616469656e743e000000000000000060cf8201527f3c2f646566733e0000000000000000000000000000000000000000000000000060e782015260609060ee0161033f565b6060816040516020016104ca9190611fa1565b6040516020818303038152906040529050919050565b60606104ed84848461077d565b949350505050565b6040517f4e617469766500000000000000000000000000000000000000000000000000006020820152606090602601604051602081830303815290604052805190602001208560405160200161054b91906121db565b60405160208183030381529060405280519060200120036105eb5784846040516020016105799291906121f7565b604051602081830303815290604052826040516020016105999190612612565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526105d59291602001612911565b60405160208183030381529060405290506104ed565b6040517f45524332300000000000000000000000000000000000000000000000000000006020820152602501604051602081830303815290604052805190602001208560405160200161063e91906121db565b604051602081830303815290604052805190602001200361066c578484604051602001610579929190612940565b6040517f4552433732310000000000000000000000000000000000000000000000000000602082015260260160405160208183030381529060405280519060200120856040516020016106bf91906121db565b60405160208183030381529060405280519060200120036106ed5784846040516020016105799291906121f7565b826040516020016106fe9190612bd1565b6040516020818303038152906040528585604051602001610720929190612e1d565b6040516020818303038152906040528360405160200161074091906130ae565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290526105d5939291602001613374565b6060600061079361078e8585610cfe565b610d1a565b905060006107a086610e7a565b826040516020016107b29291906133b7565b6040516020818303038152906040529050806107d18660000151610e7a565b6040516020016107e29291906134ae565b60405160208183030381529060405290508084602001516102d11461081f5760405180606001604052806028815260200161488560289139610839565b6040518060600160405280602a815260200161481b602a91395b6108468760200151610e7a565b60405160200161085893929190613557565b6040516020818303038152906040529050806108778660400151610e7a565b6040516020016108889291906135c2565b6040516020818303038152906040529050806108b68560a0015187604001516108b1919061369a565b610e7a565b6040516020016108c79291906136ad565b6040516020818303038152906040529050806040516020016108e9919061377c565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181529190529695505050505050565b606061093161078e85858561077d565b60405160200161094191906137bd565b60405160208183030381529060405290509392505050565b6060466001148061096c57504662066eee145b156109a9575060408051808201909152600381527f4554480000000000000000000000000000000000000000000000000000000000602082015290565b466135b214806109ba575046617a69145b156109f7575060408051808201909152600281527f4737000000000000000000000000000000000000000000000000000000000000602082015290565b5060408051808201909152600381527f4e2f410000000000000000000000000000000000000000000000000000000000602082015290565b606083604051602001610a429190613802565b60405160208183030381529060405283604051602001610a629190613ac2565b60405160208183030381529060405283604051602001610a829190613d82565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610941939291602001613374565b60606000610ae48373ffffffffffffffffffffffffffffffffffffffff166014610f38565b6040805160068082528183019092529192506000919060208201818036833701905050905060005b6006811015610b7b57828181518110610b2757610b2761406b565b602001015160f81c60f81b828281518110610b4457610b4461406b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600101610b0c565b509392505050565b606082601403610c25578173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610bd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610c1e919081019061409a565b9050610ccc565b826102d103610c79578173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610bd8573d6000803e3d6000fd5b8261048303610c96576000610c8d83610abf565b9150610ccc9050565b5060408051808201909152600381527f4e2f41000000000000000000000000000000000000000000000000000000000060208201525b92915050565b60608282604051602001610ce7929190614108565b604051602081830303815290604052905092915050565b6060610d0a838361115a565b604051602001610ce791906121db565b60608151600003610d3957505060408051602081019091526000815290565b60006040518060600160405280604081526020016148456040913990506000600384516002610d68919061369a565b610d72919061442b565b610d7d90600461443f565b67ffffffffffffffff811115610d9557610d95611a98565b6040519080825280601f01601f191660200182016040528015610dbf576020820181803683370190505b50905060018201602082018586518701602081018051600082525b82841015610e35576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f8116870151865350600185019450610dda565b9052505085516003900660018114610e545760028114610e6757610e6f565b603d6001830353603d6002830353610e6f565b603d60018303535b509195945050505050565b60606000610e8783611426565b600101905060008167ffffffffffffffff811115610ea757610ea7611a98565b6040519080825280601f01601f191660200182016040528015610ed1576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610edb57509392505050565b6060826000610f4884600261443f565b610f5390600261369a565b67ffffffffffffffff811115610f6b57610f6b611a98565b6040519080825280601f01601f191660200182016040528015610f95576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110610fcc57610fcc61406b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061102f5761102f61406b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061106b85600261443f565b61107690600161369a565b90505b6001811115611113577f303132333435363738396162636465660000000000000000000000000000000083600f16601081106110b7576110b761406b565b1a60f81b8282815181106110cd576110cd61406b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049290921c9161110c81614456565b9050611079565b5081156104ed576040517fe22e27eb000000000000000000000000000000000000000000000000000000008152600481018690526024810185905260440160405180910390fd5b6060600082602001516102d1146111a6576040518060400160405280600d81526020017f416d6f756e74207374616b6564000000000000000000000000000000000000008152506111dd565b6040518060400160405280600881526020017f546f6b656e2049440000000000000000000000000000000000000000000000008152505b905060006111ee8560200151610e7a565b905060006112076112028760400151611508565b6116f0565b9050600061122a6112028760a001518960400151611225919061369a565b611508565b9050600061123b8760c00151610e7a565b9050600061124c8960000151610e7a565b9050600088602001516001146113265788602001516014146112eb5788602001516102d1146112b0576040518060400160405280600781526020017f455243313135350000000000000000000000000000000000000000000000000081525061135d565b6040518060400160405280600681526020017f455243373231000000000000000000000000000000000000000000000000000081525061135d565b6040518060400160405280600581526020017f455243323000000000000000000000000000000000000000000000000000000081525061135d565b6040518060400160405280600681526020017f4e617469766500000000000000000000000000000000000000000000000000008152505b9050600089602001516001146113845761137f8a602001518b60400151610b83565b61138c565b61138c610959565b905060006113b58b6040015173ffffffffffffffffffffffffffffffffffffffff166014610f38565b90506113bf6101b2565b6113c8836104b7565b6113d28b8b610cd2565b6113dd8a8a8a610a2f565b6113e987868e8b6104f5565b6113f1610353565b6040516020016114069695949392919061448b565b604051602081830303815290604052995050505050505050505092915050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061146f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef8100000000831061149b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106114b957662386f26fc10000830492506010015b6305f5e10083106114d1576305f5e100830492506008015b61271083106114e557612710830492506004015b606483106114f7576064830492506002015b600a8310610ccc5760010192915050565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905290808061154c85611768565b61ffff16845261155d6107b2611855565b845161156c9061ffff16611855565b611576919061465f565b9150611586826301e2850061443f565b611590908461369a565b9250816107b285600001516115a59190614672565b61ffff166115b3919061465f565b6115c1906301e1338061443f565b6115cb908461369a565b92506000600191505b600c8260ff161161163c576115ed82866000015161189a565b6115fd9060ff166201518061443f565b90508561160a858361369a565b111561161e5760ff8216602086015261163c565b611628818561369a565b9350816116348161468c565b9250506115d4565b600191505b6116538560200151866000015161189a565b60ff168260ff16116116a2578561166d856201518061369a565b11156116815760ff821660408601526116a2565b61168e620151808561369a565b93508161169a8161468c565b925050611641565b6116ab86611960565b60ff1660608601526116bc8661197a565b60ff1660808601526116cd86611988565b60ff1660a08601526116de86611995565b60ff1660c08601525092949350505050565b6060611703826000015161ffff16610e7a565b611713836020015160ff16610e7a565b611723846040015160ff16610e7a565b611733856060015160ff16610e7a565b611743866080015160ff16610e7a565b6117538760a0015160ff16610e7a565b6040516020016104ca969594939291906146ab565b600080808061177b6301e133808661442b565b611787906107b261369a565b91506117946107b2611855565b6117a18361ffff16611855565b6117ab919061465f565b90506117bb816301e2850061443f565b6117c5908461369a565b9250806117d46107b284614672565b61ffff166117e2919061465f565b6117f0906301e1338061443f565b6117fa908461369a565b92505b84831115610b7b57611818611813600184614672565b6119b1565b156118325761182b6301e285008461465f565b9250611843565b6118406301e133808461465f565b92505b61184e600183614672565b91506117fd565b600061186260018361465f565b91506118706101908361442b565b61187b60648461442b565b61188660048561442b565b611890919061465f565b610ccc919061369a565b60008260ff16600114806118b157508260ff166003145b806118bf57508260ff166005145b806118cd57508260ff166007145b806118db57508260ff166008145b806118e957508260ff16600a145b806118f757508260ff16600c145b156119045750601f610ccc565b8260ff166004148061191957508260ff166006145b8061192757508260ff166009145b8061193557508260ff16600b145b156119425750601e610ccc565b61194b826119b1565b156119585750601d610ccc565b50601c610ccc565b60006018611970610e108461442b565b610ccc91906147e2565b6000603c611970818461442b565b6000610ccc603c836147e2565b600060076119a6620151808461442b565b61197090600461369a565b60006119be6004836147f6565b61ffff16156119cf57506000919050565b6119da6064836147f6565b61ffff16156119eb57506001919050565b6119f7610190836147f6565b61ffff1615611a0857506000919050565b506001919050565b60005b83811015611a2b578181015183820152602001611a13565b50506000910152565b60008151808452611a4c816020860160208601611a10565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611a916020830184611a34565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516080810167ffffffffffffffff81118282101715611aea57611aea611a98565b60405290565b60405160e0810167ffffffffffffffff81118282101715611aea57611aea611a98565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611b5a57611b5a611a98565b604052919050565b600067ffffffffffffffff821115611b7c57611b7c611a98565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f830112611bb957600080fd5b8135611bcc611bc782611b62565b611b13565b818152846020838601011115611be157600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215611c1057600080fd5b813567ffffffffffffffff811115611c2757600080fd5b6104ed84828501611ba8565b803573ffffffffffffffffffffffffffffffffffffffff81168114611c5757600080fd5b919050565b6000806000838503610180811215611c7357600080fd5b8435935060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082011215611ca757600080fd5b611caf611ac7565b60208681013582526040808801359183019190915260608088013591830191909152608087013590820152925060e07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6082011215611d0c57600080fd5b50611d15611af0565b611d2160a08601611c33565b815260c08501356020820152611d3960e08601611c33565b604082015261010085013560608201526101208501358015158114611d5d57600080fd5b608082015261014085013560a08201526101609094013560c0850152509093909250565b60008060008060808587031215611d9757600080fd5b843567ffffffffffffffff811115611dae57600080fd5b611dba87828801611ba8565b945050602085013567ffffffffffffffff811115611dd757600080fd5b611de387828801611ba8565b935050604085013567ffffffffffffffff811115611e0057600080fd5b611e0c87828801611ba8565b925050606085013567ffffffffffffffff811115611e2957600080fd5b611e3587828801611ba8565b91505092959194509250565b600080600060608486031215611e5657600080fd5b833567ffffffffffffffff811115611e6d57600080fd5b611e7986828701611ba8565b935050602084013567ffffffffffffffff811115611e9657600080fd5b611ea286828701611ba8565b925050604084013567ffffffffffffffff811115611ebf57600080fd5b611ecb86828701611ba8565b9150509250925092565b600060208284031215611ee757600080fd5b611a9182611c33565b60008060408385031215611f0357600080fd5b82359150611f1360208401611c33565b90509250929050565b60008060408385031215611f2f57600080fd5b823567ffffffffffffffff811115611f4657600080fd5b611f5285828601611ba8565b925050602083013567ffffffffffffffff811115611f6f57600080fd5b611f7b85828601611ba8565b9150509250929050565b60008151611f97818560208601611a10565b9290920192915050565b7f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d223232302220666f6e742d7765696768743d2238303022206c60608201527f65747465722d73706163696e673d222d302e3034656d223e3c747370616e207860808201527f3d223335302e3132342220793d223538332e363832223e00000000000000000060a0820152600082516120978160b7850160208701611a10565b7f3c2f747370616e3e3c2f746578743e000000000000000000000000000000000060b79390910192830152507f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2260c68201527f707265736572766522207374796c653d2277686974652d73706163653a20707260e68201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e6101068201527f742d73697a653d223232302220666f6e742d7765696768743d22626f6c6422206101268201527f6c65747465722d73706163696e673d222d302e3034656d223e3c747370616e206101468201527f783d223232302220793d223538332e363832223e243c2f747370616e3e3c2f746101668201527f6578743e0000000000000000000000000000000000000000000000000000000061018682015261018a01919050565b600082516121ed818460208701611a10565b9190910192915050565b7f3c7265637420783d223232312220793d2231313935222077696474683d22313581527f353822206865696768743d223930222072783d223139222066696c6c3d22233160208201527f3831383142222066696c6c2d6f7061636974793d22302e38222f3e0000000000604082015260006123cf6122e8605b84015b7f3c7265637420783d223232312220793d2231313935222077696474683d22313581527f353822206865696768743d223930222072783d22313922207374726f6b653d2260208201527f2337333733373322207374726f6b652d77696474683d2232222f3e00000000006040820152605b0190565b7f3c746578742066696c6c3d22233745383037452220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d2234302220666f6e742d7765696768743d22626f6c6422206c60608201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d22323260808201527f312220793d2231313636223e546f6b656e3c2f747370616e3e3c2f746578743e60a082015260c00190565b7f3c7265637420783d223234312220793d2231323135222077696474683d22313481527f3822206865696768743d223438222072783d22323122207374726f6b653d222360208201527f46464546423822207374726f6b652d77696474683d22302e34222f3e0000000060408201527f3c7465787420783d223236302220793d2231323530222066696c6c3d22234646605c8201527f454642382220666f6e742d66616d696c793d22436f7572696572204e65772220607c8201527f666f6e742d73697a653d2233322220666f6e742d7765696768743d22626f6c64609c8201527f223e00000000000000000000000000000000000000000000000000000000000060bc82015260be8101905084516124ec818360208901611a10565b7f3c2f746578743e0000000000000000000000000000000000000000000000000091019081527f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2260078201527f707265736572766522207374796c653d2277686974652d73706163653a20707260278201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60478201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260678201527f3e3c747370616e20783d223432302220793d2231323530223e0000000000000060878201526126096125e060a0830186611f85565b7f3c2f747370616e3e3c2f746578743e00000000000000000000000000000000008152600f0190565b95945050505050565b7f3c7265637420783d223232312220793d2231333839222077696474683d22313581527f353822206865696768743d223930222072783d223139222066696c6c3d22233160208201527f3831383142222066696c6c2d6f7061636974793d22302e38222f3e000000000060408201526000612700605b83015b7f3c7265637420783d223232312220793d2231333839222077696474683d22313581527f353822206865696768743d223930222072783d22313922207374726f6b653d2260208201527f2337333733373322207374726f6b652d77696474683d2232222f3e00000000006040820152605b0190565b7f3c746578742066696c6c3d22233745383037452220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d2234302220666f6e742d7765696768743d22626f6c6422206c60608201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d22323260808201527f312220793d2231333630223e506f6f6c2049443c2f747370616e3e3c2f74657860a08201527f743e00000000000000000000000000000000000000000000000000000000000060c08201526128cf60c282017f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260608201527f3e3c747370616e20783d223236302220793d2231343434223e00000000000000608082015260990190565b905083516128e1818360208801611a10565b7f3c2f747370616e3e3c2f746578743e00000000000000000000000000000000009101908152600f019392505050565b60008351612923818460208801611a10565b835190830190612937818360208801611a10565b01949350505050565b7f3c7265637420783d223232312220793d2231313935222077696474683d22313581527f353822206865696768743d223930222072783d223139222066696c6c3d22233160208201527f3831383142222066696c6c2d6f7061636974793d22302e38222f3e0000000000604082015260006129c06122e8605b8401612273565b7f3c7265637420783d223234312220793d2231323135222077696474683d22313381527f3022206865696768743d223438222072783d22323122207374726f6b653d222360208201527f46464546423822207374726f6b652d77696474683d22302e34222f3e0000000060408201527f3c7465787420783d223236302220793d2231323530222066696c6c3d22234646605c8201527f454642382220666f6e742d66616d696c793d22436f7572696572204e65772220607c8201527f666f6e742d73697a653d2233322220666f6e742d7765696768743d22626f6c64609c8201527f223e00000000000000000000000000000000000000000000000000000000000060bc82015260be810190508451612add818360208901611a10565b7f3c2f746578743e0000000000000000000000000000000000000000000000000091019081527f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2260078201527f707265736572766522207374796c653d2277686974652d73706163653a20707260278201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60478201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260678201527f3e3c747370616e20783d223430302220793d2231323530223e0000000000000060878201526126096125e060a0830186611f85565b7f3c7265637420783d223232312220793d2231333839222077696474683d22313581527f353822206865696768743d223930222072783d223139222066696c6c3d22233160208201527f3831383142222066696c6c2d6f7061636974793d22302e38222f3e000000000060408201526000612c4e605b830161268b565b7f3c746578742066696c6c3d22233745383037452220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d2234302220666f6e742d7765696768743d22626f6c6422206c60608201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d22323260808201527f312220793d2231333630223e546f6b656e2049443c2f747370616e3e3c2f746560a08201527f78743e000000000000000000000000000000000000000000000000000000000060c08201526128cf60c382017f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260608201527f3e3c747370616e20783d223236302220793d2231343434223e00000000000000608082015260990190565b7f3c7265637420783d223232312220793d2231313935222077696474683d22313581527f353822206865696768743d223930222072783d223139222066696c6c3d22233160208201527f3831383142222066696c6c2d6f7061636974793d22302e38222f3e000000000060408201526000612e9d6122e8605b8401612273565b7f3c7265637420783d223234312220793d2231323135222077696474683d22313681527f3622206865696768743d223438222072783d22323122207374726f6b653d222360208201527f46464546423822207374726f6b652d77696474683d22302e34222f3e0000000060408201527f3c7465787420783d223236302220793d2231323530222066696c6c3d22234646605c8201527f454642382220666f6e742d66616d696c793d22436f7572696572204e65772220607c8201527f666f6e742d73697a653d2233322220666f6e742d7765696768743d22626f6c64609c8201527f223e00000000000000000000000000000000000000000000000000000000000060bc82015260be810190508451612fba818360208901611a10565b7f3c2f746578743e0000000000000000000000000000000000000000000000000091019081527f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2260078201527f707265736572766522207374796c653d2277686974652d73706163653a20707260278201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60478201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260678201527f3e3c747370616e20783d223433302220793d2231323530223e0000000000000060878201526126096125e060a0830186611f85565b7f3c7265637420783d223232312220793d2231353833222077696474683d22313581527f353822206865696768743d223930222072783d223139222066696c6c3d22233160208201527f3831383142222066696c6c2d6f7061636974793d22302e38222f3e000000000060408201527f3c7265637420783d223232312220793d2231353833222077696474683d223135605b8201527f353822206865696768743d223930222072783d22313922207374726f6b653d22607b8201527f2337333733373322207374726f6b652d77696474683d2232222f3e0000000000609b8201527f3c746578742066696c6c3d22233745383037452220786d6c3a73706163653d2260b68201527f707265736572766522207374796c653d2277686974652d73706163653a20707260d68201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60f68201527f742d73697a653d2234302220666f6e742d7765696768743d22626f6c6422206c6101168201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d2232326101368201527f312220793d2231353534223e506f6f6c2049443c2f747370616e3e3c2f7465786101568201527f743e0000000000000000000000000000000000000000000000000000000000006101768201526000611a916125e061336e61017885017f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260608201527f3e3c747370616e20783d223236302220793d2231363338223e00000000000000608082015260990190565b85611f85565b60008451613386818460208901611a10565b84519083019061339a818360208901611a10565b84519101906133ad818360208801611a10565b0195945050505050565b7f7b22746f6b656e5f6964223a22000000000000000000000000000000000000008152600083516133ef81600d850160208801611a10565b7f222c22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62600d918401918201527f61736536342c0000000000000000000000000000000000000000000000000000602d8201528351613452816033840160208801611a10565b7f222c22726573756c745f76657273696f6e223a312c2261747472696275746573603392909101918201527f223a205b000000000000000000000000000000000000000000000000000000006053820152605701949350505050565b600083516134c0818460208801611a10565b80830190507f7b2274726169745f74797065223a22506f6f6c204944222c2276616c7565223a81527f220000000000000000000000000000000000000000000000000000000000000060208201528351613521816021840160208801611a10565b7f227d00000000000000000000000000000000000000000000000000000000000060219290910191820152602301949350505050565b60008451613569818460208901611a10565b84519083019061357d818360208901611a10565b8451910190613590818360208801611a10565b7f227d000000000000000000000000000000000000000000000000000000000000910190815260020195945050505050565b600083516135d4818460208801611a10565b80830190507f2c7b22646973706c61795f74797065223a226e756d626572222c22747261697481527f5f74797065223a225374616b6564206174222c2276616c7565223a00000000006020820152835161363581603b840160208801611a10565b7f7d00000000000000000000000000000000000000000000000000000000000000603b9290910191820152603c01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610ccc57610ccc61366b565b600083516136bf818460208801611a10565b80830190507f2c7b22646973706c61795f74797065223a226e756d626572222c22747261697481527f5f74797065223a224c6f636b75702065787069726573206174222c2276616c7560208201527f65223a000000000000000000000000000000000000000000000000000000000060408201528351613746816043840160208801611a10565b7f7d0000000000000000000000000000000000000000000000000000000000000060439290910191820152604401949350505050565b6000825161378e818460208701611a10565b7f5d7d000000000000000000000000000000000000000000000000000000000000920191825250600201919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516137f581601d850160208701611a10565b91909101601d0192915050565b7f3c746578742066696c6c3d22233745383037452220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d2234302220666f6e742d7765696768743d22626f6c6422206c60608201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d22323260808201527f302220793d22393634223e5374616b65642061743c2f747370616e3e3c2f746560a08201527f78743e000000000000000000000000000000000000000000000000000000000060c08201527f3c7265637420783d223232312220793d22393933222077696474683d2235323260c38201527f22206865696768743d223836222072783d223139222066696c6c3d222331383160e38201527f383142222066696c6c2d6f7061636974793d22302e38222f3e3c7265637420786101038201527f3d223232312220793d22393933222077696474683d22353232222068656967686101238201527f743d223836222072783d22313922207374726f6b653d222337333733373322206101438201527f7374726f6b652d77696474683d2232222f3e00000000000000000000000000006101638201526000611a916125e061336e61017585017f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260608201527f3e3c747370616e20783d223236302220793d2231303531223e00000000000000608082015260990190565b7f3c746578742066696c6c3d22233745383037452220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d2234302220666f6e742d7765696768743d22626f6c6422206c60608201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d22373660808201527f382220793d22393634223e556e6c6f636b732061743c2f747370616e3e3c2f7460a08201527f6578743e0000000000000000000000000000000000000000000000000000000060c08201527f3c7265637420783d223736392220793d22393933222077696474683d2235323260c48201527f22206865696768743d223836222072783d223139222066696c6c3d222331383160e48201527f383142222066696c6c2d6f7061636974793d22302e38222f3e3c7265637420786101048201527f3d223736392220793d22393933222077696474683d22353232222068656967686101248201527f743d223836222072783d22313922207374726f6b653d222337333733373322206101448201527f7374726f6b652d77696474683d2232222f3e00000000000000000000000000006101648201526000611a916125e061336e61017685017f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260608201527f3e3c747370616e20783d223830382220793d2231303531223e00000000000000608082015260990190565b7f3c746578742066696c6c3d22233745383037452220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d2234302220666f6e742d7765696768743d22626f6c6422206c60608201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d22313360808201527f31362220793d22393634223e436f6f6c646f776e3c2f747370616e3e3c2f746560a08201527f78743e000000000000000000000000000000000000000000000000000000000060c08201527f3c7265637420783d22313331372220793d22393933222077696474683d22343660c38201527f3222206865696768743d223836222072783d223139222066696c6c3d2223313860e38201527f31383142222066696c6c2d6f7061636974793d22302e38222f3e3c72656374206101038201527f783d22313331372220793d22393933222077696474683d2234363222206865696101238201527f6768743d223836222072783d22313922207374726f6b653d22233733373337336101438201527f22207374726f6b652d77696474683d2232222f3e0000000000000000000000006101638201526000611a9161404261336e61017785017f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d22343022206c65747465722d73706163696e673d2230656d2260608201527f3e3c747370616e20783d22313335362220793d2231303531223e0000000000006080820152609a0190565b7f207365636f6e64733c2f747370616e3e3c2f746578743e000000000000000000815260170190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000602082840312156140ac57600080fd5b815167ffffffffffffffff8111156140c357600080fd5b8201601f810184136140d457600080fd5b80516140e2611bc782611b62565b8181528560208385010111156140f757600080fd5b612609826020830160208601611a10565b7f3c7265637420783d223232312220793d22373636222077696474683d2231353581527f3822206865696768743d22313232222072783d223139222066696c6c3d22233160208201527f3831383142222066696c6c2d6f7061636974793d22302e38222f3e000000000060408201527f3c7265637420783d223232312220793d22373636222077696474683d22313535605b8201527f3822206865696768743d22313232222072783d22313922207374726f6b653d22607b8201527f2337333733373322207374726f6b652d77696474683d2232222f3e0000000000609b8201527f3c7465787420783d223232302220793d22373337222066696c6c3d222337453860b68201527f3037452220786d6c3a73706163653d22707265736572766522207374796c653d60d68201527f2277686974652d73706163653a207072652220666f6e742d66616d696c793d2260f68201527f436f7572696572204e6577222020666f6e742d73697a653d2234302220666f6e6101168201527f742d7765696768743d22626f6c6422206c65747465722d73706163696e673d226101368201527f30656d223e00000000000000000000000000000000000000000000000000000061015682015260006104ed6125e061336e6143156142ec61015b870189611f85565b7f3c2f746578743e00000000000000000000000000000000000000000000000000815260070190565b7f3c746578742066696c6c3d22234342434643422220786d6c3a73706163653d2281527f707265736572766522207374796c653d2277686974652d73706163653a20707260208201527f652220666f6e742d66616d696c793d22436f7572696572204e65772220666f6e60408201527f742d73697a653d2238302220666f6e742d7765696768743d22626f6c6422206c60608201527f65747465722d73706163696e673d2230656d223e3c747370616e20783d22323660808201527f302220793d22383530223e00000000000000000000000000000000000000000060a082015260ab0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261443a5761443a6143fc565b500490565b8082028115828204841417610ccc57610ccc61366b565b6000816144655761446561366b565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7f3c7376672077696474683d223139363022206865696768743d2232303030222081527f76696577426f783d2230203020313936302032303030222066696c6c3d226e6f60208201527f6e652220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f32303060408201527f302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e7760608201527f332e6f72672f313939392f786c696e6b223e000000000000000000000000000060808201527f3c72656374207374796c653d226d69782d626c656e642d6d6f64653a6f76657260928201527f6c61792220783d223132302220793d223830222077696474683d22313736302260b28201527f206865696768743d2231383430222072783d223830222066696c6c3d2275726c60d28201527f282366312922202f3e000000000000000000000000000000000000000000000060f2820152600087516145f38160fb850160208c01611a10565b61465261462961462361461d61461761461160fb878a01018e611f85565b8c611f85565b8a611f85565b88611f85565b86611f85565b7f3c2f7376673e0000000000000000000000000000000000000000000000000000815260060190565b9998505050505050505050565b81810381811115610ccc57610ccc61366b565b61ffff8281168282160390811115610ccc57610ccc61366b565b600060ff821660ff81036146a2576146a261366b565b60010192915050565b600087516146bd818460208c01611a10565b7f2d0000000000000000000000000000000000000000000000000000000000000090830190815287516146f7816001840160208c01611a10565b7f2d00000000000000000000000000000000000000000000000000000000000000600192909101918201528651614735816002840160208b01611a10565b6001818301019150507f200000000000000000000000000000000000000000000000000000000000000060018201528551614777816002840160208a01611a10565b6001818301019150507f3a00000000000000000000000000000000000000000000000000000000000000600182015261465261336e6147b96002840188611f85565b7f3a00000000000000000000000000000000000000000000000000000000000000815260010190565b6000826147f1576147f16143fc565b500690565b600061ffff83168061480a5761480a6143fc565b8061ffff8416069150509291505056fe2c7b2274726169745f74797065223a225374616b656420746f6b656e204944222c2276616c7565223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2c7b2274726169745f74797065223a225374616b656420616d6f756e74222c2276616c7565223a22a2646970667358221220f716624306be0144d13dd21e99756bf58ce79045149927c168f0056bb68f2b5964736f6c634300081c0033",
}

PositionMetadataMetaData contains all meta data concerning the PositionMetadata contract.

Functions

func CalculateSafeTxHash

func CalculateSafeTxHash(safeAddress common.Address, txData SafeTransactionData, chainID *big.Int) (common.Hash, error)

func CreateGenerateDefsCommand

func CreateGenerateDefsCommand() *cobra.Command

func CreateGenerateLogoCommand

func CreateGenerateLogoCommand() *cobra.Command

func CreateGenerateStakingPeriodElementsCommand

func CreateGenerateStakingPeriodElementsCommand() *cobra.Command

func CreateGenerateTokenIdOrAmountElementCommand

func CreateGenerateTokenIdOrAmountElementCommand() *cobra.Command

func CreateGenerateTokenSymbolCommand

func CreateGenerateTokenSymbolCommand() *cobra.Command

func CreateGenerateTokenTypeElementCommand

func CreateGenerateTokenTypeElementCommand() *cobra.Command

func CreateGetAddressSliceCommand

func CreateGetAddressSliceCommand() *cobra.Command

func CreateMetadataBytesCommand

func CreateMetadataBytesCommand() *cobra.Command

func CreateMetadataCommand

func CreateMetadataCommand() *cobra.Command

func CreateMetadataJsonCommand

func CreateMetadataJsonCommand() *cobra.Command

func CreatePositionMetadataCommand

func CreatePositionMetadataCommand() *cobra.Command

func CreatePositionMetadataDeploymentCommand

func CreatePositionMetadataDeploymentCommand() *cobra.Command

func CreateReturnTokenSymbolCommand

func CreateReturnTokenSymbolCommand() *cobra.Command

func CreateReturnTokenSymbolNativeCommand

func CreateReturnTokenSymbolNativeCommand() *cobra.Command

func CreateSafeProposal

func CreateSafeProposal(client *ethclient.Client, key *keystore.Key, safeAddress common.Address, to common.Address, data []byte, value *big.Int, safeApi string, safeOperationType SafeOperationType, safeNonce *big.Int) error

func DeployWithSafe

func DeployWithSafe(client *ethclient.Client, key *keystore.Key, safeAddress common.Address, factoryAddress common.Address, value *big.Int, safeApi string, deployBytecode []byte, safeOperationType SafeOperationType, salt [32]byte, safeNonce *big.Int) error

func KeyFromFile

func KeyFromFile(keystoreFile string, password string) (*keystore.Key, error)

Loads a key from file, prompting the user for the password if it is not provided as a function argument.

func NewChainContext

func NewChainContext(timeout uint) (context.Context, context.CancelFunc)

Creates a new context to be used when interacting with the chain client.

func NewClient

func NewClient(rpcURL string) (*ethclient.Client, error)

Generates an Ethereum client to the JSONRPC API at the given URL. If rpcURL is empty, then it attempts to read the RPC URL from the POSITION_METADATA_RPC_URL environment variable. If that is empty, too, then it returns an error.

func PredictDeploymentAddressSafe

func PredictDeploymentAddressSafe(from common.Address, salt [32]byte, deployBytecode []byte) (common.Address, error)

func SetCallParametersFromArgs

func SetCallParametersFromArgs(opts *bind.CallOpts, pending bool, fromAddress, blockNumber string)

This method is used to set the parameters on a view call from command line arguments (represented mostly as strings).

func SetTransactionParametersFromArgs

func SetTransactionParametersFromArgs(opts *bind.TransactOpts, nonce, value, gasPrice, maxFeePerGas, maxPriorityFeePerGas string, gasLimit uint64, noSend bool)

This method is used to set the parameters on a transaction from command line arguments (represented mostly as strings).

func UnlockKeystore

func UnlockKeystore(keystoreData []byte, password string) (*keystore.Key, error)

Unlocks a key from a keystore (byte contents of a keystore file) with the given password.

Types

type Position

type Position struct {
	PoolID             *big.Int
	AmountOrTokenID    *big.Int
	StakeTimestamp     *big.Int
	UnstakeInitiatedAt *big.Int
}

type PositionMetadata

type PositionMetadata struct {
	PositionMetadataCaller     // Read-only binding to the contract
	PositionMetadataTransactor // Write-only binding to the contract
	PositionMetadataFilterer   // Log filterer for contract events
}

PositionMetadata is an auto generated Go binding around an Ethereum contract.

func DeployPositionMetadata

func DeployPositionMetadata(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PositionMetadata, error)

DeployPositionMetadata deploys a new Ethereum contract, binding an instance of PositionMetadata to it.

func NewPositionMetadata

func NewPositionMetadata(address common.Address, backend bind.ContractBackend) (*PositionMetadata, error)

NewPositionMetadata creates a new instance of PositionMetadata, bound to a specific deployed contract.

type PositionMetadataCaller

type PositionMetadataCaller struct {
	// contains filtered or unexported fields
}

PositionMetadataCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPositionMetadataCaller

func NewPositionMetadataCaller(address common.Address, caller bind.ContractCaller) (*PositionMetadataCaller, error)

NewPositionMetadataCaller creates a new read-only instance of PositionMetadata, bound to a specific deployed contract.

func (*PositionMetadataCaller) GenerateDefs

func (_PositionMetadata *PositionMetadataCaller) GenerateDefs(opts *bind.CallOpts) (string, error)

GenerateDefs is a free data retrieval call binding the contract method 0x15f694a7.

Solidity: function generateDefs() pure returns(string)

func (_PositionMetadata *PositionMetadataCaller) GenerateLogo(opts *bind.CallOpts) (string, error)

GenerateLogo is a free data retrieval call binding the contract method 0x13d30b87.

Solidity: function generateLogo() pure returns(string)

func (*PositionMetadataCaller) GenerateStakingPeriodElements

func (_PositionMetadata *PositionMetadataCaller) GenerateStakingPeriodElements(opts *bind.CallOpts, stakeTimestampStr string, unlockTimestampStr string, cooldownStr string) (string, error)

GenerateStakingPeriodElements is a free data retrieval call binding the contract method 0xbdd53ada.

Solidity: function generateStakingPeriodElements(string stakeTimestampStr, string unlockTimestampStr, string cooldownStr) pure returns(string)

func (*PositionMetadataCaller) GenerateTokenIdOrAmountElement

func (_PositionMetadata *PositionMetadataCaller) GenerateTokenIdOrAmountElement(opts *bind.CallOpts, tokenIdOrAmountString string, amountOrTokenIDString string) (string, error)

GenerateTokenIdOrAmountElement is a free data retrieval call binding the contract method 0xe8e009b7.

Solidity: function generateTokenIdOrAmountElement(string tokenIdOrAmountString, string amountOrTokenIDString) pure returns(string)

func (*PositionMetadataCaller) GenerateTokenSymbol

func (_PositionMetadata *PositionMetadataCaller) GenerateTokenSymbol(opts *bind.CallOpts, tokenSymbolString string) (string, error)

GenerateTokenSymbol is a free data retrieval call binding the contract method 0x20958018.

Solidity: function generateTokenSymbol(string tokenSymbolString) pure returns(string)

func (*PositionMetadataCaller) GenerateTokenTypeElement

func (_PositionMetadata *PositionMetadataCaller) GenerateTokenTypeElement(opts *bind.CallOpts, tokenTypeString string, tokenAddressString string, amountOrTokenIdString string, poolIdString string) (string, error)

GenerateTokenTypeElement is a free data retrieval call binding the contract method 0x62ee01be.

Solidity: function generateTokenTypeElement(string tokenTypeString, string tokenAddressString, string amountOrTokenIdString, string poolIdString) pure returns(string)

func (*PositionMetadataCaller) GetAddressSlice

func (_PositionMetadata *PositionMetadataCaller) GetAddressSlice(opts *bind.CallOpts, tokenAddress common.Address) (string, error)

GetAddressSlice is a free data retrieval call binding the contract method 0xc7547df9.

Solidity: function getAddressSlice(address tokenAddress) pure returns(string)

func (*PositionMetadataCaller) Metadata

func (_PositionMetadata *PositionMetadataCaller) Metadata(opts *bind.CallOpts, positionTokenID *big.Int, position Position, pool StakingPool) (string, error)

Metadata is a free data retrieval call binding the contract method 0x7b2f34ff.

Solidity: function metadata(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(string)

func (*PositionMetadataCaller) MetadataBytes

func (_PositionMetadata *PositionMetadataCaller) MetadataBytes(opts *bind.CallOpts, positionTokenID *big.Int, position Position, pool StakingPool) ([]byte, error)

MetadataBytes is a free data retrieval call binding the contract method 0x721ac18a.

Solidity: function metadataBytes(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(bytes)

func (*PositionMetadataCaller) MetadataJSON

func (_PositionMetadata *PositionMetadataCaller) MetadataJSON(opts *bind.CallOpts, positionTokenID *big.Int, position Position, pool StakingPool) (string, error)

MetadataJSON is a free data retrieval call binding the contract method 0x239bdf6c.

Solidity: function metadataJSON(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(string)

func (*PositionMetadataCaller) ReturnTokenSymbol

func (_PositionMetadata *PositionMetadataCaller) ReturnTokenSymbol(opts *bind.CallOpts, tokenType *big.Int, tokenAddress common.Address) (string, error)

ReturnTokenSymbol is a free data retrieval call binding the contract method 0xcb91d35d.

Solidity: function returnTokenSymbol(uint256 tokenType, address tokenAddress) view returns(string)

func (*PositionMetadataCaller) ReturnTokenSymbolNative

func (_PositionMetadata *PositionMetadataCaller) ReturnTokenSymbolNative(opts *bind.CallOpts) (string, error)

ReturnTokenSymbolNative is a free data retrieval call binding the contract method 0x975a3a3b.

Solidity: function returnTokenSymbolNative() view returns(string)

type PositionMetadataCallerRaw

type PositionMetadataCallerRaw struct {
	Contract *PositionMetadataCaller // Generic read-only contract binding to access the raw methods on
}

PositionMetadataCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PositionMetadataCallerRaw) Call

func (_PositionMetadata *PositionMetadataCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type PositionMetadataCallerSession

type PositionMetadataCallerSession struct {
	Contract *PositionMetadataCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

PositionMetadataCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PositionMetadataCallerSession) GenerateDefs

func (_PositionMetadata *PositionMetadataCallerSession) GenerateDefs() (string, error)

GenerateDefs is a free data retrieval call binding the contract method 0x15f694a7.

Solidity: function generateDefs() pure returns(string)

func (_PositionMetadata *PositionMetadataCallerSession) GenerateLogo() (string, error)

GenerateLogo is a free data retrieval call binding the contract method 0x13d30b87.

Solidity: function generateLogo() pure returns(string)

func (*PositionMetadataCallerSession) GenerateStakingPeriodElements

func (_PositionMetadata *PositionMetadataCallerSession) GenerateStakingPeriodElements(stakeTimestampStr string, unlockTimestampStr string, cooldownStr string) (string, error)

GenerateStakingPeriodElements is a free data retrieval call binding the contract method 0xbdd53ada.

Solidity: function generateStakingPeriodElements(string stakeTimestampStr, string unlockTimestampStr, string cooldownStr) pure returns(string)

func (*PositionMetadataCallerSession) GenerateTokenIdOrAmountElement

func (_PositionMetadata *PositionMetadataCallerSession) GenerateTokenIdOrAmountElement(tokenIdOrAmountString string, amountOrTokenIDString string) (string, error)

GenerateTokenIdOrAmountElement is a free data retrieval call binding the contract method 0xe8e009b7.

Solidity: function generateTokenIdOrAmountElement(string tokenIdOrAmountString, string amountOrTokenIDString) pure returns(string)

func (*PositionMetadataCallerSession) GenerateTokenSymbol

func (_PositionMetadata *PositionMetadataCallerSession) GenerateTokenSymbol(tokenSymbolString string) (string, error)

GenerateTokenSymbol is a free data retrieval call binding the contract method 0x20958018.

Solidity: function generateTokenSymbol(string tokenSymbolString) pure returns(string)

func (*PositionMetadataCallerSession) GenerateTokenTypeElement

func (_PositionMetadata *PositionMetadataCallerSession) GenerateTokenTypeElement(tokenTypeString string, tokenAddressString string, amountOrTokenIdString string, poolIdString string) (string, error)

GenerateTokenTypeElement is a free data retrieval call binding the contract method 0x62ee01be.

Solidity: function generateTokenTypeElement(string tokenTypeString, string tokenAddressString, string amountOrTokenIdString, string poolIdString) pure returns(string)

func (*PositionMetadataCallerSession) GetAddressSlice

func (_PositionMetadata *PositionMetadataCallerSession) GetAddressSlice(tokenAddress common.Address) (string, error)

GetAddressSlice is a free data retrieval call binding the contract method 0xc7547df9.

Solidity: function getAddressSlice(address tokenAddress) pure returns(string)

func (*PositionMetadataCallerSession) Metadata

func (_PositionMetadata *PositionMetadataCallerSession) Metadata(positionTokenID *big.Int, position Position, pool StakingPool) (string, error)

Metadata is a free data retrieval call binding the contract method 0x7b2f34ff.

Solidity: function metadata(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(string)

func (*PositionMetadataCallerSession) MetadataBytes

func (_PositionMetadata *PositionMetadataCallerSession) MetadataBytes(positionTokenID *big.Int, position Position, pool StakingPool) ([]byte, error)

MetadataBytes is a free data retrieval call binding the contract method 0x721ac18a.

Solidity: function metadataBytes(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(bytes)

func (*PositionMetadataCallerSession) MetadataJSON

func (_PositionMetadata *PositionMetadataCallerSession) MetadataJSON(positionTokenID *big.Int, position Position, pool StakingPool) (string, error)

MetadataJSON is a free data retrieval call binding the contract method 0x239bdf6c.

Solidity: function metadataJSON(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(string)

func (*PositionMetadataCallerSession) ReturnTokenSymbol

func (_PositionMetadata *PositionMetadataCallerSession) ReturnTokenSymbol(tokenType *big.Int, tokenAddress common.Address) (string, error)

ReturnTokenSymbol is a free data retrieval call binding the contract method 0xcb91d35d.

Solidity: function returnTokenSymbol(uint256 tokenType, address tokenAddress) view returns(string)

func (*PositionMetadataCallerSession) ReturnTokenSymbolNative

func (_PositionMetadata *PositionMetadataCallerSession) ReturnTokenSymbolNative() (string, error)

ReturnTokenSymbolNative is a free data retrieval call binding the contract method 0x975a3a3b.

Solidity: function returnTokenSymbolNative() view returns(string)

type PositionMetadataFilterer

type PositionMetadataFilterer struct {
	// contains filtered or unexported fields
}

PositionMetadataFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPositionMetadataFilterer

func NewPositionMetadataFilterer(address common.Address, filterer bind.ContractFilterer) (*PositionMetadataFilterer, error)

NewPositionMetadataFilterer creates a new log filterer instance of PositionMetadata, bound to a specific deployed contract.

type PositionMetadataRaw

type PositionMetadataRaw struct {
	Contract *PositionMetadata // Generic contract binding to access the raw methods on
}

PositionMetadataRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PositionMetadataRaw) Call

func (_PositionMetadata *PositionMetadataRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*PositionMetadataRaw) Transact

func (_PositionMetadata *PositionMetadataRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PositionMetadataRaw) Transfer

func (_PositionMetadata *PositionMetadataRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PositionMetadataSession

type PositionMetadataSession struct {
	Contract     *PositionMetadata // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

PositionMetadataSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PositionMetadataSession) GenerateDefs

func (_PositionMetadata *PositionMetadataSession) GenerateDefs() (string, error)

GenerateDefs is a free data retrieval call binding the contract method 0x15f694a7.

Solidity: function generateDefs() pure returns(string)

func (_PositionMetadata *PositionMetadataSession) GenerateLogo() (string, error)

GenerateLogo is a free data retrieval call binding the contract method 0x13d30b87.

Solidity: function generateLogo() pure returns(string)

func (*PositionMetadataSession) GenerateStakingPeriodElements

func (_PositionMetadata *PositionMetadataSession) GenerateStakingPeriodElements(stakeTimestampStr string, unlockTimestampStr string, cooldownStr string) (string, error)

GenerateStakingPeriodElements is a free data retrieval call binding the contract method 0xbdd53ada.

Solidity: function generateStakingPeriodElements(string stakeTimestampStr, string unlockTimestampStr, string cooldownStr) pure returns(string)

func (*PositionMetadataSession) GenerateTokenIdOrAmountElement

func (_PositionMetadata *PositionMetadataSession) GenerateTokenIdOrAmountElement(tokenIdOrAmountString string, amountOrTokenIDString string) (string, error)

GenerateTokenIdOrAmountElement is a free data retrieval call binding the contract method 0xe8e009b7.

Solidity: function generateTokenIdOrAmountElement(string tokenIdOrAmountString, string amountOrTokenIDString) pure returns(string)

func (*PositionMetadataSession) GenerateTokenSymbol

func (_PositionMetadata *PositionMetadataSession) GenerateTokenSymbol(tokenSymbolString string) (string, error)

GenerateTokenSymbol is a free data retrieval call binding the contract method 0x20958018.

Solidity: function generateTokenSymbol(string tokenSymbolString) pure returns(string)

func (*PositionMetadataSession) GenerateTokenTypeElement

func (_PositionMetadata *PositionMetadataSession) GenerateTokenTypeElement(tokenTypeString string, tokenAddressString string, amountOrTokenIdString string, poolIdString string) (string, error)

GenerateTokenTypeElement is a free data retrieval call binding the contract method 0x62ee01be.

Solidity: function generateTokenTypeElement(string tokenTypeString, string tokenAddressString, string amountOrTokenIdString, string poolIdString) pure returns(string)

func (*PositionMetadataSession) GetAddressSlice

func (_PositionMetadata *PositionMetadataSession) GetAddressSlice(tokenAddress common.Address) (string, error)

GetAddressSlice is a free data retrieval call binding the contract method 0xc7547df9.

Solidity: function getAddressSlice(address tokenAddress) pure returns(string)

func (*PositionMetadataSession) Metadata

func (_PositionMetadata *PositionMetadataSession) Metadata(positionTokenID *big.Int, position Position, pool StakingPool) (string, error)

Metadata is a free data retrieval call binding the contract method 0x7b2f34ff.

Solidity: function metadata(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(string)

func (*PositionMetadataSession) MetadataBytes

func (_PositionMetadata *PositionMetadataSession) MetadataBytes(positionTokenID *big.Int, position Position, pool StakingPool) ([]byte, error)

MetadataBytes is a free data retrieval call binding the contract method 0x721ac18a.

Solidity: function metadataBytes(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(bytes)

func (*PositionMetadataSession) MetadataJSON

func (_PositionMetadata *PositionMetadataSession) MetadataJSON(positionTokenID *big.Int, position Position, pool StakingPool) (string, error)

MetadataJSON is a free data retrieval call binding the contract method 0x239bdf6c.

Solidity: function metadataJSON(uint256 positionTokenID, (uint256,uint256,uint256,uint256) position, (address,uint256,address,uint256,bool,uint256,uint256) pool) view returns(string)

func (*PositionMetadataSession) ReturnTokenSymbol

func (_PositionMetadata *PositionMetadataSession) ReturnTokenSymbol(tokenType *big.Int, tokenAddress common.Address) (string, error)

ReturnTokenSymbol is a free data retrieval call binding the contract method 0xcb91d35d.

Solidity: function returnTokenSymbol(uint256 tokenType, address tokenAddress) view returns(string)

func (*PositionMetadataSession) ReturnTokenSymbolNative

func (_PositionMetadata *PositionMetadataSession) ReturnTokenSymbolNative() (string, error)

ReturnTokenSymbolNative is a free data retrieval call binding the contract method 0x975a3a3b.

Solidity: function returnTokenSymbolNative() view returns(string)

type PositionMetadataTransactor

type PositionMetadataTransactor struct {
	// contains filtered or unexported fields
}

PositionMetadataTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPositionMetadataTransactor

func NewPositionMetadataTransactor(address common.Address, transactor bind.ContractTransactor) (*PositionMetadataTransactor, error)

NewPositionMetadataTransactor creates a new write-only instance of PositionMetadata, bound to a specific deployed contract.

type PositionMetadataTransactorRaw

type PositionMetadataTransactorRaw struct {
	Contract *PositionMetadataTransactor // Generic write-only contract binding to access the raw methods on
}

PositionMetadataTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PositionMetadataTransactorRaw) Transact

func (_PositionMetadata *PositionMetadataTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PositionMetadataTransactorRaw) Transfer

func (_PositionMetadata *PositionMetadataTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PositionMetadataTransactorSession

type PositionMetadataTransactorSession struct {
	Contract     *PositionMetadataTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

PositionMetadataTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type SafeOperationType

type SafeOperationType uint8

SafeOperationType represents the type of operation for a Safe transaction

const (
	Call         SafeOperationType = 0
	DelegateCall SafeOperationType = 1
)

func (SafeOperationType) String

func (o SafeOperationType) String() string

String returns the string representation of the SafeOperationType

type SafeTransactionData

type SafeTransactionData struct {
	To             string            `json:"to"`
	Value          string            `json:"value"`
	Data           string            `json:"data"`
	Operation      SafeOperationType `json:"operation"`
	SafeTxGas      uint64            `json:"safeTxGas"`
	BaseGas        uint64            `json:"baseGas"`
	GasPrice       string            `json:"gasPrice"`
	GasToken       string            `json:"gasToken"`
	RefundReceiver string            `json:"refundReceiver"`
	Nonce          *big.Int          `json:"nonce"`
	SafeTxHash     string            `json:"safeTxHash"`
	Sender         string            `json:"sender"`
	Signature      string            `json:"signature"`
	Origin         string            `json:"origin"`
}

SafeTransactionData represents the data for a Safe transaction

type StakingPool

type StakingPool struct {
	Administrator   common.Address
	TokenType       *big.Int
	TokenAddress    common.Address
	TokenID         *big.Int
	Transferable    bool
	LockupSeconds   *big.Int
	CooldownSeconds *big.Int
}

StakingPool is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL