MetaRareOperator.go 139 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079
  1. // Code generated - DO NOT EDIT.
  2. // This file is a generated binding and any manual changes will be lost.
  3. package operator
  4. import (
  5. "errors"
  6. "math/big"
  7. "strings"
  8. ethereum "github.com/ethereum/go-ethereum"
  9. "github.com/ethereum/go-ethereum/accounts/abi"
  10. "github.com/ethereum/go-ethereum/accounts/abi/bind"
  11. "github.com/ethereum/go-ethereum/common"
  12. "github.com/ethereum/go-ethereum/core/types"
  13. "github.com/ethereum/go-ethereum/event"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var (
  17. _ = errors.New
  18. _ = big.NewInt
  19. _ = strings.NewReader
  20. _ = ethereum.NotFound
  21. _ = bind.Bind
  22. _ = common.Big1
  23. _ = types.BloomLookup
  24. _ = event.NewSubscription
  25. )
  26. // MetaRareOperatorNFTVoucher is an auto generated low-level Go binding around an user-defined struct.
  27. type MetaRareOperatorNFTVoucher struct {
  28. Signer common.Address
  29. TokenAddress common.Address
  30. TokenType *big.Int
  31. TokenId *big.Int
  32. AssetAddress common.Address
  33. Price *big.Int
  34. Balance *big.Int
  35. TotalBalance *big.Int
  36. CreationTax *big.Int
  37. TreasuryTax *big.Int
  38. TreasuryAddress common.Address
  39. Uri string
  40. }
  41. // ECDSAMetaData contains all meta data concerning the ECDSA contract.
  42. var ECDSAMetaData = &bind.MetaData{
  43. ABI: "[]",
  44. Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207399d7bed8861595eae1922da30eaff01349050487eb3c339a8f061492540c2364736f6c63430008000033",
  45. }
  46. // ECDSAABI is the input ABI used to generate the binding from.
  47. // Deprecated: Use ECDSAMetaData.ABI instead.
  48. var ECDSAABI = ECDSAMetaData.ABI
  49. // ECDSABin is the compiled bytecode used for deploying new contracts.
  50. // Deprecated: Use ECDSAMetaData.Bin instead.
  51. var ECDSABin = ECDSAMetaData.Bin
  52. // DeployECDSA deploys a new Ethereum contract, binding an instance of ECDSA to it.
  53. func DeployECDSA(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ECDSA, error) {
  54. parsed, err := ECDSAMetaData.GetAbi()
  55. if err != nil {
  56. return common.Address{}, nil, nil, err
  57. }
  58. if parsed == nil {
  59. return common.Address{}, nil, nil, errors.New("GetABI returned nil")
  60. }
  61. address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(ECDSABin), backend)
  62. if err != nil {
  63. return common.Address{}, nil, nil, err
  64. }
  65. return address, tx, &ECDSA{ECDSACaller: ECDSACaller{contract: contract}, ECDSATransactor: ECDSATransactor{contract: contract}, ECDSAFilterer: ECDSAFilterer{contract: contract}}, nil
  66. }
  67. // ECDSA is an auto generated Go binding around an Ethereum contract.
  68. type ECDSA struct {
  69. ECDSACaller // Read-only binding to the contract
  70. ECDSATransactor // Write-only binding to the contract
  71. ECDSAFilterer // Log filterer for contract events
  72. }
  73. // ECDSACaller is an auto generated read-only Go binding around an Ethereum contract.
  74. type ECDSACaller struct {
  75. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  76. }
  77. // ECDSATransactor is an auto generated write-only Go binding around an Ethereum contract.
  78. type ECDSATransactor struct {
  79. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  80. }
  81. // ECDSAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
  82. type ECDSAFilterer struct {
  83. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  84. }
  85. // ECDSASession is an auto generated Go binding around an Ethereum contract,
  86. // with pre-set call and transact options.
  87. type ECDSASession struct {
  88. Contract *ECDSA // Generic contract binding to set the session for
  89. CallOpts bind.CallOpts // Call options to use throughout this session
  90. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  91. }
  92. // ECDSACallerSession is an auto generated read-only Go binding around an Ethereum contract,
  93. // with pre-set call options.
  94. type ECDSACallerSession struct {
  95. Contract *ECDSACaller // Generic contract caller binding to set the session for
  96. CallOpts bind.CallOpts // Call options to use throughout this session
  97. }
  98. // ECDSATransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  99. // with pre-set transact options.
  100. type ECDSATransactorSession struct {
  101. Contract *ECDSATransactor // Generic contract transactor binding to set the session for
  102. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  103. }
  104. // ECDSARaw is an auto generated low-level Go binding around an Ethereum contract.
  105. type ECDSARaw struct {
  106. Contract *ECDSA // Generic contract binding to access the raw methods on
  107. }
  108. // ECDSACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  109. type ECDSACallerRaw struct {
  110. Contract *ECDSACaller // Generic read-only contract binding to access the raw methods on
  111. }
  112. // ECDSATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  113. type ECDSATransactorRaw struct {
  114. Contract *ECDSATransactor // Generic write-only contract binding to access the raw methods on
  115. }
  116. // NewECDSA creates a new instance of ECDSA, bound to a specific deployed contract.
  117. func NewECDSA(address common.Address, backend bind.ContractBackend) (*ECDSA, error) {
  118. contract, err := bindECDSA(address, backend, backend, backend)
  119. if err != nil {
  120. return nil, err
  121. }
  122. return &ECDSA{ECDSACaller: ECDSACaller{contract: contract}, ECDSATransactor: ECDSATransactor{contract: contract}, ECDSAFilterer: ECDSAFilterer{contract: contract}}, nil
  123. }
  124. // NewECDSACaller creates a new read-only instance of ECDSA, bound to a specific deployed contract.
  125. func NewECDSACaller(address common.Address, caller bind.ContractCaller) (*ECDSACaller, error) {
  126. contract, err := bindECDSA(address, caller, nil, nil)
  127. if err != nil {
  128. return nil, err
  129. }
  130. return &ECDSACaller{contract: contract}, nil
  131. }
  132. // NewECDSATransactor creates a new write-only instance of ECDSA, bound to a specific deployed contract.
  133. func NewECDSATransactor(address common.Address, transactor bind.ContractTransactor) (*ECDSATransactor, error) {
  134. contract, err := bindECDSA(address, nil, transactor, nil)
  135. if err != nil {
  136. return nil, err
  137. }
  138. return &ECDSATransactor{contract: contract}, nil
  139. }
  140. // NewECDSAFilterer creates a new log filterer instance of ECDSA, bound to a specific deployed contract.
  141. func NewECDSAFilterer(address common.Address, filterer bind.ContractFilterer) (*ECDSAFilterer, error) {
  142. contract, err := bindECDSA(address, nil, nil, filterer)
  143. if err != nil {
  144. return nil, err
  145. }
  146. return &ECDSAFilterer{contract: contract}, nil
  147. }
  148. // bindECDSA binds a generic wrapper to an already deployed contract.
  149. func bindECDSA(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  150. parsed, err := abi.JSON(strings.NewReader(ECDSAABI))
  151. if err != nil {
  152. return nil, err
  153. }
  154. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  155. }
  156. // Call invokes the (constant) contract method with params as input values and
  157. // sets the output to result. The result type might be a single field for simple
  158. // returns, a slice of interfaces for anonymous returns and a struct for named
  159. // returns.
  160. func (_ECDSA *ECDSARaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  161. return _ECDSA.Contract.ECDSACaller.contract.Call(opts, result, method, params...)
  162. }
  163. // Transfer initiates a plain transaction to move funds to the contract, calling
  164. // its default method if one is available.
  165. func (_ECDSA *ECDSARaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  166. return _ECDSA.Contract.ECDSATransactor.contract.Transfer(opts)
  167. }
  168. // Transact invokes the (paid) contract method with params as input values.
  169. func (_ECDSA *ECDSARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  170. return _ECDSA.Contract.ECDSATransactor.contract.Transact(opts, method, params...)
  171. }
  172. // Call invokes the (constant) contract method with params as input values and
  173. // sets the output to result. The result type might be a single field for simple
  174. // returns, a slice of interfaces for anonymous returns and a struct for named
  175. // returns.
  176. func (_ECDSA *ECDSACallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  177. return _ECDSA.Contract.contract.Call(opts, result, method, params...)
  178. }
  179. // Transfer initiates a plain transaction to move funds to the contract, calling
  180. // its default method if one is available.
  181. func (_ECDSA *ECDSATransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  182. return _ECDSA.Contract.contract.Transfer(opts)
  183. }
  184. // Transact invokes the (paid) contract method with params as input values.
  185. func (_ECDSA *ECDSATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  186. return _ECDSA.Contract.contract.Transact(opts, method, params...)
  187. }
  188. // EIP712MetaData contains all meta data concerning the EIP712 contract.
  189. var EIP712MetaData = &bind.MetaData{
  190. ABI: "[]",
  191. }
  192. // EIP712ABI is the input ABI used to generate the binding from.
  193. // Deprecated: Use EIP712MetaData.ABI instead.
  194. var EIP712ABI = EIP712MetaData.ABI
  195. // EIP712 is an auto generated Go binding around an Ethereum contract.
  196. type EIP712 struct {
  197. EIP712Caller // Read-only binding to the contract
  198. EIP712Transactor // Write-only binding to the contract
  199. EIP712Filterer // Log filterer for contract events
  200. }
  201. // EIP712Caller is an auto generated read-only Go binding around an Ethereum contract.
  202. type EIP712Caller struct {
  203. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  204. }
  205. // EIP712Transactor is an auto generated write-only Go binding around an Ethereum contract.
  206. type EIP712Transactor struct {
  207. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  208. }
  209. // EIP712Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
  210. type EIP712Filterer struct {
  211. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  212. }
  213. // EIP712Session is an auto generated Go binding around an Ethereum contract,
  214. // with pre-set call and transact options.
  215. type EIP712Session struct {
  216. Contract *EIP712 // Generic contract binding to set the session for
  217. CallOpts bind.CallOpts // Call options to use throughout this session
  218. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  219. }
  220. // EIP712CallerSession is an auto generated read-only Go binding around an Ethereum contract,
  221. // with pre-set call options.
  222. type EIP712CallerSession struct {
  223. Contract *EIP712Caller // Generic contract caller binding to set the session for
  224. CallOpts bind.CallOpts // Call options to use throughout this session
  225. }
  226. // EIP712TransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  227. // with pre-set transact options.
  228. type EIP712TransactorSession struct {
  229. Contract *EIP712Transactor // Generic contract transactor binding to set the session for
  230. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  231. }
  232. // EIP712Raw is an auto generated low-level Go binding around an Ethereum contract.
  233. type EIP712Raw struct {
  234. Contract *EIP712 // Generic contract binding to access the raw methods on
  235. }
  236. // EIP712CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  237. type EIP712CallerRaw struct {
  238. Contract *EIP712Caller // Generic read-only contract binding to access the raw methods on
  239. }
  240. // EIP712TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  241. type EIP712TransactorRaw struct {
  242. Contract *EIP712Transactor // Generic write-only contract binding to access the raw methods on
  243. }
  244. // NewEIP712 creates a new instance of EIP712, bound to a specific deployed contract.
  245. func NewEIP712(address common.Address, backend bind.ContractBackend) (*EIP712, error) {
  246. contract, err := bindEIP712(address, backend, backend, backend)
  247. if err != nil {
  248. return nil, err
  249. }
  250. return &EIP712{EIP712Caller: EIP712Caller{contract: contract}, EIP712Transactor: EIP712Transactor{contract: contract}, EIP712Filterer: EIP712Filterer{contract: contract}}, nil
  251. }
  252. // NewEIP712Caller creates a new read-only instance of EIP712, bound to a specific deployed contract.
  253. func NewEIP712Caller(address common.Address, caller bind.ContractCaller) (*EIP712Caller, error) {
  254. contract, err := bindEIP712(address, caller, nil, nil)
  255. if err != nil {
  256. return nil, err
  257. }
  258. return &EIP712Caller{contract: contract}, nil
  259. }
  260. // NewEIP712Transactor creates a new write-only instance of EIP712, bound to a specific deployed contract.
  261. func NewEIP712Transactor(address common.Address, transactor bind.ContractTransactor) (*EIP712Transactor, error) {
  262. contract, err := bindEIP712(address, nil, transactor, nil)
  263. if err != nil {
  264. return nil, err
  265. }
  266. return &EIP712Transactor{contract: contract}, nil
  267. }
  268. // NewEIP712Filterer creates a new log filterer instance of EIP712, bound to a specific deployed contract.
  269. func NewEIP712Filterer(address common.Address, filterer bind.ContractFilterer) (*EIP712Filterer, error) {
  270. contract, err := bindEIP712(address, nil, nil, filterer)
  271. if err != nil {
  272. return nil, err
  273. }
  274. return &EIP712Filterer{contract: contract}, nil
  275. }
  276. // bindEIP712 binds a generic wrapper to an already deployed contract.
  277. func bindEIP712(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  278. parsed, err := abi.JSON(strings.NewReader(EIP712ABI))
  279. if err != nil {
  280. return nil, err
  281. }
  282. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  283. }
  284. // Call invokes the (constant) contract method with params as input values and
  285. // sets the output to result. The result type might be a single field for simple
  286. // returns, a slice of interfaces for anonymous returns and a struct for named
  287. // returns.
  288. func (_EIP712 *EIP712Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  289. return _EIP712.Contract.EIP712Caller.contract.Call(opts, result, method, params...)
  290. }
  291. // Transfer initiates a plain transaction to move funds to the contract, calling
  292. // its default method if one is available.
  293. func (_EIP712 *EIP712Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  294. return _EIP712.Contract.EIP712Transactor.contract.Transfer(opts)
  295. }
  296. // Transact invokes the (paid) contract method with params as input values.
  297. func (_EIP712 *EIP712Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  298. return _EIP712.Contract.EIP712Transactor.contract.Transact(opts, method, params...)
  299. }
  300. // Call invokes the (constant) contract method with params as input values and
  301. // sets the output to result. The result type might be a single field for simple
  302. // returns, a slice of interfaces for anonymous returns and a struct for named
  303. // returns.
  304. func (_EIP712 *EIP712CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  305. return _EIP712.Contract.contract.Call(opts, result, method, params...)
  306. }
  307. // Transfer initiates a plain transaction to move funds to the contract, calling
  308. // its default method if one is available.
  309. func (_EIP712 *EIP712TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  310. return _EIP712.Contract.contract.Transfer(opts)
  311. }
  312. // Transact invokes the (paid) contract method with params as input values.
  313. func (_EIP712 *EIP712TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  314. return _EIP712.Contract.contract.Transact(opts, method, params...)
  315. }
  316. // IERC20MetaData contains all meta data concerning the IERC20 contract.
  317. var IERC20MetaData = &bind.MetaData{
  318. ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
  319. Sigs: map[string]string{
  320. "095ea7b3": "approve(address,uint256)",
  321. "70a08231": "balanceOf(address)",
  322. "a9059cbb": "transfer(address,uint256)",
  323. "23b872dd": "transferFrom(address,address,uint256)",
  324. },
  325. }
  326. // IERC20ABI is the input ABI used to generate the binding from.
  327. // Deprecated: Use IERC20MetaData.ABI instead.
  328. var IERC20ABI = IERC20MetaData.ABI
  329. // Deprecated: Use IERC20MetaData.Sigs instead.
  330. // IERC20FuncSigs maps the 4-byte function signature to its string representation.
  331. var IERC20FuncSigs = IERC20MetaData.Sigs
  332. // IERC20 is an auto generated Go binding around an Ethereum contract.
  333. type IERC20 struct {
  334. IERC20Caller // Read-only binding to the contract
  335. IERC20Transactor // Write-only binding to the contract
  336. IERC20Filterer // Log filterer for contract events
  337. }
  338. // IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
  339. type IERC20Caller struct {
  340. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  341. }
  342. // IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
  343. type IERC20Transactor struct {
  344. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  345. }
  346. // IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
  347. type IERC20Filterer struct {
  348. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  349. }
  350. // IERC20Session is an auto generated Go binding around an Ethereum contract,
  351. // with pre-set call and transact options.
  352. type IERC20Session struct {
  353. Contract *IERC20 // Generic contract binding to set the session for
  354. CallOpts bind.CallOpts // Call options to use throughout this session
  355. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  356. }
  357. // IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract,
  358. // with pre-set call options.
  359. type IERC20CallerSession struct {
  360. Contract *IERC20Caller // Generic contract caller binding to set the session for
  361. CallOpts bind.CallOpts // Call options to use throughout this session
  362. }
  363. // IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  364. // with pre-set transact options.
  365. type IERC20TransactorSession struct {
  366. Contract *IERC20Transactor // Generic contract transactor binding to set the session for
  367. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  368. }
  369. // IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
  370. type IERC20Raw struct {
  371. Contract *IERC20 // Generic contract binding to access the raw methods on
  372. }
  373. // IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  374. type IERC20CallerRaw struct {
  375. Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
  376. }
  377. // IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  378. type IERC20TransactorRaw struct {
  379. Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
  380. }
  381. // NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.
  382. func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error) {
  383. contract, err := bindIERC20(address, backend, backend, backend)
  384. if err != nil {
  385. return nil, err
  386. }
  387. return &IERC20{IERC20Caller: IERC20Caller{contract: contract}, IERC20Transactor: IERC20Transactor{contract: contract}, IERC20Filterer: IERC20Filterer{contract: contract}}, nil
  388. }
  389. // NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
  390. func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error) {
  391. contract, err := bindIERC20(address, caller, nil, nil)
  392. if err != nil {
  393. return nil, err
  394. }
  395. return &IERC20Caller{contract: contract}, nil
  396. }
  397. // NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
  398. func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error) {
  399. contract, err := bindIERC20(address, nil, transactor, nil)
  400. if err != nil {
  401. return nil, err
  402. }
  403. return &IERC20Transactor{contract: contract}, nil
  404. }
  405. // NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
  406. func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error) {
  407. contract, err := bindIERC20(address, nil, nil, filterer)
  408. if err != nil {
  409. return nil, err
  410. }
  411. return &IERC20Filterer{contract: contract}, nil
  412. }
  413. // bindIERC20 binds a generic wrapper to an already deployed contract.
  414. func bindIERC20(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  415. parsed, err := abi.JSON(strings.NewReader(IERC20ABI))
  416. if err != nil {
  417. return nil, err
  418. }
  419. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  420. }
  421. // Call invokes the (constant) contract method with params as input values and
  422. // sets the output to result. The result type might be a single field for simple
  423. // returns, a slice of interfaces for anonymous returns and a struct for named
  424. // returns.
  425. func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  426. return _IERC20.Contract.IERC20Caller.contract.Call(opts, result, method, params...)
  427. }
  428. // Transfer initiates a plain transaction to move funds to the contract, calling
  429. // its default method if one is available.
  430. func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  431. return _IERC20.Contract.IERC20Transactor.contract.Transfer(opts)
  432. }
  433. // Transact invokes the (paid) contract method with params as input values.
  434. func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  435. return _IERC20.Contract.IERC20Transactor.contract.Transact(opts, method, params...)
  436. }
  437. // Call invokes the (constant) contract method with params as input values and
  438. // sets the output to result. The result type might be a single field for simple
  439. // returns, a slice of interfaces for anonymous returns and a struct for named
  440. // returns.
  441. func (_IERC20 *IERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  442. return _IERC20.Contract.contract.Call(opts, result, method, params...)
  443. }
  444. // Transfer initiates a plain transaction to move funds to the contract, calling
  445. // its default method if one is available.
  446. func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  447. return _IERC20.Contract.contract.Transfer(opts)
  448. }
  449. // Transact invokes the (paid) contract method with params as input values.
  450. func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  451. return _IERC20.Contract.contract.Transact(opts, method, params...)
  452. }
  453. // BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
  454. //
  455. // Solidity: function balanceOf(address owner) view returns(uint256)
  456. func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error) {
  457. var out []interface{}
  458. err := _IERC20.contract.Call(opts, &out, "balanceOf", owner)
  459. if err != nil {
  460. return *new(*big.Int), err
  461. }
  462. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
  463. return out0, err
  464. }
  465. // BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
  466. //
  467. // Solidity: function balanceOf(address owner) view returns(uint256)
  468. func (_IERC20 *IERC20Session) BalanceOf(owner common.Address) (*big.Int, error) {
  469. return _IERC20.Contract.BalanceOf(&_IERC20.CallOpts, owner)
  470. }
  471. // BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
  472. //
  473. // Solidity: function balanceOf(address owner) view returns(uint256)
  474. func (_IERC20 *IERC20CallerSession) BalanceOf(owner common.Address) (*big.Int, error) {
  475. return _IERC20.Contract.BalanceOf(&_IERC20.CallOpts, owner)
  476. }
  477. // Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
  478. //
  479. // Solidity: function approve(address spender, uint256 value) returns(bool)
  480. func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error) {
  481. return _IERC20.contract.Transact(opts, "approve", spender, value)
  482. }
  483. // Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
  484. //
  485. // Solidity: function approve(address spender, uint256 value) returns(bool)
  486. func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) {
  487. return _IERC20.Contract.Approve(&_IERC20.TransactOpts, spender, value)
  488. }
  489. // Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
  490. //
  491. // Solidity: function approve(address spender, uint256 value) returns(bool)
  492. func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) {
  493. return _IERC20.Contract.Approve(&_IERC20.TransactOpts, spender, value)
  494. }
  495. // Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
  496. //
  497. // Solidity: function transfer(address to, uint256 amount) returns(bool)
  498. func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error) {
  499. return _IERC20.contract.Transact(opts, "transfer", to, amount)
  500. }
  501. // Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
  502. //
  503. // Solidity: function transfer(address to, uint256 amount) returns(bool)
  504. func (_IERC20 *IERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error) {
  505. return _IERC20.Contract.Transfer(&_IERC20.TransactOpts, to, amount)
  506. }
  507. // Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
  508. //
  509. // Solidity: function transfer(address to, uint256 amount) returns(bool)
  510. func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error) {
  511. return _IERC20.Contract.Transfer(&_IERC20.TransactOpts, to, amount)
  512. }
  513. // TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
  514. //
  515. // Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
  516. func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error) {
  517. return _IERC20.contract.Transact(opts, "transferFrom", from, to, value)
  518. }
  519. // TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
  520. //
  521. // Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
  522. func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error) {
  523. return _IERC20.Contract.TransferFrom(&_IERC20.TransactOpts, from, to, value)
  524. }
  525. // TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
  526. //
  527. // Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
  528. func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error) {
  529. return _IERC20.Contract.TransferFrom(&_IERC20.TransactOpts, from, to, value)
  530. }
  531. // IMetaRareERC1155CollectionMetaData contains all meta data concerning the IMetaRareERC1155Collection contract.
  532. var IMetaRareERC1155CollectionMetaData = &bind.MetaData{
  533. ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"createByOperator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"exists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferOnlyOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
  534. Sigs: map[string]string{
  535. "00fdd58e": "balanceOf(address,uint256)",
  536. "61321c14": "createByOperator(address,uint256,uint256,string,bytes)",
  537. "4f558e79": "exists(uint256)",
  538. "8da5cb5b": "owner()",
  539. "f242432a": "safeTransferFrom(address,address,uint256,uint256,bytes)",
  540. "7c7ae4d1": "transferOnlyOperator(address,address,uint256,uint256)",
  541. },
  542. }
  543. // IMetaRareERC1155CollectionABI is the input ABI used to generate the binding from.
  544. // Deprecated: Use IMetaRareERC1155CollectionMetaData.ABI instead.
  545. var IMetaRareERC1155CollectionABI = IMetaRareERC1155CollectionMetaData.ABI
  546. // Deprecated: Use IMetaRareERC1155CollectionMetaData.Sigs instead.
  547. // IMetaRareERC1155CollectionFuncSigs maps the 4-byte function signature to its string representation.
  548. var IMetaRareERC1155CollectionFuncSigs = IMetaRareERC1155CollectionMetaData.Sigs
  549. // IMetaRareERC1155Collection is an auto generated Go binding around an Ethereum contract.
  550. type IMetaRareERC1155Collection struct {
  551. IMetaRareERC1155CollectionCaller // Read-only binding to the contract
  552. IMetaRareERC1155CollectionTransactor // Write-only binding to the contract
  553. IMetaRareERC1155CollectionFilterer // Log filterer for contract events
  554. }
  555. // IMetaRareERC1155CollectionCaller is an auto generated read-only Go binding around an Ethereum contract.
  556. type IMetaRareERC1155CollectionCaller struct {
  557. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  558. }
  559. // IMetaRareERC1155CollectionTransactor is an auto generated write-only Go binding around an Ethereum contract.
  560. type IMetaRareERC1155CollectionTransactor struct {
  561. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  562. }
  563. // IMetaRareERC1155CollectionFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
  564. type IMetaRareERC1155CollectionFilterer struct {
  565. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  566. }
  567. // IMetaRareERC1155CollectionSession is an auto generated Go binding around an Ethereum contract,
  568. // with pre-set call and transact options.
  569. type IMetaRareERC1155CollectionSession struct {
  570. Contract *IMetaRareERC1155Collection // Generic contract binding to set the session for
  571. CallOpts bind.CallOpts // Call options to use throughout this session
  572. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  573. }
  574. // IMetaRareERC1155CollectionCallerSession is an auto generated read-only Go binding around an Ethereum contract,
  575. // with pre-set call options.
  576. type IMetaRareERC1155CollectionCallerSession struct {
  577. Contract *IMetaRareERC1155CollectionCaller // Generic contract caller binding to set the session for
  578. CallOpts bind.CallOpts // Call options to use throughout this session
  579. }
  580. // IMetaRareERC1155CollectionTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  581. // with pre-set transact options.
  582. type IMetaRareERC1155CollectionTransactorSession struct {
  583. Contract *IMetaRareERC1155CollectionTransactor // Generic contract transactor binding to set the session for
  584. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  585. }
  586. // IMetaRareERC1155CollectionRaw is an auto generated low-level Go binding around an Ethereum contract.
  587. type IMetaRareERC1155CollectionRaw struct {
  588. Contract *IMetaRareERC1155Collection // Generic contract binding to access the raw methods on
  589. }
  590. // IMetaRareERC1155CollectionCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  591. type IMetaRareERC1155CollectionCallerRaw struct {
  592. Contract *IMetaRareERC1155CollectionCaller // Generic read-only contract binding to access the raw methods on
  593. }
  594. // IMetaRareERC1155CollectionTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  595. type IMetaRareERC1155CollectionTransactorRaw struct {
  596. Contract *IMetaRareERC1155CollectionTransactor // Generic write-only contract binding to access the raw methods on
  597. }
  598. // NewIMetaRareERC1155Collection creates a new instance of IMetaRareERC1155Collection, bound to a specific deployed contract.
  599. func NewIMetaRareERC1155Collection(address common.Address, backend bind.ContractBackend) (*IMetaRareERC1155Collection, error) {
  600. contract, err := bindIMetaRareERC1155Collection(address, backend, backend, backend)
  601. if err != nil {
  602. return nil, err
  603. }
  604. return &IMetaRareERC1155Collection{IMetaRareERC1155CollectionCaller: IMetaRareERC1155CollectionCaller{contract: contract}, IMetaRareERC1155CollectionTransactor: IMetaRareERC1155CollectionTransactor{contract: contract}, IMetaRareERC1155CollectionFilterer: IMetaRareERC1155CollectionFilterer{contract: contract}}, nil
  605. }
  606. // NewIMetaRareERC1155CollectionCaller creates a new read-only instance of IMetaRareERC1155Collection, bound to a specific deployed contract.
  607. func NewIMetaRareERC1155CollectionCaller(address common.Address, caller bind.ContractCaller) (*IMetaRareERC1155CollectionCaller, error) {
  608. contract, err := bindIMetaRareERC1155Collection(address, caller, nil, nil)
  609. if err != nil {
  610. return nil, err
  611. }
  612. return &IMetaRareERC1155CollectionCaller{contract: contract}, nil
  613. }
  614. // NewIMetaRareERC1155CollectionTransactor creates a new write-only instance of IMetaRareERC1155Collection, bound to a specific deployed contract.
  615. func NewIMetaRareERC1155CollectionTransactor(address common.Address, transactor bind.ContractTransactor) (*IMetaRareERC1155CollectionTransactor, error) {
  616. contract, err := bindIMetaRareERC1155Collection(address, nil, transactor, nil)
  617. if err != nil {
  618. return nil, err
  619. }
  620. return &IMetaRareERC1155CollectionTransactor{contract: contract}, nil
  621. }
  622. // NewIMetaRareERC1155CollectionFilterer creates a new log filterer instance of IMetaRareERC1155Collection, bound to a specific deployed contract.
  623. func NewIMetaRareERC1155CollectionFilterer(address common.Address, filterer bind.ContractFilterer) (*IMetaRareERC1155CollectionFilterer, error) {
  624. contract, err := bindIMetaRareERC1155Collection(address, nil, nil, filterer)
  625. if err != nil {
  626. return nil, err
  627. }
  628. return &IMetaRareERC1155CollectionFilterer{contract: contract}, nil
  629. }
  630. // bindIMetaRareERC1155Collection binds a generic wrapper to an already deployed contract.
  631. func bindIMetaRareERC1155Collection(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  632. parsed, err := abi.JSON(strings.NewReader(IMetaRareERC1155CollectionABI))
  633. if err != nil {
  634. return nil, err
  635. }
  636. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  637. }
  638. // Call invokes the (constant) contract method with params as input values and
  639. // sets the output to result. The result type might be a single field for simple
  640. // returns, a slice of interfaces for anonymous returns and a struct for named
  641. // returns.
  642. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  643. return _IMetaRareERC1155Collection.Contract.IMetaRareERC1155CollectionCaller.contract.Call(opts, result, method, params...)
  644. }
  645. // Transfer initiates a plain transaction to move funds to the contract, calling
  646. // its default method if one is available.
  647. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  648. return _IMetaRareERC1155Collection.Contract.IMetaRareERC1155CollectionTransactor.contract.Transfer(opts)
  649. }
  650. // Transact invokes the (paid) contract method with params as input values.
  651. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  652. return _IMetaRareERC1155Collection.Contract.IMetaRareERC1155CollectionTransactor.contract.Transact(opts, method, params...)
  653. }
  654. // Call invokes the (constant) contract method with params as input values and
  655. // sets the output to result. The result type might be a single field for simple
  656. // returns, a slice of interfaces for anonymous returns and a struct for named
  657. // returns.
  658. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  659. return _IMetaRareERC1155Collection.Contract.contract.Call(opts, result, method, params...)
  660. }
  661. // Transfer initiates a plain transaction to move funds to the contract, calling
  662. // its default method if one is available.
  663. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  664. return _IMetaRareERC1155Collection.Contract.contract.Transfer(opts)
  665. }
  666. // Transact invokes the (paid) contract method with params as input values.
  667. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  668. return _IMetaRareERC1155Collection.Contract.contract.Transact(opts, method, params...)
  669. }
  670. // BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
  671. //
  672. // Solidity: function balanceOf(address , uint256 ) view returns(uint256)
  673. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error) {
  674. var out []interface{}
  675. err := _IMetaRareERC1155Collection.contract.Call(opts, &out, "balanceOf", arg0, arg1)
  676. if err != nil {
  677. return *new(*big.Int), err
  678. }
  679. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
  680. return out0, err
  681. }
  682. // BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
  683. //
  684. // Solidity: function balanceOf(address , uint256 ) view returns(uint256)
  685. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionSession) BalanceOf(arg0 common.Address, arg1 *big.Int) (*big.Int, error) {
  686. return _IMetaRareERC1155Collection.Contract.BalanceOf(&_IMetaRareERC1155Collection.CallOpts, arg0, arg1)
  687. }
  688. // BalanceOf is a free data retrieval call binding the contract method 0x00fdd58e.
  689. //
  690. // Solidity: function balanceOf(address , uint256 ) view returns(uint256)
  691. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionCallerSession) BalanceOf(arg0 common.Address, arg1 *big.Int) (*big.Int, error) {
  692. return _IMetaRareERC1155Collection.Contract.BalanceOf(&_IMetaRareERC1155Collection.CallOpts, arg0, arg1)
  693. }
  694. // Exists is a free data retrieval call binding the contract method 0x4f558e79.
  695. //
  696. // Solidity: function exists(uint256 ) view returns(bool)
  697. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionCaller) Exists(opts *bind.CallOpts, arg0 *big.Int) (bool, error) {
  698. var out []interface{}
  699. err := _IMetaRareERC1155Collection.contract.Call(opts, &out, "exists", arg0)
  700. if err != nil {
  701. return *new(bool), err
  702. }
  703. out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
  704. return out0, err
  705. }
  706. // Exists is a free data retrieval call binding the contract method 0x4f558e79.
  707. //
  708. // Solidity: function exists(uint256 ) view returns(bool)
  709. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionSession) Exists(arg0 *big.Int) (bool, error) {
  710. return _IMetaRareERC1155Collection.Contract.Exists(&_IMetaRareERC1155Collection.CallOpts, arg0)
  711. }
  712. // Exists is a free data retrieval call binding the contract method 0x4f558e79.
  713. //
  714. // Solidity: function exists(uint256 ) view returns(bool)
  715. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionCallerSession) Exists(arg0 *big.Int) (bool, error) {
  716. return _IMetaRareERC1155Collection.Contract.Exists(&_IMetaRareERC1155Collection.CallOpts, arg0)
  717. }
  718. // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
  719. //
  720. // Solidity: function owner() view returns(address)
  721. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionCaller) Owner(opts *bind.CallOpts) (common.Address, error) {
  722. var out []interface{}
  723. err := _IMetaRareERC1155Collection.contract.Call(opts, &out, "owner")
  724. if err != nil {
  725. return *new(common.Address), err
  726. }
  727. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
  728. return out0, err
  729. }
  730. // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
  731. //
  732. // Solidity: function owner() view returns(address)
  733. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionSession) Owner() (common.Address, error) {
  734. return _IMetaRareERC1155Collection.Contract.Owner(&_IMetaRareERC1155Collection.CallOpts)
  735. }
  736. // Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
  737. //
  738. // Solidity: function owner() view returns(address)
  739. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionCallerSession) Owner() (common.Address, error) {
  740. return _IMetaRareERC1155Collection.Contract.Owner(&_IMetaRareERC1155Collection.CallOpts)
  741. }
  742. // CreateByOperator is a paid mutator transaction binding the contract method 0x61321c14.
  743. //
  744. // Solidity: function createByOperator(address , uint256 , uint256 , string , bytes ) returns(uint256)
  745. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactor) CreateByOperator(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 string, arg4 []byte) (*types.Transaction, error) {
  746. return _IMetaRareERC1155Collection.contract.Transact(opts, "createByOperator", arg0, arg1, arg2, arg3, arg4)
  747. }
  748. // CreateByOperator is a paid mutator transaction binding the contract method 0x61321c14.
  749. //
  750. // Solidity: function createByOperator(address , uint256 , uint256 , string , bytes ) returns(uint256)
  751. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionSession) CreateByOperator(arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 string, arg4 []byte) (*types.Transaction, error) {
  752. return _IMetaRareERC1155Collection.Contract.CreateByOperator(&_IMetaRareERC1155Collection.TransactOpts, arg0, arg1, arg2, arg3, arg4)
  753. }
  754. // CreateByOperator is a paid mutator transaction binding the contract method 0x61321c14.
  755. //
  756. // Solidity: function createByOperator(address , uint256 , uint256 , string , bytes ) returns(uint256)
  757. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactorSession) CreateByOperator(arg0 common.Address, arg1 *big.Int, arg2 *big.Int, arg3 string, arg4 []byte) (*types.Transaction, error) {
  758. return _IMetaRareERC1155Collection.Contract.CreateByOperator(&_IMetaRareERC1155Collection.TransactOpts, arg0, arg1, arg2, arg3, arg4)
  759. }
  760. // SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
  761. //
  762. // Solidity: function safeTransferFrom(address , address , uint256 , uint256 , bytes ) returns()
  763. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactor) SafeTransferFrom(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error) {
  764. return _IMetaRareERC1155Collection.contract.Transact(opts, "safeTransferFrom", arg0, arg1, arg2, arg3, arg4)
  765. }
  766. // SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
  767. //
  768. // Solidity: function safeTransferFrom(address , address , uint256 , uint256 , bytes ) returns()
  769. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionSession) SafeTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error) {
  770. return _IMetaRareERC1155Collection.Contract.SafeTransferFrom(&_IMetaRareERC1155Collection.TransactOpts, arg0, arg1, arg2, arg3, arg4)
  771. }
  772. // SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.
  773. //
  774. // Solidity: function safeTransferFrom(address , address , uint256 , uint256 , bytes ) returns()
  775. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactorSession) SafeTransferFrom(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error) {
  776. return _IMetaRareERC1155Collection.Contract.SafeTransferFrom(&_IMetaRareERC1155Collection.TransactOpts, arg0, arg1, arg2, arg3, arg4)
  777. }
  778. // TransferOnlyOperator is a paid mutator transaction binding the contract method 0x7c7ae4d1.
  779. //
  780. // Solidity: function transferOnlyOperator(address , address , uint256 , uint256 ) returns()
  781. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactor) TransferOnlyOperator(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (*types.Transaction, error) {
  782. return _IMetaRareERC1155Collection.contract.Transact(opts, "transferOnlyOperator", arg0, arg1, arg2, arg3)
  783. }
  784. // TransferOnlyOperator is a paid mutator transaction binding the contract method 0x7c7ae4d1.
  785. //
  786. // Solidity: function transferOnlyOperator(address , address , uint256 , uint256 ) returns()
  787. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionSession) TransferOnlyOperator(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (*types.Transaction, error) {
  788. return _IMetaRareERC1155Collection.Contract.TransferOnlyOperator(&_IMetaRareERC1155Collection.TransactOpts, arg0, arg1, arg2, arg3)
  789. }
  790. // TransferOnlyOperator is a paid mutator transaction binding the contract method 0x7c7ae4d1.
  791. //
  792. // Solidity: function transferOnlyOperator(address , address , uint256 , uint256 ) returns()
  793. func (_IMetaRareERC1155Collection *IMetaRareERC1155CollectionTransactorSession) TransferOnlyOperator(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int) (*types.Transaction, error) {
  794. return _IMetaRareERC1155Collection.Contract.TransferOnlyOperator(&_IMetaRareERC1155Collection.TransactOpts, arg0, arg1, arg2, arg3)
  795. }
  796. // IMetaRareERC721CollectionMetaData contains all meta data concerning the IMetaRareERC721Collection contract.
  797. var IMetaRareERC721CollectionMetaData = &bind.MetaData{
  798. ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"transferOnlyOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
  799. Sigs: map[string]string{
  800. "91d14854": "hasRole(bytes32,address)",
  801. "40c10f19": "mint(address,uint256)",
  802. "6352211e": "ownerOf(uint256)",
  803. "23b872dd": "transferFrom(address,address,uint256)",
  804. "5145dc57": "transferOnlyOperator(address,address,uint256)",
  805. },
  806. }
  807. // IMetaRareERC721CollectionABI is the input ABI used to generate the binding from.
  808. // Deprecated: Use IMetaRareERC721CollectionMetaData.ABI instead.
  809. var IMetaRareERC721CollectionABI = IMetaRareERC721CollectionMetaData.ABI
  810. // Deprecated: Use IMetaRareERC721CollectionMetaData.Sigs instead.
  811. // IMetaRareERC721CollectionFuncSigs maps the 4-byte function signature to its string representation.
  812. var IMetaRareERC721CollectionFuncSigs = IMetaRareERC721CollectionMetaData.Sigs
  813. // IMetaRareERC721Collection is an auto generated Go binding around an Ethereum contract.
  814. type IMetaRareERC721Collection struct {
  815. IMetaRareERC721CollectionCaller // Read-only binding to the contract
  816. IMetaRareERC721CollectionTransactor // Write-only binding to the contract
  817. IMetaRareERC721CollectionFilterer // Log filterer for contract events
  818. }
  819. // IMetaRareERC721CollectionCaller is an auto generated read-only Go binding around an Ethereum contract.
  820. type IMetaRareERC721CollectionCaller struct {
  821. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  822. }
  823. // IMetaRareERC721CollectionTransactor is an auto generated write-only Go binding around an Ethereum contract.
  824. type IMetaRareERC721CollectionTransactor struct {
  825. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  826. }
  827. // IMetaRareERC721CollectionFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
  828. type IMetaRareERC721CollectionFilterer struct {
  829. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  830. }
  831. // IMetaRareERC721CollectionSession is an auto generated Go binding around an Ethereum contract,
  832. // with pre-set call and transact options.
  833. type IMetaRareERC721CollectionSession struct {
  834. Contract *IMetaRareERC721Collection // Generic contract binding to set the session for
  835. CallOpts bind.CallOpts // Call options to use throughout this session
  836. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  837. }
  838. // IMetaRareERC721CollectionCallerSession is an auto generated read-only Go binding around an Ethereum contract,
  839. // with pre-set call options.
  840. type IMetaRareERC721CollectionCallerSession struct {
  841. Contract *IMetaRareERC721CollectionCaller // Generic contract caller binding to set the session for
  842. CallOpts bind.CallOpts // Call options to use throughout this session
  843. }
  844. // IMetaRareERC721CollectionTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  845. // with pre-set transact options.
  846. type IMetaRareERC721CollectionTransactorSession struct {
  847. Contract *IMetaRareERC721CollectionTransactor // Generic contract transactor binding to set the session for
  848. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  849. }
  850. // IMetaRareERC721CollectionRaw is an auto generated low-level Go binding around an Ethereum contract.
  851. type IMetaRareERC721CollectionRaw struct {
  852. Contract *IMetaRareERC721Collection // Generic contract binding to access the raw methods on
  853. }
  854. // IMetaRareERC721CollectionCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  855. type IMetaRareERC721CollectionCallerRaw struct {
  856. Contract *IMetaRareERC721CollectionCaller // Generic read-only contract binding to access the raw methods on
  857. }
  858. // IMetaRareERC721CollectionTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  859. type IMetaRareERC721CollectionTransactorRaw struct {
  860. Contract *IMetaRareERC721CollectionTransactor // Generic write-only contract binding to access the raw methods on
  861. }
  862. // NewIMetaRareERC721Collection creates a new instance of IMetaRareERC721Collection, bound to a specific deployed contract.
  863. func NewIMetaRareERC721Collection(address common.Address, backend bind.ContractBackend) (*IMetaRareERC721Collection, error) {
  864. contract, err := bindIMetaRareERC721Collection(address, backend, backend, backend)
  865. if err != nil {
  866. return nil, err
  867. }
  868. return &IMetaRareERC721Collection{IMetaRareERC721CollectionCaller: IMetaRareERC721CollectionCaller{contract: contract}, IMetaRareERC721CollectionTransactor: IMetaRareERC721CollectionTransactor{contract: contract}, IMetaRareERC721CollectionFilterer: IMetaRareERC721CollectionFilterer{contract: contract}}, nil
  869. }
  870. // NewIMetaRareERC721CollectionCaller creates a new read-only instance of IMetaRareERC721Collection, bound to a specific deployed contract.
  871. func NewIMetaRareERC721CollectionCaller(address common.Address, caller bind.ContractCaller) (*IMetaRareERC721CollectionCaller, error) {
  872. contract, err := bindIMetaRareERC721Collection(address, caller, nil, nil)
  873. if err != nil {
  874. return nil, err
  875. }
  876. return &IMetaRareERC721CollectionCaller{contract: contract}, nil
  877. }
  878. // NewIMetaRareERC721CollectionTransactor creates a new write-only instance of IMetaRareERC721Collection, bound to a specific deployed contract.
  879. func NewIMetaRareERC721CollectionTransactor(address common.Address, transactor bind.ContractTransactor) (*IMetaRareERC721CollectionTransactor, error) {
  880. contract, err := bindIMetaRareERC721Collection(address, nil, transactor, nil)
  881. if err != nil {
  882. return nil, err
  883. }
  884. return &IMetaRareERC721CollectionTransactor{contract: contract}, nil
  885. }
  886. // NewIMetaRareERC721CollectionFilterer creates a new log filterer instance of IMetaRareERC721Collection, bound to a specific deployed contract.
  887. func NewIMetaRareERC721CollectionFilterer(address common.Address, filterer bind.ContractFilterer) (*IMetaRareERC721CollectionFilterer, error) {
  888. contract, err := bindIMetaRareERC721Collection(address, nil, nil, filterer)
  889. if err != nil {
  890. return nil, err
  891. }
  892. return &IMetaRareERC721CollectionFilterer{contract: contract}, nil
  893. }
  894. // bindIMetaRareERC721Collection binds a generic wrapper to an already deployed contract.
  895. func bindIMetaRareERC721Collection(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  896. parsed, err := abi.JSON(strings.NewReader(IMetaRareERC721CollectionABI))
  897. if err != nil {
  898. return nil, err
  899. }
  900. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  901. }
  902. // Call invokes the (constant) contract method with params as input values and
  903. // sets the output to result. The result type might be a single field for simple
  904. // returns, a slice of interfaces for anonymous returns and a struct for named
  905. // returns.
  906. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  907. return _IMetaRareERC721Collection.Contract.IMetaRareERC721CollectionCaller.contract.Call(opts, result, method, params...)
  908. }
  909. // Transfer initiates a plain transaction to move funds to the contract, calling
  910. // its default method if one is available.
  911. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  912. return _IMetaRareERC721Collection.Contract.IMetaRareERC721CollectionTransactor.contract.Transfer(opts)
  913. }
  914. // Transact invokes the (paid) contract method with params as input values.
  915. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  916. return _IMetaRareERC721Collection.Contract.IMetaRareERC721CollectionTransactor.contract.Transact(opts, method, params...)
  917. }
  918. // Call invokes the (constant) contract method with params as input values and
  919. // sets the output to result. The result type might be a single field for simple
  920. // returns, a slice of interfaces for anonymous returns and a struct for named
  921. // returns.
  922. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  923. return _IMetaRareERC721Collection.Contract.contract.Call(opts, result, method, params...)
  924. }
  925. // Transfer initiates a plain transaction to move funds to the contract, calling
  926. // its default method if one is available.
  927. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  928. return _IMetaRareERC721Collection.Contract.contract.Transfer(opts)
  929. }
  930. // Transact invokes the (paid) contract method with params as input values.
  931. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  932. return _IMetaRareERC721Collection.Contract.contract.Transact(opts, method, params...)
  933. }
  934. // HasRole is a free data retrieval call binding the contract method 0x91d14854.
  935. //
  936. // Solidity: function hasRole(bytes32 , address ) view returns(bool)
  937. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionCaller) HasRole(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (bool, error) {
  938. var out []interface{}
  939. err := _IMetaRareERC721Collection.contract.Call(opts, &out, "hasRole", arg0, arg1)
  940. if err != nil {
  941. return *new(bool), err
  942. }
  943. out0 := *abi.ConvertType(out[0], new(bool)).(*bool)
  944. return out0, err
  945. }
  946. // HasRole is a free data retrieval call binding the contract method 0x91d14854.
  947. //
  948. // Solidity: function hasRole(bytes32 , address ) view returns(bool)
  949. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionSession) HasRole(arg0 [32]byte, arg1 common.Address) (bool, error) {
  950. return _IMetaRareERC721Collection.Contract.HasRole(&_IMetaRareERC721Collection.CallOpts, arg0, arg1)
  951. }
  952. // HasRole is a free data retrieval call binding the contract method 0x91d14854.
  953. //
  954. // Solidity: function hasRole(bytes32 , address ) view returns(bool)
  955. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionCallerSession) HasRole(arg0 [32]byte, arg1 common.Address) (bool, error) {
  956. return _IMetaRareERC721Collection.Contract.HasRole(&_IMetaRareERC721Collection.CallOpts, arg0, arg1)
  957. }
  958. // OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
  959. //
  960. // Solidity: function ownerOf(uint256 tokenId) view returns(address)
  961. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error) {
  962. var out []interface{}
  963. err := _IMetaRareERC721Collection.contract.Call(opts, &out, "ownerOf", tokenId)
  964. if err != nil {
  965. return *new(common.Address), err
  966. }
  967. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
  968. return out0, err
  969. }
  970. // OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
  971. //
  972. // Solidity: function ownerOf(uint256 tokenId) view returns(address)
  973. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionSession) OwnerOf(tokenId *big.Int) (common.Address, error) {
  974. return _IMetaRareERC721Collection.Contract.OwnerOf(&_IMetaRareERC721Collection.CallOpts, tokenId)
  975. }
  976. // OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
  977. //
  978. // Solidity: function ownerOf(uint256 tokenId) view returns(address)
  979. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error) {
  980. return _IMetaRareERC721Collection.Contract.OwnerOf(&_IMetaRareERC721Collection.CallOpts, tokenId)
  981. }
  982. // Mint is a paid mutator transaction binding the contract method 0x40c10f19.
  983. //
  984. // Solidity: function mint(address , uint256 ) returns()
  985. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactor) Mint(opts *bind.TransactOpts, arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) {
  986. return _IMetaRareERC721Collection.contract.Transact(opts, "mint", arg0, arg1)
  987. }
  988. // Mint is a paid mutator transaction binding the contract method 0x40c10f19.
  989. //
  990. // Solidity: function mint(address , uint256 ) returns()
  991. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionSession) Mint(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) {
  992. return _IMetaRareERC721Collection.Contract.Mint(&_IMetaRareERC721Collection.TransactOpts, arg0, arg1)
  993. }
  994. // Mint is a paid mutator transaction binding the contract method 0x40c10f19.
  995. //
  996. // Solidity: function mint(address , uint256 ) returns()
  997. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactorSession) Mint(arg0 common.Address, arg1 *big.Int) (*types.Transaction, error) {
  998. return _IMetaRareERC721Collection.Contract.Mint(&_IMetaRareERC721Collection.TransactOpts, arg0, arg1)
  999. }
  1000. // TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
  1001. //
  1002. // Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
  1003. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error) {
  1004. return _IMetaRareERC721Collection.contract.Transact(opts, "transferFrom", from, to, tokenId)
  1005. }
  1006. // TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
  1007. //
  1008. // Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
  1009. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error) {
  1010. return _IMetaRareERC721Collection.Contract.TransferFrom(&_IMetaRareERC721Collection.TransactOpts, from, to, tokenId)
  1011. }
  1012. // TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
  1013. //
  1014. // Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
  1015. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error) {
  1016. return _IMetaRareERC721Collection.Contract.TransferFrom(&_IMetaRareERC721Collection.TransactOpts, from, to, tokenId)
  1017. }
  1018. // TransferOnlyOperator is a paid mutator transaction binding the contract method 0x5145dc57.
  1019. //
  1020. // Solidity: function transferOnlyOperator(address , address , uint256 ) returns()
  1021. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactor) TransferOnlyOperator(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error) {
  1022. return _IMetaRareERC721Collection.contract.Transact(opts, "transferOnlyOperator", arg0, arg1, arg2)
  1023. }
  1024. // TransferOnlyOperator is a paid mutator transaction binding the contract method 0x5145dc57.
  1025. //
  1026. // Solidity: function transferOnlyOperator(address , address , uint256 ) returns()
  1027. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionSession) TransferOnlyOperator(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error) {
  1028. return _IMetaRareERC721Collection.Contract.TransferOnlyOperator(&_IMetaRareERC721Collection.TransactOpts, arg0, arg1, arg2)
  1029. }
  1030. // TransferOnlyOperator is a paid mutator transaction binding the contract method 0x5145dc57.
  1031. //
  1032. // Solidity: function transferOnlyOperator(address , address , uint256 ) returns()
  1033. func (_IMetaRareERC721Collection *IMetaRareERC721CollectionTransactorSession) TransferOnlyOperator(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (*types.Transaction, error) {
  1034. return _IMetaRareERC721Collection.Contract.TransferOnlyOperator(&_IMetaRareERC721Collection.TransactOpts, arg0, arg1, arg2)
  1035. }
  1036. // MetaRareOperatorMetaData contains all meta data concerning the MetaRareOperator contract.
  1037. var MetaRareOperatorMetaData = &bind.MetaData{
  1038. ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"creationTaxRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"creators\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"creatorsWithinCollection\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationTax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"treasuryTax\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"treasuryAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"internalType\":\"structMetaRareOperator.NFTVoucher\",\"name\":\"voucher\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"excuteMintingOrderWithERC1155Collection\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationTax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"treasuryTax\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"treasuryAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"internalType\":\"structMetaRareOperator.NFTVoucher\",\"name\":\"voucher\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"excuteMintingOrderWithERC1155MetaRareCollection\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationTax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"treasuryTax\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"treasuryAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"internalType\":\"structMetaRareOperator.NFTVoucher\",\"name\":\"voucher\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"excuteMintingOrderWithERC721Collection\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationTax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"treasuryTax\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"treasuryAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"internalType\":\"structMetaRareOperator.NFTVoucher\",\"name\":\"voucher\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"excuteMintingOrderWithERC721MetaRareCollection\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationTax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"treasuryTax\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"treasuryAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"internalType\":\"structMetaRareOperator.NFTVoucher\",\"name\":\"voucher\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"excuteTransferOrderWithERC1155Collection\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"creationTax\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"treasuryTax\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"treasuryAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"internalType\":\"structMetaRareOperator.NFTVoucher\",\"name\":\"voucher\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"hash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"excuteTransferOrderWithERC721Collection\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"msgHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"recoverAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
  1039. Sigs: map[string]string{
  1040. "a217fddf": "DEFAULT_ADMIN_ROLE()",
  1041. "d5391393": "MINTER_ROLE()",
  1042. "5ac3ac45": "creationTaxRate(address,uint256)",
  1043. "cd53d08e": "creators(uint256)",
  1044. "0370a7a2": "creatorsWithinCollection(address,uint256)",
  1045. "b2381e3d": "excuteMintingOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string),bytes32,uint8,bytes32,bytes32)",
  1046. "33bd3379": "excuteMintingOrderWithERC1155MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string),bytes32,uint8,bytes32,bytes32)",
  1047. "6104c09b": "excuteMintingOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string),bytes32,uint8,bytes32,bytes32)",
  1048. "1f247a2f": "excuteMintingOrderWithERC721MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string),bytes32,uint8,bytes32,bytes32)",
  1049. "03b5b423": "excuteTransferOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string),bytes32,uint8,bytes32,bytes32)",
  1050. "ec938286": "excuteTransferOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string),bytes32,uint8,bytes32,bytes32)",
  1051. "8428cf83": "recoverAddress(bytes32,uint8,bytes32,bytes32)",
  1052. },
  1053. Bin: "0x61014060405234801561001157600080fd5b5060408051808201825260088152674d4554415241524560c01b6020808301918252835180850190945260018452603160f81b908401528151902060e08190527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66101008190524660a0529192917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6100ab8184846100c3565b6080523060601b60c052610120525061012992505050565b600083838346306040516020016100de9594939291906100fd565b6040516020818303038152906040528051906020012090509392505050565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b60805160a05160c05160601c60e05161010051610120516122fd6200016a6000396000505060005050600050506000505060005050600050506122fd6000f3fe6080604052600436106100a75760003560e01c80638428cf83116100645780638428cf831461015d578063a217fddf1461017d578063b2381e3d14610192578063cd53d08e146101a5578063d5391393146101c5578063ec938286146101da576100a7565b80630370a7a2146100ac57806303b5b423146100e25780631f247a2f146100f757806333bd33791461010a5780635ac3ac451461011d5780636104c09b1461014a575b600080fd5b3480156100b857600080fd5b506100cc6100c7366004611ef7565b6101ed565b6040516100d99190612018565b60405180910390f35b6100f56100f0366004611f7c565b610213565b005b6100f5610105366004611f7c565b61087a565b6100f5610118366004611f7c565b610d0a565b34801561012957600080fd5b5061013d610138366004611ef7565b61133c565b6040516100d9919061212b565b6100f5610158366004611f7c565b611359565b34801561016957600080fd5b506100cc610178366004611f42565b6115a5565b34801561018957600080fd5b5061013d611600565b6100f56101a0366004611f7c565b611605565b3480156101b157600080fd5b506100cc6101c0366004611fe8565b61183a565b3480156101d157600080fd5b5061013d611855565b6100f56101e8366004611f7c565b611879565b60016020908152600092835260408084209091529082529020546001600160a01b031681565b6000610221858585856115a5565b90506102306020870187611ebf565b6001600160a01b0316816001600160a01b0316146102695760405162461bcd60e51b81526004016102609061218b565b60405180910390fd5b61027b61016087016101408801611ebf565b600380546001600160a01b0319166001600160a01b039290921691909117905560006102ad6040880160208901611ebf565b604051627eeac760e11b8152909150819060c0890135906001600160a01b0383169062fdd58e906102e890879060608e0135906004016120b1565b60206040518083038186803b15801561030057600080fd5b505afa158015610314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103389190612000565b10156103565760405162461bcd60e51b8152600401610260906121b6565b600061036860a08a0160808b01611ebf565b6001600160a01b031614156104f9578760a0013534101561039b5760405162461bcd60e51b815260040161026090612169565b8260006001816103b160408d0160208e01611ebf565b6001600160a01b0390811682526020808301939093526040918201600090812060608f01358252909352908220541691506104016127106103fb60a08e01356101208f0135611e7e565b90611e91565b905060008b60a00135905061042a6127106103fb8e610100013584611e7e90919063ffffffff16565b905060a08c01356104458261043f8386611e9d565b90611e9d565b6003546040519192506001600160a01b03169084156108fc029085906000818181858888f19350505050158015610480573d6000803e3d6000fd5b506040516001600160a01b0385169083156108fc029084906000818181858888f193505050501580156104b7573d6000803e3d6000fd5b506040516001600160a01b0386169082156108fc029083906000818181858888f193505050501580156104ee573d6000803e3d6000fd5b505050505050610804565b600061050b60a08a0160808b01611ebf565b90508860a00135816001600160a01b03166370a08231336040518263ffffffff1660e01b815260040161053e9190612018565b60206040518083038186803b15801561055657600080fd5b505afa15801561056a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058e9190612000565b10156105ac5760405162461bcd60e51b815260040161026090612169565b60006105c76127106103fb60a08d01356101208e0135611e7e565b905060006105e46127106103fb60a08e01356101008f0135611e7e565b905060006105fa8261043f60a08f013586611e9d565b90506000600160008e60200160208101906106159190611ebf565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008e60600135815260200190815260200160002060009054906101000a90046001600160a01b03169050846001600160a01b03166323b872dd33600360009054906101000a90046001600160a01b0316876040518463ffffffff1660e01b81526004016106a59392919061202c565b602060405180830381600087803b1580156106bf57600080fd5b505af11580156106d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f79190611f22565b506040516323b872dd60e01b81526001600160a01b038616906323b872dd906107289033908590889060040161202c565b602060405180830381600087803b15801561074257600080fd5b505af1158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190611f22565b506040516323b872dd60e01b81526001600160a01b038616906323b872dd906107ab9033908c90879060040161202c565b602060405180830381600087803b1580156107c557600080fd5b505af11580156107d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fd9190611f22565b5050505050505b604051637c7ae4d160e01b81526001600160a01b03821690637c7ae4d19061083e908690339060608e01359060c08f013590600401612050565b600060405180830381600087803b15801561085857600080fd5b505af115801561086c573d6000803e3d6000fd5b505050505050505050505050565b6000610888858585856115a5565b90506108976020870187611ebf565b6001600160a01b0316816001600160a01b0316146108c75760405162461bcd60e51b81526004016102609061218b565b606086013560009081526020818152604080832080546001600160a01b0319166001600160a01b0386811691909117918290551692600192909161091091908b01908b01611ebf565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008860600135815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550856101000135600260008860200160208101906109869190611ebf565b6001600160a01b031681526020808201929092526040908101600090812060608b013582529092529020556109c361016087016101408801611ebf565b600380546001600160a01b0319166001600160a01b039290921691909117905560006109f56040880160208901611ebf565b9050806000610a0a60a08a0160808b01611ebf565b6001600160a01b03161415610ae6578760a00135341015610a3d5760405162461bcd60e51b815260040161026090612169565b826000610a596127106103fb60a08d01356101208e0135611e7e565b90506000610a6b60a08c013583611e9d565b6003546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015610aa6573d6000803e3d6000fd5b506040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610add573d6000803e3d6000fd5b50505050610cd8565b6000610af860a08a0160808b01611ebf565b90508860a00135816001600160a01b03166370a08231336040518263ffffffff1660e01b8152600401610b2b9190612018565b60206040518083038186803b158015610b4357600080fd5b505afa158015610b57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7b9190612000565b1015610b995760405162461bcd60e51b815260040161026090612169565b6000610bb46127106103fb60a08d01356101208e0135611e7e565b90506000610bc660a08c013583611e9d565b6003546040516323b872dd60e01b81529192506001600160a01b03808616926323b872dd92610bfe923392911690879060040161202c565b602060405180830381600087803b158015610c1857600080fd5b505af1158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190611f22565b506040516323b872dd60e01b81526001600160a01b038416906323b872dd90610c819033908a90869060040161202c565b602060405180830381600087803b158015610c9b57600080fd5b505af1158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd39190611f22565b505050505b6040516340c10f1960e01b81526001600160a01b038216906340c10f199061083e90339060608d0135906004016120b1565b6000610d18858585856115a5565b9050610d276020870187611ebf565b6001600160a01b0316816001600160a01b031614610d575760405162461bcd60e51b81526004016102609061218b565b606086013560009081526020818152604080832080546001600160a01b0319166001600160a01b03868116919091179182905516926001929091610da091908b01908b01611ebf565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008860600135815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555085610100013560026000886020016020810190610e169190611ebf565b6001600160a01b031681526020808201929092526040908101600090812060608b01358252909252902055610e5361016087016101408801611ebf565b600380546001600160a01b0319166001600160a01b03929092169190911790556000610e856040880160208901611ebf565b9050806000610e9a60a08a0160808b01611ebf565b6001600160a01b03161415610f76578760a00135341015610ecd5760405162461bcd60e51b815260040161026090612169565b826000610ee96127106103fb60a08d01356101208e0135611e7e565b90506000610efb60a08c013583611e9d565b6003546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015610f36573d6000803e3d6000fd5b506040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015610f6d573d6000803e3d6000fd5b50505050611168565b6000610f8860a08a0160808b01611ebf565b90508860a00135816001600160a01b03166370a08231336040518263ffffffff1660e01b8152600401610fbb9190612018565b60206040518083038186803b158015610fd357600080fd5b505afa158015610fe7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100b9190612000565b10156110295760405162461bcd60e51b815260040161026090612169565b60006110446127106103fb60a08d01356101208e0135611e7e565b9050600061105660a08c013583611e9d565b6003546040516323b872dd60e01b81529192506001600160a01b03808616926323b872dd9261108e923392911690879060040161202c565b602060405180830381600087803b1580156110a857600080fd5b505af11580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190611f22565b506040516323b872dd60e01b81526001600160a01b038416906323b872dd906111119033908a90869060040161202c565b602060405180830381600087803b15801561112b57600080fd5b505af115801561113f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111639190611f22565b505050505b604051634f558e7960e01b81526001600160a01b03821690634f558e79906111989060608c01359060040161212b565b60206040518083038186803b1580156111b057600080fd5b505afa1580156111c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e89190611f22565b6112f8576001600160a01b0381166361321c148460608b013560e08c01356112146101608e018e6121f7565b6040518663ffffffff1660e01b81526004016112349594939291906120ca565b602060405180830381600087803b15801561124e57600080fd5b505af1158015611262573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112869190612000565b50604051637921219560e11b81526001600160a01b0382169063f242432a906112c1908690339060608e01359060c08f013590600401612079565b600060405180830381600087803b1580156112db57600080fd5b505af11580156112ef573d6000803e3d6000fd5b50505050611332565b604051637921219560e11b81526001600160a01b0382169063f242432a9061083e908690339060608e01359060c08f013590600401612079565b5050505050505050565b600260209081526000928352604080842090915290825290205481565b6000611367858585856115a5565b90506113766020870187611ebf565b6001600160a01b0316816001600160a01b0316146113a65760405162461bcd60e51b81526004016102609061218b565b606086013560009081526020818152604080832080546001600160a01b0319166001600160a01b038681169190911791829055169260019290916113ef91908b01908b01611ebf565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008860600135815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550856101000135600260008860200160208101906114659190611ebf565b6001600160a01b031681526020808201929092526040908101600090812060608b013582529092529020556114a261016087016101408801611ebf565b600380546001600160a01b0319166001600160a01b039290921691909117905560006114d46040880160208901611ebf565b604051632474521560e21b815290915081906001600160a01b038216906391d1485490611527907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6908790600401612134565b60206040518083038186803b15801561153f57600080fd5b505afa158015611553573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115779190611f22565b6115935760405162461bcd60e51b8152600401610260906121b6565b6000610a0a60a08a0160808b01611ebf565b6000600185858585604051600081526020016040526040516115ca949392919061214b565b6020604051602081039080840390855afa1580156115ec573d6000803e3d6000fd5b5050604051601f1901519695505050505050565b600081565b6000611613858585856115a5565b90506116226020870187611ebf565b6001600160a01b0316816001600160a01b0316146116525760405162461bcd60e51b81526004016102609061218b565b606086013560009081526020818152604080832080546001600160a01b0319166001600160a01b0386811691909117918290551692600192909161169b91908b01908b01611ebf565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008860600135815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550856101000135600260008860200160208101906117119190611ebf565b6001600160a01b031681526020808201929092526040908101600090812060608b0135825290925290205561174e61016087016101408801611ebf565b600380546001600160a01b0319166001600160a01b039290921691909117905560006117806040880160208901611ebf565b90506000819050826001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156117ca57600080fd5b505afa1580156117de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118029190611edb565b6001600160a01b0316146118285760405162461bcd60e51b8152600401610260906121b6565b6000610e9a60a08a0160808b01611ebf565b6000602081905290815260409020546001600160a01b031681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6000611887858585856115a5565b90506118966020870187611ebf565b6001600160a01b0316816001600160a01b0316146118c65760405162461bcd60e51b81526004016102609061218b565b6118d861016087016101408801611ebf565b600380546001600160a01b0319166001600160a01b0392909216919091179055600061190a6040880160208901611ebf565b6040516331a9108f60e11b815290915081906001600160a01b038085169190831690636352211e906119449060608d01359060040161212b565b60206040518083038186803b15801561195c57600080fd5b505afa158015611970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119949190611edb565b6001600160a01b0316146119ba5760405162461bcd60e51b8152600401610260906121b6565b60006119cc60a08a0160808b01611ebf565b6001600160a01b03161415611b4e578760a001353410156119ff5760405162461bcd60e51b815260040161026090612169565b826000600181611a1560408d0160208e01611ebf565b6001600160a01b0390811682526020808301939093526040918201600090812060608f0135825290935290822054169150611a5f6127106103fb60a08e01356101208f0135611e7e565b90506000611a856127106103fb8e61010001358f60a00135611e7e90919063ffffffff16565b905060a08c0135611a9a8261043f8386611e9d565b6003546040519192506001600160a01b03169084156108fc029085906000818181858888f19350505050158015611ad5573d6000803e3d6000fd5b506040516001600160a01b0385169083156108fc029084906000818181858888f19350505050158015611b0c573d6000803e3d6000fd5b506040516001600160a01b0386169082156108fc029083906000818181858888f19350505050158015611b43573d6000803e3d6000fd5b505050505050611e4a565b6000611b6060a08a0160808b01611ebf565b90508860a00135816001600160a01b03166370a08231336040518263ffffffff1660e01b8152600401611b939190612018565b60206040518083038186803b158015611bab57600080fd5b505afa158015611bbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be39190612000565b1015611c015760405162461bcd60e51b815260040161026090612169565b6000611c1c6127106103fb60a08d01356101208e0135611e7e565b90506000611c396127106103fb60a08e01356101008f0135611e7e565b90506000611c4f8261043f60a08f013586611e9d565b6003546040516323b872dd60e01b81529192506001600160a01b03808716926323b872dd92611c87923392911690889060040161202c565b602060405180830381600087803b158015611ca157600080fd5b505af1158015611cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd99190611f22565b506000600160008e6020016020810190611cf39190611ebf565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008e60600135815260200190815260200160002060009054906101000a90046001600160a01b03169050846001600160a01b03166323b872dd3383866040518463ffffffff1660e01b8152600401611d6e9392919061202c565b602060405180830381600087803b158015611d8857600080fd5b505af1158015611d9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc09190611f22565b506040516323b872dd60e01b81526001600160a01b038616906323b872dd90611df19033908c90879060040161202c565b602060405180830381600087803b158015611e0b57600080fd5b505af1158015611e1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e439190611f22565b5050505050505b604051635145dc5760e01b81526001600160a01b03821690635145dc579061083e908690339060608e01359060040161202c565b6000611e8a8284612263565b9392505050565b6000611e8a8284612243565b6000611e8a8284612282565b803560ff81168114611eba57600080fd5b919050565b600060208284031215611ed0578081fd5b8135611e8a816122af565b600060208284031215611eec578081fd5b8151611e8a816122af565b60008060408385031215611f09578081fd5b8235611f14816122af565b946020939093013593505050565b600060208284031215611f33578081fd5b81518015158114611e8a578182fd5b60008060008060808587031215611f57578182fd5b84359350611f6760208601611ea9565b93969395505050506040820135916060013590565b600080600080600060a08688031215611f93578081fd5b853567ffffffffffffffff811115611fa9578182fd5b86016101808189031215611fbb578182fd5b945060208601359350611fd060408701611ea9565b94979396509394606081013594506080013592915050565b600060208284031215611ff9578081fd5b5035919050565b600060208284031215612011578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b6001600160a01b03929092168252602082015260400190565b600060018060a01b038716825285602083015284604083015260a060608301528260a0830152828460c08401378060c08484010152601f19601f840116820160c08382030160808401528160c082015260e081019150509695505050505050565b90815260200190565b9182526001600160a01b0316602082015260400190565b93845260ff9290921660208401526040830152606082015260800190565b6020808252600890820152674e6f206d6f6e657960c01b604082015260600190565b602080825260119082015270496e76616c6964207369676e617475726560781b604082015260600190565b60208082526021908201527f5369676e617475726520696e76616c6964206f7220756e617574686f72697a656040820152601960fa1b606082015260800190565b6000808335601e1984360301811261220d578283fd5b83018035915067ffffffffffffffff821115612227578283fd5b60200191503681900382131561223c57600080fd5b9250929050565b60008261225e57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561227d5761227d612299565b500290565b60008282101561229457612294612299565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146122c457600080fd5b5056fea26469706673582212204d544963f58a467c293a895508e8d68efe851ff78b519b05a6a5aae62f36a55964736f6c63430008000033",
  1054. }
  1055. // MetaRareOperatorABI is the input ABI used to generate the binding from.
  1056. // Deprecated: Use MetaRareOperatorMetaData.ABI instead.
  1057. var MetaRareOperatorABI = MetaRareOperatorMetaData.ABI
  1058. // Deprecated: Use MetaRareOperatorMetaData.Sigs instead.
  1059. // MetaRareOperatorFuncSigs maps the 4-byte function signature to its string representation.
  1060. var MetaRareOperatorFuncSigs = MetaRareOperatorMetaData.Sigs
  1061. // MetaRareOperatorBin is the compiled bytecode used for deploying new contracts.
  1062. // Deprecated: Use MetaRareOperatorMetaData.Bin instead.
  1063. var MetaRareOperatorBin = MetaRareOperatorMetaData.Bin
  1064. // DeployMetaRareOperator deploys a new Ethereum contract, binding an instance of MetaRareOperator to it.
  1065. func DeployMetaRareOperator(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MetaRareOperator, error) {
  1066. parsed, err := MetaRareOperatorMetaData.GetAbi()
  1067. if err != nil {
  1068. return common.Address{}, nil, nil, err
  1069. }
  1070. if parsed == nil {
  1071. return common.Address{}, nil, nil, errors.New("GetABI returned nil")
  1072. }
  1073. address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(MetaRareOperatorBin), backend)
  1074. if err != nil {
  1075. return common.Address{}, nil, nil, err
  1076. }
  1077. return address, tx, &MetaRareOperator{MetaRareOperatorCaller: MetaRareOperatorCaller{contract: contract}, MetaRareOperatorTransactor: MetaRareOperatorTransactor{contract: contract}, MetaRareOperatorFilterer: MetaRareOperatorFilterer{contract: contract}}, nil
  1078. }
  1079. // MetaRareOperator is an auto generated Go binding around an Ethereum contract.
  1080. type MetaRareOperator struct {
  1081. MetaRareOperatorCaller // Read-only binding to the contract
  1082. MetaRareOperatorTransactor // Write-only binding to the contract
  1083. MetaRareOperatorFilterer // Log filterer for contract events
  1084. }
  1085. // MetaRareOperatorCaller is an auto generated read-only Go binding around an Ethereum contract.
  1086. type MetaRareOperatorCaller struct {
  1087. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1088. }
  1089. // MetaRareOperatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
  1090. type MetaRareOperatorTransactor struct {
  1091. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1092. }
  1093. // MetaRareOperatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
  1094. type MetaRareOperatorFilterer struct {
  1095. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1096. }
  1097. // MetaRareOperatorSession is an auto generated Go binding around an Ethereum contract,
  1098. // with pre-set call and transact options.
  1099. type MetaRareOperatorSession struct {
  1100. Contract *MetaRareOperator // Generic contract binding to set the session for
  1101. CallOpts bind.CallOpts // Call options to use throughout this session
  1102. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  1103. }
  1104. // MetaRareOperatorCallerSession is an auto generated read-only Go binding around an Ethereum contract,
  1105. // with pre-set call options.
  1106. type MetaRareOperatorCallerSession struct {
  1107. Contract *MetaRareOperatorCaller // Generic contract caller binding to set the session for
  1108. CallOpts bind.CallOpts // Call options to use throughout this session
  1109. }
  1110. // MetaRareOperatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  1111. // with pre-set transact options.
  1112. type MetaRareOperatorTransactorSession struct {
  1113. Contract *MetaRareOperatorTransactor // Generic contract transactor binding to set the session for
  1114. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  1115. }
  1116. // MetaRareOperatorRaw is an auto generated low-level Go binding around an Ethereum contract.
  1117. type MetaRareOperatorRaw struct {
  1118. Contract *MetaRareOperator // Generic contract binding to access the raw methods on
  1119. }
  1120. // MetaRareOperatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  1121. type MetaRareOperatorCallerRaw struct {
  1122. Contract *MetaRareOperatorCaller // Generic read-only contract binding to access the raw methods on
  1123. }
  1124. // MetaRareOperatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  1125. type MetaRareOperatorTransactorRaw struct {
  1126. Contract *MetaRareOperatorTransactor // Generic write-only contract binding to access the raw methods on
  1127. }
  1128. // NewMetaRareOperator creates a new instance of MetaRareOperator, bound to a specific deployed contract.
  1129. func NewMetaRareOperator(address common.Address, backend bind.ContractBackend) (*MetaRareOperator, error) {
  1130. contract, err := bindMetaRareOperator(address, backend, backend, backend)
  1131. if err != nil {
  1132. return nil, err
  1133. }
  1134. return &MetaRareOperator{MetaRareOperatorCaller: MetaRareOperatorCaller{contract: contract}, MetaRareOperatorTransactor: MetaRareOperatorTransactor{contract: contract}, MetaRareOperatorFilterer: MetaRareOperatorFilterer{contract: contract}}, nil
  1135. }
  1136. // NewMetaRareOperatorCaller creates a new read-only instance of MetaRareOperator, bound to a specific deployed contract.
  1137. func NewMetaRareOperatorCaller(address common.Address, caller bind.ContractCaller) (*MetaRareOperatorCaller, error) {
  1138. contract, err := bindMetaRareOperator(address, caller, nil, nil)
  1139. if err != nil {
  1140. return nil, err
  1141. }
  1142. return &MetaRareOperatorCaller{contract: contract}, nil
  1143. }
  1144. // NewMetaRareOperatorTransactor creates a new write-only instance of MetaRareOperator, bound to a specific deployed contract.
  1145. func NewMetaRareOperatorTransactor(address common.Address, transactor bind.ContractTransactor) (*MetaRareOperatorTransactor, error) {
  1146. contract, err := bindMetaRareOperator(address, nil, transactor, nil)
  1147. if err != nil {
  1148. return nil, err
  1149. }
  1150. return &MetaRareOperatorTransactor{contract: contract}, nil
  1151. }
  1152. // NewMetaRareOperatorFilterer creates a new log filterer instance of MetaRareOperator, bound to a specific deployed contract.
  1153. func NewMetaRareOperatorFilterer(address common.Address, filterer bind.ContractFilterer) (*MetaRareOperatorFilterer, error) {
  1154. contract, err := bindMetaRareOperator(address, nil, nil, filterer)
  1155. if err != nil {
  1156. return nil, err
  1157. }
  1158. return &MetaRareOperatorFilterer{contract: contract}, nil
  1159. }
  1160. // bindMetaRareOperator binds a generic wrapper to an already deployed contract.
  1161. func bindMetaRareOperator(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  1162. parsed, err := abi.JSON(strings.NewReader(MetaRareOperatorABI))
  1163. if err != nil {
  1164. return nil, err
  1165. }
  1166. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  1167. }
  1168. // Call invokes the (constant) contract method with params as input values and
  1169. // sets the output to result. The result type might be a single field for simple
  1170. // returns, a slice of interfaces for anonymous returns and a struct for named
  1171. // returns.
  1172. func (_MetaRareOperator *MetaRareOperatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  1173. return _MetaRareOperator.Contract.MetaRareOperatorCaller.contract.Call(opts, result, method, params...)
  1174. }
  1175. // Transfer initiates a plain transaction to move funds to the contract, calling
  1176. // its default method if one is available.
  1177. func (_MetaRareOperator *MetaRareOperatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  1178. return _MetaRareOperator.Contract.MetaRareOperatorTransactor.contract.Transfer(opts)
  1179. }
  1180. // Transact invokes the (paid) contract method with params as input values.
  1181. func (_MetaRareOperator *MetaRareOperatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  1182. return _MetaRareOperator.Contract.MetaRareOperatorTransactor.contract.Transact(opts, method, params...)
  1183. }
  1184. // Call invokes the (constant) contract method with params as input values and
  1185. // sets the output to result. The result type might be a single field for simple
  1186. // returns, a slice of interfaces for anonymous returns and a struct for named
  1187. // returns.
  1188. func (_MetaRareOperator *MetaRareOperatorCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  1189. return _MetaRareOperator.Contract.contract.Call(opts, result, method, params...)
  1190. }
  1191. // Transfer initiates a plain transaction to move funds to the contract, calling
  1192. // its default method if one is available.
  1193. func (_MetaRareOperator *MetaRareOperatorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  1194. return _MetaRareOperator.Contract.contract.Transfer(opts)
  1195. }
  1196. // Transact invokes the (paid) contract method with params as input values.
  1197. func (_MetaRareOperator *MetaRareOperatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  1198. return _MetaRareOperator.Contract.contract.Transact(opts, method, params...)
  1199. }
  1200. // DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
  1201. //
  1202. // Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
  1203. func (_MetaRareOperator *MetaRareOperatorCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error) {
  1204. var out []interface{}
  1205. err := _MetaRareOperator.contract.Call(opts, &out, "DEFAULT_ADMIN_ROLE")
  1206. if err != nil {
  1207. return *new([32]byte), err
  1208. }
  1209. out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
  1210. return out0, err
  1211. }
  1212. // DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
  1213. //
  1214. // Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
  1215. func (_MetaRareOperator *MetaRareOperatorSession) DEFAULTADMINROLE() ([32]byte, error) {
  1216. return _MetaRareOperator.Contract.DEFAULTADMINROLE(&_MetaRareOperator.CallOpts)
  1217. }
  1218. // DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
  1219. //
  1220. // Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
  1221. func (_MetaRareOperator *MetaRareOperatorCallerSession) DEFAULTADMINROLE() ([32]byte, error) {
  1222. return _MetaRareOperator.Contract.DEFAULTADMINROLE(&_MetaRareOperator.CallOpts)
  1223. }
  1224. // MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
  1225. //
  1226. // Solidity: function MINTER_ROLE() view returns(bytes32)
  1227. func (_MetaRareOperator *MetaRareOperatorCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error) {
  1228. var out []interface{}
  1229. err := _MetaRareOperator.contract.Call(opts, &out, "MINTER_ROLE")
  1230. if err != nil {
  1231. return *new([32]byte), err
  1232. }
  1233. out0 := *abi.ConvertType(out[0], new([32]byte)).(*[32]byte)
  1234. return out0, err
  1235. }
  1236. // MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
  1237. //
  1238. // Solidity: function MINTER_ROLE() view returns(bytes32)
  1239. func (_MetaRareOperator *MetaRareOperatorSession) MINTERROLE() ([32]byte, error) {
  1240. return _MetaRareOperator.Contract.MINTERROLE(&_MetaRareOperator.CallOpts)
  1241. }
  1242. // MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
  1243. //
  1244. // Solidity: function MINTER_ROLE() view returns(bytes32)
  1245. func (_MetaRareOperator *MetaRareOperatorCallerSession) MINTERROLE() ([32]byte, error) {
  1246. return _MetaRareOperator.Contract.MINTERROLE(&_MetaRareOperator.CallOpts)
  1247. }
  1248. // CreationTaxRate is a free data retrieval call binding the contract method 0x5ac3ac45.
  1249. //
  1250. // Solidity: function creationTaxRate(address , uint256 ) view returns(uint256)
  1251. func (_MetaRareOperator *MetaRareOperatorCaller) CreationTaxRate(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error) {
  1252. var out []interface{}
  1253. err := _MetaRareOperator.contract.Call(opts, &out, "creationTaxRate", arg0, arg1)
  1254. if err != nil {
  1255. return *new(*big.Int), err
  1256. }
  1257. out0 := *abi.ConvertType(out[0], new(*big.Int)).(**big.Int)
  1258. return out0, err
  1259. }
  1260. // CreationTaxRate is a free data retrieval call binding the contract method 0x5ac3ac45.
  1261. //
  1262. // Solidity: function creationTaxRate(address , uint256 ) view returns(uint256)
  1263. func (_MetaRareOperator *MetaRareOperatorSession) CreationTaxRate(arg0 common.Address, arg1 *big.Int) (*big.Int, error) {
  1264. return _MetaRareOperator.Contract.CreationTaxRate(&_MetaRareOperator.CallOpts, arg0, arg1)
  1265. }
  1266. // CreationTaxRate is a free data retrieval call binding the contract method 0x5ac3ac45.
  1267. //
  1268. // Solidity: function creationTaxRate(address , uint256 ) view returns(uint256)
  1269. func (_MetaRareOperator *MetaRareOperatorCallerSession) CreationTaxRate(arg0 common.Address, arg1 *big.Int) (*big.Int, error) {
  1270. return _MetaRareOperator.Contract.CreationTaxRate(&_MetaRareOperator.CallOpts, arg0, arg1)
  1271. }
  1272. // Creators is a free data retrieval call binding the contract method 0xcd53d08e.
  1273. //
  1274. // Solidity: function creators(uint256 ) view returns(address)
  1275. func (_MetaRareOperator *MetaRareOperatorCaller) Creators(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error) {
  1276. var out []interface{}
  1277. err := _MetaRareOperator.contract.Call(opts, &out, "creators", arg0)
  1278. if err != nil {
  1279. return *new(common.Address), err
  1280. }
  1281. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
  1282. return out0, err
  1283. }
  1284. // Creators is a free data retrieval call binding the contract method 0xcd53d08e.
  1285. //
  1286. // Solidity: function creators(uint256 ) view returns(address)
  1287. func (_MetaRareOperator *MetaRareOperatorSession) Creators(arg0 *big.Int) (common.Address, error) {
  1288. return _MetaRareOperator.Contract.Creators(&_MetaRareOperator.CallOpts, arg0)
  1289. }
  1290. // Creators is a free data retrieval call binding the contract method 0xcd53d08e.
  1291. //
  1292. // Solidity: function creators(uint256 ) view returns(address)
  1293. func (_MetaRareOperator *MetaRareOperatorCallerSession) Creators(arg0 *big.Int) (common.Address, error) {
  1294. return _MetaRareOperator.Contract.Creators(&_MetaRareOperator.CallOpts, arg0)
  1295. }
  1296. // CreatorsWithinCollection is a free data retrieval call binding the contract method 0x0370a7a2.
  1297. //
  1298. // Solidity: function creatorsWithinCollection(address , uint256 ) view returns(address)
  1299. func (_MetaRareOperator *MetaRareOperatorCaller) CreatorsWithinCollection(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error) {
  1300. var out []interface{}
  1301. err := _MetaRareOperator.contract.Call(opts, &out, "creatorsWithinCollection", arg0, arg1)
  1302. if err != nil {
  1303. return *new(common.Address), err
  1304. }
  1305. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
  1306. return out0, err
  1307. }
  1308. // CreatorsWithinCollection is a free data retrieval call binding the contract method 0x0370a7a2.
  1309. //
  1310. // Solidity: function creatorsWithinCollection(address , uint256 ) view returns(address)
  1311. func (_MetaRareOperator *MetaRareOperatorSession) CreatorsWithinCollection(arg0 common.Address, arg1 *big.Int) (common.Address, error) {
  1312. return _MetaRareOperator.Contract.CreatorsWithinCollection(&_MetaRareOperator.CallOpts, arg0, arg1)
  1313. }
  1314. // CreatorsWithinCollection is a free data retrieval call binding the contract method 0x0370a7a2.
  1315. //
  1316. // Solidity: function creatorsWithinCollection(address , uint256 ) view returns(address)
  1317. func (_MetaRareOperator *MetaRareOperatorCallerSession) CreatorsWithinCollection(arg0 common.Address, arg1 *big.Int) (common.Address, error) {
  1318. return _MetaRareOperator.Contract.CreatorsWithinCollection(&_MetaRareOperator.CallOpts, arg0, arg1)
  1319. }
  1320. // RecoverAddress is a free data retrieval call binding the contract method 0x8428cf83.
  1321. //
  1322. // Solidity: function recoverAddress(bytes32 msgHash, uint8 v, bytes32 r, bytes32 s) pure returns(address)
  1323. func (_MetaRareOperator *MetaRareOperatorCaller) RecoverAddress(opts *bind.CallOpts, msgHash [32]byte, v uint8, r [32]byte, s [32]byte) (common.Address, error) {
  1324. var out []interface{}
  1325. err := _MetaRareOperator.contract.Call(opts, &out, "recoverAddress", msgHash, v, r, s)
  1326. if err != nil {
  1327. return *new(common.Address), err
  1328. }
  1329. out0 := *abi.ConvertType(out[0], new(common.Address)).(*common.Address)
  1330. return out0, err
  1331. }
  1332. // RecoverAddress is a free data retrieval call binding the contract method 0x8428cf83.
  1333. //
  1334. // Solidity: function recoverAddress(bytes32 msgHash, uint8 v, bytes32 r, bytes32 s) pure returns(address)
  1335. func (_MetaRareOperator *MetaRareOperatorSession) RecoverAddress(msgHash [32]byte, v uint8, r [32]byte, s [32]byte) (common.Address, error) {
  1336. return _MetaRareOperator.Contract.RecoverAddress(&_MetaRareOperator.CallOpts, msgHash, v, r, s)
  1337. }
  1338. // RecoverAddress is a free data retrieval call binding the contract method 0x8428cf83.
  1339. //
  1340. // Solidity: function recoverAddress(bytes32 msgHash, uint8 v, bytes32 r, bytes32 s) pure returns(address)
  1341. func (_MetaRareOperator *MetaRareOperatorCallerSession) RecoverAddress(msgHash [32]byte, v uint8, r [32]byte, s [32]byte) (common.Address, error) {
  1342. return _MetaRareOperator.Contract.RecoverAddress(&_MetaRareOperator.CallOpts, msgHash, v, r, s)
  1343. }
  1344. // ExcuteMintingOrderWithERC1155Collection is a paid mutator transaction binding the contract method 0xb2381e3d.
  1345. //
  1346. // Solidity: function excuteMintingOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1347. func (_MetaRareOperator *MetaRareOperatorTransactor) ExcuteMintingOrderWithERC1155Collection(opts *bind.TransactOpts, voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1348. return _MetaRareOperator.contract.Transact(opts, "excuteMintingOrderWithERC1155Collection", voucher, hash, v, r, s)
  1349. }
  1350. // ExcuteMintingOrderWithERC1155Collection is a paid mutator transaction binding the contract method 0xb2381e3d.
  1351. //
  1352. // Solidity: function excuteMintingOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1353. func (_MetaRareOperator *MetaRareOperatorSession) ExcuteMintingOrderWithERC1155Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1354. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC1155Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1355. }
  1356. // ExcuteMintingOrderWithERC1155Collection is a paid mutator transaction binding the contract method 0xb2381e3d.
  1357. //
  1358. // Solidity: function excuteMintingOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1359. func (_MetaRareOperator *MetaRareOperatorTransactorSession) ExcuteMintingOrderWithERC1155Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1360. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC1155Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1361. }
  1362. // ExcuteMintingOrderWithERC1155MetaRareCollection is a paid mutator transaction binding the contract method 0x33bd3379.
  1363. //
  1364. // Solidity: function excuteMintingOrderWithERC1155MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1365. func (_MetaRareOperator *MetaRareOperatorTransactor) ExcuteMintingOrderWithERC1155MetaRareCollection(opts *bind.TransactOpts, voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1366. return _MetaRareOperator.contract.Transact(opts, "excuteMintingOrderWithERC1155MetaRareCollection", voucher, hash, v, r, s)
  1367. }
  1368. // ExcuteMintingOrderWithERC1155MetaRareCollection is a paid mutator transaction binding the contract method 0x33bd3379.
  1369. //
  1370. // Solidity: function excuteMintingOrderWithERC1155MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1371. func (_MetaRareOperator *MetaRareOperatorSession) ExcuteMintingOrderWithERC1155MetaRareCollection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1372. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC1155MetaRareCollection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1373. }
  1374. // ExcuteMintingOrderWithERC1155MetaRareCollection is a paid mutator transaction binding the contract method 0x33bd3379.
  1375. //
  1376. // Solidity: function excuteMintingOrderWithERC1155MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1377. func (_MetaRareOperator *MetaRareOperatorTransactorSession) ExcuteMintingOrderWithERC1155MetaRareCollection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1378. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC1155MetaRareCollection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1379. }
  1380. // ExcuteMintingOrderWithERC721Collection is a paid mutator transaction binding the contract method 0x6104c09b.
  1381. //
  1382. // Solidity: function excuteMintingOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1383. func (_MetaRareOperator *MetaRareOperatorTransactor) ExcuteMintingOrderWithERC721Collection(opts *bind.TransactOpts, voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1384. return _MetaRareOperator.contract.Transact(opts, "excuteMintingOrderWithERC721Collection", voucher, hash, v, r, s)
  1385. }
  1386. // ExcuteMintingOrderWithERC721Collection is a paid mutator transaction binding the contract method 0x6104c09b.
  1387. //
  1388. // Solidity: function excuteMintingOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1389. func (_MetaRareOperator *MetaRareOperatorSession) ExcuteMintingOrderWithERC721Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1390. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC721Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1391. }
  1392. // ExcuteMintingOrderWithERC721Collection is a paid mutator transaction binding the contract method 0x6104c09b.
  1393. //
  1394. // Solidity: function excuteMintingOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1395. func (_MetaRareOperator *MetaRareOperatorTransactorSession) ExcuteMintingOrderWithERC721Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1396. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC721Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1397. }
  1398. // ExcuteMintingOrderWithERC721MetaRareCollection is a paid mutator transaction binding the contract method 0x1f247a2f.
  1399. //
  1400. // Solidity: function excuteMintingOrderWithERC721MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1401. func (_MetaRareOperator *MetaRareOperatorTransactor) ExcuteMintingOrderWithERC721MetaRareCollection(opts *bind.TransactOpts, voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1402. return _MetaRareOperator.contract.Transact(opts, "excuteMintingOrderWithERC721MetaRareCollection", voucher, hash, v, r, s)
  1403. }
  1404. // ExcuteMintingOrderWithERC721MetaRareCollection is a paid mutator transaction binding the contract method 0x1f247a2f.
  1405. //
  1406. // Solidity: function excuteMintingOrderWithERC721MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1407. func (_MetaRareOperator *MetaRareOperatorSession) ExcuteMintingOrderWithERC721MetaRareCollection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1408. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC721MetaRareCollection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1409. }
  1410. // ExcuteMintingOrderWithERC721MetaRareCollection is a paid mutator transaction binding the contract method 0x1f247a2f.
  1411. //
  1412. // Solidity: function excuteMintingOrderWithERC721MetaRareCollection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1413. func (_MetaRareOperator *MetaRareOperatorTransactorSession) ExcuteMintingOrderWithERC721MetaRareCollection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1414. return _MetaRareOperator.Contract.ExcuteMintingOrderWithERC721MetaRareCollection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1415. }
  1416. // ExcuteTransferOrderWithERC1155Collection is a paid mutator transaction binding the contract method 0x03b5b423.
  1417. //
  1418. // Solidity: function excuteTransferOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1419. func (_MetaRareOperator *MetaRareOperatorTransactor) ExcuteTransferOrderWithERC1155Collection(opts *bind.TransactOpts, voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1420. return _MetaRareOperator.contract.Transact(opts, "excuteTransferOrderWithERC1155Collection", voucher, hash, v, r, s)
  1421. }
  1422. // ExcuteTransferOrderWithERC1155Collection is a paid mutator transaction binding the contract method 0x03b5b423.
  1423. //
  1424. // Solidity: function excuteTransferOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1425. func (_MetaRareOperator *MetaRareOperatorSession) ExcuteTransferOrderWithERC1155Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1426. return _MetaRareOperator.Contract.ExcuteTransferOrderWithERC1155Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1427. }
  1428. // ExcuteTransferOrderWithERC1155Collection is a paid mutator transaction binding the contract method 0x03b5b423.
  1429. //
  1430. // Solidity: function excuteTransferOrderWithERC1155Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1431. func (_MetaRareOperator *MetaRareOperatorTransactorSession) ExcuteTransferOrderWithERC1155Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1432. return _MetaRareOperator.Contract.ExcuteTransferOrderWithERC1155Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1433. }
  1434. // ExcuteTransferOrderWithERC721Collection is a paid mutator transaction binding the contract method 0xec938286.
  1435. //
  1436. // Solidity: function excuteTransferOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1437. func (_MetaRareOperator *MetaRareOperatorTransactor) ExcuteTransferOrderWithERC721Collection(opts *bind.TransactOpts, voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1438. return _MetaRareOperator.contract.Transact(opts, "excuteTransferOrderWithERC721Collection", voucher, hash, v, r, s)
  1439. }
  1440. // ExcuteTransferOrderWithERC721Collection is a paid mutator transaction binding the contract method 0xec938286.
  1441. //
  1442. // Solidity: function excuteTransferOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1443. func (_MetaRareOperator *MetaRareOperatorSession) ExcuteTransferOrderWithERC721Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1444. return _MetaRareOperator.Contract.ExcuteTransferOrderWithERC721Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1445. }
  1446. // ExcuteTransferOrderWithERC721Collection is a paid mutator transaction binding the contract method 0xec938286.
  1447. //
  1448. // Solidity: function excuteTransferOrderWithERC721Collection((address,address,uint256,uint256,address,uint256,uint256,uint256,uint256,uint256,address,string) voucher, bytes32 hash, uint8 v, bytes32 r, bytes32 s) payable returns()
  1449. func (_MetaRareOperator *MetaRareOperatorTransactorSession) ExcuteTransferOrderWithERC721Collection(voucher MetaRareOperatorNFTVoucher, hash [32]byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
  1450. return _MetaRareOperator.Contract.ExcuteTransferOrderWithERC721Collection(&_MetaRareOperator.TransactOpts, voucher, hash, v, r, s)
  1451. }
  1452. // SafeMathMetaData contains all meta data concerning the SafeMath contract.
  1453. var SafeMathMetaData = &bind.MetaData{
  1454. ABI: "[]",
  1455. Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212204173583db44453e2ec033090065c8f937218a7a4d9cd71e88b72d5f40c689bfd64736f6c63430008000033",
  1456. }
  1457. // SafeMathABI is the input ABI used to generate the binding from.
  1458. // Deprecated: Use SafeMathMetaData.ABI instead.
  1459. var SafeMathABI = SafeMathMetaData.ABI
  1460. // SafeMathBin is the compiled bytecode used for deploying new contracts.
  1461. // Deprecated: Use SafeMathMetaData.Bin instead.
  1462. var SafeMathBin = SafeMathMetaData.Bin
  1463. // DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
  1464. func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error) {
  1465. parsed, err := SafeMathMetaData.GetAbi()
  1466. if err != nil {
  1467. return common.Address{}, nil, nil, err
  1468. }
  1469. if parsed == nil {
  1470. return common.Address{}, nil, nil, errors.New("GetABI returned nil")
  1471. }
  1472. address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(SafeMathBin), backend)
  1473. if err != nil {
  1474. return common.Address{}, nil, nil, err
  1475. }
  1476. return address, tx, &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil
  1477. }
  1478. // SafeMath is an auto generated Go binding around an Ethereum contract.
  1479. type SafeMath struct {
  1480. SafeMathCaller // Read-only binding to the contract
  1481. SafeMathTransactor // Write-only binding to the contract
  1482. SafeMathFilterer // Log filterer for contract events
  1483. }
  1484. // SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
  1485. type SafeMathCaller struct {
  1486. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1487. }
  1488. // SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
  1489. type SafeMathTransactor struct {
  1490. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1491. }
  1492. // SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
  1493. type SafeMathFilterer struct {
  1494. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1495. }
  1496. // SafeMathSession is an auto generated Go binding around an Ethereum contract,
  1497. // with pre-set call and transact options.
  1498. type SafeMathSession struct {
  1499. Contract *SafeMath // Generic contract binding to set the session for
  1500. CallOpts bind.CallOpts // Call options to use throughout this session
  1501. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  1502. }
  1503. // SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract,
  1504. // with pre-set call options.
  1505. type SafeMathCallerSession struct {
  1506. Contract *SafeMathCaller // Generic contract caller binding to set the session for
  1507. CallOpts bind.CallOpts // Call options to use throughout this session
  1508. }
  1509. // SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  1510. // with pre-set transact options.
  1511. type SafeMathTransactorSession struct {
  1512. Contract *SafeMathTransactor // Generic contract transactor binding to set the session for
  1513. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  1514. }
  1515. // SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
  1516. type SafeMathRaw struct {
  1517. Contract *SafeMath // Generic contract binding to access the raw methods on
  1518. }
  1519. // SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  1520. type SafeMathCallerRaw struct {
  1521. Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
  1522. }
  1523. // SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  1524. type SafeMathTransactorRaw struct {
  1525. Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
  1526. }
  1527. // NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
  1528. func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error) {
  1529. contract, err := bindSafeMath(address, backend, backend, backend)
  1530. if err != nil {
  1531. return nil, err
  1532. }
  1533. return &SafeMath{SafeMathCaller: SafeMathCaller{contract: contract}, SafeMathTransactor: SafeMathTransactor{contract: contract}, SafeMathFilterer: SafeMathFilterer{contract: contract}}, nil
  1534. }
  1535. // NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
  1536. func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error) {
  1537. contract, err := bindSafeMath(address, caller, nil, nil)
  1538. if err != nil {
  1539. return nil, err
  1540. }
  1541. return &SafeMathCaller{contract: contract}, nil
  1542. }
  1543. // NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
  1544. func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error) {
  1545. contract, err := bindSafeMath(address, nil, transactor, nil)
  1546. if err != nil {
  1547. return nil, err
  1548. }
  1549. return &SafeMathTransactor{contract: contract}, nil
  1550. }
  1551. // NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
  1552. func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error) {
  1553. contract, err := bindSafeMath(address, nil, nil, filterer)
  1554. if err != nil {
  1555. return nil, err
  1556. }
  1557. return &SafeMathFilterer{contract: contract}, nil
  1558. }
  1559. // bindSafeMath binds a generic wrapper to an already deployed contract.
  1560. func bindSafeMath(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  1561. parsed, err := abi.JSON(strings.NewReader(SafeMathABI))
  1562. if err != nil {
  1563. return nil, err
  1564. }
  1565. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  1566. }
  1567. // Call invokes the (constant) contract method with params as input values and
  1568. // sets the output to result. The result type might be a single field for simple
  1569. // returns, a slice of interfaces for anonymous returns and a struct for named
  1570. // returns.
  1571. func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  1572. return _SafeMath.Contract.SafeMathCaller.contract.Call(opts, result, method, params...)
  1573. }
  1574. // Transfer initiates a plain transaction to move funds to the contract, calling
  1575. // its default method if one is available.
  1576. func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  1577. return _SafeMath.Contract.SafeMathTransactor.contract.Transfer(opts)
  1578. }
  1579. // Transact invokes the (paid) contract method with params as input values.
  1580. func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  1581. return _SafeMath.Contract.SafeMathTransactor.contract.Transact(opts, method, params...)
  1582. }
  1583. // Call invokes the (constant) contract method with params as input values and
  1584. // sets the output to result. The result type might be a single field for simple
  1585. // returns, a slice of interfaces for anonymous returns and a struct for named
  1586. // returns.
  1587. func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  1588. return _SafeMath.Contract.contract.Call(opts, result, method, params...)
  1589. }
  1590. // Transfer initiates a plain transaction to move funds to the contract, calling
  1591. // its default method if one is available.
  1592. func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  1593. return _SafeMath.Contract.contract.Transfer(opts)
  1594. }
  1595. // Transact invokes the (paid) contract method with params as input values.
  1596. func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  1597. return _SafeMath.Contract.contract.Transact(opts, method, params...)
  1598. }
  1599. // StringsMetaData contains all meta data concerning the Strings contract.
  1600. var StringsMetaData = &bind.MetaData{
  1601. ABI: "[]",
  1602. Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212207edb8077e74c13cedbc2fb5fd5736eee7e0684a72011c3cf1afca22ef41419e364736f6c63430008000033",
  1603. }
  1604. // StringsABI is the input ABI used to generate the binding from.
  1605. // Deprecated: Use StringsMetaData.ABI instead.
  1606. var StringsABI = StringsMetaData.ABI
  1607. // StringsBin is the compiled bytecode used for deploying new contracts.
  1608. // Deprecated: Use StringsMetaData.Bin instead.
  1609. var StringsBin = StringsMetaData.Bin
  1610. // DeployStrings deploys a new Ethereum contract, binding an instance of Strings to it.
  1611. func DeployStrings(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Strings, error) {
  1612. parsed, err := StringsMetaData.GetAbi()
  1613. if err != nil {
  1614. return common.Address{}, nil, nil, err
  1615. }
  1616. if parsed == nil {
  1617. return common.Address{}, nil, nil, errors.New("GetABI returned nil")
  1618. }
  1619. address, tx, contract, err := bind.DeployContract(auth, *parsed, common.FromHex(StringsBin), backend)
  1620. if err != nil {
  1621. return common.Address{}, nil, nil, err
  1622. }
  1623. return address, tx, &Strings{StringsCaller: StringsCaller{contract: contract}, StringsTransactor: StringsTransactor{contract: contract}, StringsFilterer: StringsFilterer{contract: contract}}, nil
  1624. }
  1625. // Strings is an auto generated Go binding around an Ethereum contract.
  1626. type Strings struct {
  1627. StringsCaller // Read-only binding to the contract
  1628. StringsTransactor // Write-only binding to the contract
  1629. StringsFilterer // Log filterer for contract events
  1630. }
  1631. // StringsCaller is an auto generated read-only Go binding around an Ethereum contract.
  1632. type StringsCaller struct {
  1633. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1634. }
  1635. // StringsTransactor is an auto generated write-only Go binding around an Ethereum contract.
  1636. type StringsTransactor struct {
  1637. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1638. }
  1639. // StringsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
  1640. type StringsFilterer struct {
  1641. contract *bind.BoundContract // Generic contract wrapper for the low level calls
  1642. }
  1643. // StringsSession is an auto generated Go binding around an Ethereum contract,
  1644. // with pre-set call and transact options.
  1645. type StringsSession struct {
  1646. Contract *Strings // Generic contract binding to set the session for
  1647. CallOpts bind.CallOpts // Call options to use throughout this session
  1648. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  1649. }
  1650. // StringsCallerSession is an auto generated read-only Go binding around an Ethereum contract,
  1651. // with pre-set call options.
  1652. type StringsCallerSession struct {
  1653. Contract *StringsCaller // Generic contract caller binding to set the session for
  1654. CallOpts bind.CallOpts // Call options to use throughout this session
  1655. }
  1656. // StringsTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
  1657. // with pre-set transact options.
  1658. type StringsTransactorSession struct {
  1659. Contract *StringsTransactor // Generic contract transactor binding to set the session for
  1660. TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
  1661. }
  1662. // StringsRaw is an auto generated low-level Go binding around an Ethereum contract.
  1663. type StringsRaw struct {
  1664. Contract *Strings // Generic contract binding to access the raw methods on
  1665. }
  1666. // StringsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
  1667. type StringsCallerRaw struct {
  1668. Contract *StringsCaller // Generic read-only contract binding to access the raw methods on
  1669. }
  1670. // StringsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
  1671. type StringsTransactorRaw struct {
  1672. Contract *StringsTransactor // Generic write-only contract binding to access the raw methods on
  1673. }
  1674. // NewStrings creates a new instance of Strings, bound to a specific deployed contract.
  1675. func NewStrings(address common.Address, backend bind.ContractBackend) (*Strings, error) {
  1676. contract, err := bindStrings(address, backend, backend, backend)
  1677. if err != nil {
  1678. return nil, err
  1679. }
  1680. return &Strings{StringsCaller: StringsCaller{contract: contract}, StringsTransactor: StringsTransactor{contract: contract}, StringsFilterer: StringsFilterer{contract: contract}}, nil
  1681. }
  1682. // NewStringsCaller creates a new read-only instance of Strings, bound to a specific deployed contract.
  1683. func NewStringsCaller(address common.Address, caller bind.ContractCaller) (*StringsCaller, error) {
  1684. contract, err := bindStrings(address, caller, nil, nil)
  1685. if err != nil {
  1686. return nil, err
  1687. }
  1688. return &StringsCaller{contract: contract}, nil
  1689. }
  1690. // NewStringsTransactor creates a new write-only instance of Strings, bound to a specific deployed contract.
  1691. func NewStringsTransactor(address common.Address, transactor bind.ContractTransactor) (*StringsTransactor, error) {
  1692. contract, err := bindStrings(address, nil, transactor, nil)
  1693. if err != nil {
  1694. return nil, err
  1695. }
  1696. return &StringsTransactor{contract: contract}, nil
  1697. }
  1698. // NewStringsFilterer creates a new log filterer instance of Strings, bound to a specific deployed contract.
  1699. func NewStringsFilterer(address common.Address, filterer bind.ContractFilterer) (*StringsFilterer, error) {
  1700. contract, err := bindStrings(address, nil, nil, filterer)
  1701. if err != nil {
  1702. return nil, err
  1703. }
  1704. return &StringsFilterer{contract: contract}, nil
  1705. }
  1706. // bindStrings binds a generic wrapper to an already deployed contract.
  1707. func bindStrings(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
  1708. parsed, err := abi.JSON(strings.NewReader(StringsABI))
  1709. if err != nil {
  1710. return nil, err
  1711. }
  1712. return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
  1713. }
  1714. // Call invokes the (constant) contract method with params as input values and
  1715. // sets the output to result. The result type might be a single field for simple
  1716. // returns, a slice of interfaces for anonymous returns and a struct for named
  1717. // returns.
  1718. func (_Strings *StringsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  1719. return _Strings.Contract.StringsCaller.contract.Call(opts, result, method, params...)
  1720. }
  1721. // Transfer initiates a plain transaction to move funds to the contract, calling
  1722. // its default method if one is available.
  1723. func (_Strings *StringsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  1724. return _Strings.Contract.StringsTransactor.contract.Transfer(opts)
  1725. }
  1726. // Transact invokes the (paid) contract method with params as input values.
  1727. func (_Strings *StringsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  1728. return _Strings.Contract.StringsTransactor.contract.Transact(opts, method, params...)
  1729. }
  1730. // Call invokes the (constant) contract method with params as input values and
  1731. // sets the output to result. The result type might be a single field for simple
  1732. // returns, a slice of interfaces for anonymous returns and a struct for named
  1733. // returns.
  1734. func (_Strings *StringsCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
  1735. return _Strings.Contract.contract.Call(opts, result, method, params...)
  1736. }
  1737. // Transfer initiates a plain transaction to move funds to the contract, calling
  1738. // its default method if one is available.
  1739. func (_Strings *StringsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
  1740. return _Strings.Contract.contract.Transfer(opts)
  1741. }
  1742. // Transact invokes the (paid) contract method with params as input values.
  1743. func (_Strings *StringsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
  1744. return _Strings.Contract.contract.Transact(opts, method, params...)
  1745. }