608 lines
56 KiB
C#
608 lines
56 KiB
C#
using Nethereum.ABI.FunctionEncoding.Attributes;
|
|
using Nethereum.Contracts;
|
|
using System.Numerics;
|
|
|
|
// Generated code, do not modify.
|
|
|
|
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
|
namespace CodexContractsPlugin.Marketplace
|
|
{
|
|
public partial class MarketplaceDeployment : MarketplaceDeploymentBase
|
|
{
|
|
public MarketplaceDeployment() : base(BYTECODE) { }
|
|
public MarketplaceDeployment(string byteCode) : base(byteCode) { }
|
|
}
|
|
|
|
public class MarketplaceDeploymentBase : ContractDeploymentMessage
|
|
{
|
|
public static string BYTECODE = "0x60c06040523480156200001157600080fd5b506040516200451038038062004510833981016040819052620000349162000571565b602083015180516040850151516001805460ff191660ff909216919091179055608052816101004311620000af5760405162461bcd60e51b815260206004820152601960248201527f496e73756666696369656e7420626c6f636b206865696768740000000000000060448201526064015b60405180910390fd5b81516002908155602083015160035560408301516004805460ff191660ff9092169190911790556060830151839190600590620000ed908262000724565b50608091909101516004909101805460ff191660ff928316179055600780546001600160a01b0319166001600160a01b0393841617905590841660a0528451516064911611159050620001835760405162461bcd60e51b815260206004820152601560248201527f4d757374206265206c657373207468616e2031303000000000000000000000006044820152606401620000a6565b606483600001516060015160ff161115620001e15760405162461bcd60e51b815260206004820152601560248201527f4d757374206265206c657373207468616e2031303000000000000000000000006044820152606401620000a6565b82516060810151602090910151606491620001fc91620007f0565b60ff1611156200024f5760405162461bcd60e51b815260206004820152601d60248201527f4d6178696d756d20736c617368696e67206578636565647320313030250000006044820152606401620000a6565b82518051600f805460208085015160408087015160609788015160ff9081166401000000000260ff60201b1961ffff90931662010000029290921664ffffff0000199482166101000261ffff199097169882169890981795909517929092169590951717835580880151805160109081559181015160115593840151601280549190931660ff19919091161790915592820151869391929190601390620002f7908262000724565b50608091909101516004909101805460ff1990811660ff938416179091556040939093015151600692909201805490931691161790555062000822915050565b634e487b7160e01b600052604160045260246000fd5b60405160a081016001600160401b038111828210171562000372576200037262000337565b60405290565b604051606081016001600160401b038111828210171562000372576200037262000337565b604051608081016001600160401b038111828210171562000372576200037262000337565b604051601f8201601f191681016001600160401b0381118282101715620003ed57620003ed62000337565b604052919050565b805160ff811681146200040757600080fd5b919050565b600060a082840312156200041f57600080fd5b620004296200034d565b905081518152602080830151818301526200044760408401620003f5565b604083015260608301516001600160401b03808211156200046757600080fd5b818501915085601f8301126200047c57600080fd5b81518181111562000491576200049162000337565b620004a5601f8201601f19168501620003c2565b91508082528684828501011115620004bc57600080fd5b60005b81811015620004dc578381018501518382018601528401620004bf565b50600084828401015250806060850152505050620004fd60808301620003f5565b608082015292915050565b6000602082840312156200051b57600080fd5b604051602081016001600160401b038111828210171562000540576200054062000337565b6040529050806200055183620003f5565b905292915050565b80516001600160a01b03811681146200040757600080fd5b6000806000606084860312156200058757600080fd5b83516001600160401b03808211156200059f57600080fd5b9085019081870360c0811215620005b557600080fd5b620005bf62000378565b6080821215620005ce57600080fd5b620005d86200039d565b9150620005e584620003f5565b8252620005f560208501620003f5565b6020830152604084015161ffff811681146200061057600080fd5b60408301526200062360608501620003f5565b6060830152908152608083015190828211156200063f57600080fd5b6200064d898386016200040c565b6020820152620006618960a0860162000508565b604082015295506200067a925050506020850162000559565b91506200068a6040850162000559565b90509250925092565b600181811c90821680620006a857607f821691505b602082108103620006c957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200071f576000816000526020600020601f850160051c81016020861015620006fa5750805b601f850160051c820191505b818110156200071b5782815560010162000706565b5050505b505050565b81516001600160401b0381111562000740576200074062000337565b620007588162000751845462000693565b84620006cf565b602080601f831160018114620007905760008415620007775750858301515b600019600386901b1c1916600185901b1785556200071b565b600085815260208120601f198616915b82811015620007c157888601518255948401946001909101908401620007a0565b5085821015620007e05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60ff81811683821602908116908181146200081b57634e487b7160e01b600052601160045260246000fd5b5092915050565b60805160a051613c97620008796000396000818161044201528181611ad5015281816123800152818161241f015281816125ad0152818161264c0152612817015260008181612d460152612f0c0152613c976000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c806379502c55116100ee578063be5cdc4811610097578063e8aa0a0711610071578063e8aa0a07146103ed578063f752196b14610400578063fb1e61ca14610420578063fc0c546a1461044057600080fd5b8063be5cdc48146103a7578063c0cc4add146103c7578063c5d43351146103da57600080fd5b8063a3a0807e116100c8578063a3a0807e14610361578063a6af384b14610374578063b396dc791461038757600080fd5b806379502c55146103315780639777b72c14610346578063a29c29a41461034e57600080fd5b80634641dce61161015b5780635da73835116101355780635da73835146102b257806362d48e13146102c75780636b00c8cf146102da5780636e2b54ee1461031e57600080fd5b80634641dce6146102575780634802f44b1461027c57806359cc89ed1461029f57600080fd5b80630aefaabe1161018c5780630aefaabe1461020e578063329b5a0b14610221578063458d2bf11461024457600080fd5b806302fa8e65146101b357806305b90773146101d957806308695fcd146101f9575b600080fd5b6101c66101c13660046130f3565b610466565b6040519081526020015b60405180910390f35b6101ec6101e73660046130f3565b6104dd565b6040516101d09190613122565b61020c61020736600461313c565b6105ef565b005b61020c61021c366004613173565b610745565b6101c661022f3660046130f3565b60009081526017602052604090206005015490565b6101c66102523660046130f3565b610922565b61026a6102653660046130f3565b61093b565b60405160ff90911681526020016101d0565b61028f61028a36600461313c565b61094e565b60405190151581526020016101d0565b61020c6102ad3660046131c8565b6109c9565b6102ba610d30565b6040516101d091906131ff565b61020c6102d536600461313c565b610d57565b6103066102e83660046130f3565b6000908152601860205260409020600501546001600160a01b031690565b6040516001600160a01b0390911681526020016101d0565b61020c61032c3660046130f3565b610e54565b610339610e61565b6040516101d09190613289565b6102ba611015565b61020c61035c3660046130f3565b611034565b61028f61036f3660046130f3565b6110a4565b61020c610382366004613332565b6110d9565b61039a6103953660046130f3565b61142e565b6040516101d0919061343b565b6103ba6103b53660046130f3565b611617565b6040516101d0919061346d565b61028f6103d53660046130f3565b6116e5565b61020c6103e8366004613481565b6116f8565b61020c6103fb3660046134b1565b611b5d565b6101c661040e3660046130f3565b6000908152600a602052604090205490565b61043361042e3660046130f3565b611c92565b6040516101d091906134df565b7f0000000000000000000000000000000000000000000000000000000000000000610306565b60008181526017602052604081206004015481610482846104dd565b905060008160048111156104985761049861310c565b14806104b5575060018160048111156104b3576104b361310c565b145b156104c1575092915050565b6104d5826104d0600142613508565b611e49565b949350505050565b60008181526016602052604081205482906001600160a01b031661053a5760405162461bcd60e51b815260206004820152600f60248201526e155b9adb9bdddb881c995c5d595cdd608a1b60448201526064015b60405180910390fd5b600083815260176020526040812090815460ff16600481111561055f5761055f61310c565b14801561057c575060008481526017602052604090206005015442115b1561058b5760029250506105e9565b6001815460ff1660048111156105a3576105a361310c565b14806105c457506000815460ff1660048111156105c2576105c261310c565b145b80156105d35750806004015442115b156105e25760039250506105e9565b5460ff1691505b50919050565b60016105fa83611617565b600581111561060b5761060b61310c565b146106585760405162461bcd60e51b815260206004820152601960248201527f536c6f74206e6f7420616363657074696e672070726f6f6673000000000000006044820152606401610531565b6106628282611e61565b6000828152601860209081526040808320600181015484526016909252909120600f5461ffff62010000909104166106a6856000908152600a602052604090205490565b6106b09190613531565b60000361073f57600f5460068201546000916064916106da91640100000000900460ff1690613545565b6106e4919061355c565b9050808360040160008282546106fa9190613508565b9091555050600f546000868152600a6020526040902054610100820460ff169162010000900461ffff169061072f919061355c565b1061073d5761073d8561208e565b505b50505050565b826000808281526018602052604090205460ff16600581111561076a5761076a61310c565b036107a65760405162461bcd60e51b815260206004820152600c60248201526b536c6f74206973206672656560a01b6044820152606401610531565b600084815260186020526040902060058101546001600160a01b031633146108105760405162461bcd60e51b815260206004820152601960248201527f536c6f742066696c6c6564206279206f7468657220686f7374000000000000006044820152606401610531565b600061081b86611617565b905060048160058111156108315761083161310c565b0361087e5760405162461bcd60e51b815260206004820152600c60248201527f416c7265616479207061696400000000000000000000000000000000000000006044820152606401610531565b60028160058111156108925761089261310c565b036108ac576108a7826001015487878761225c565b61091a565b60058160058111156108c0576108c061310c565b036108d5576108a782600101548787876124a4565b60038160058111156108e9576108e961310c565b036108f8576108a733876126cf565b600181600581111561090c5761090c61310c565b0361091a5761091a8661208e565b505050505050565b6000610935826109306126f1565b6126fc565b92915050565b6000610935826109496126f1565b612710565b6040805160208082018590528183018490528251808303840181526060909201909252805191012060009033908290600154600082815260208190526040902091925060ff169061099e90612784565b1080156109c0575060008181526020819052604090206109be908361278e565b155b95945050505050565b60008381526016602052604090205483906001600160a01b0316610a215760405162461bcd60e51b815260206004820152600f60248201526e155b9adb9bdddb881c995c5d595cdd608a1b6044820152606401610531565b6000848152601660205260409020600181015467ffffffffffffffff168410610a8c5760405162461bcd60e51b815260206004820152600c60248201527f496e76616c696420736c6f7400000000000000000000000000000000000000006044820152606401610531565b60408051602080820188905281830187905282518083038401815260609092018352815191810191909120600081815291829052919020610acd903361278e565b610b195760405162461bcd60e51b815260206004820152601460248201527f5265736572766174696f6e2072657175697265640000000000000000000000006044820152606401610531565b6000818152601860209081526040808320600181018a905560038101899055898452601790925282209091610b4d84611617565b6005811115610b5e57610b5e61310c565b14610bab5760405162461bcd60e51b815260206004820152601060248201527f536c6f74206973206e6f742066726565000000000000000000000000000000006044820152606401610531565b600484015460008481526008602090815260408083204290556009909152902055610bd68387611b5d565b60058201805473ffffffffffffffffffffffffffffffffffffffff191633179055815460ff1916600190811783554260028401558181018054600090610c1d908490613570565b92505081905550610c328883600201546127b0565b816002016000828254610c459190613508565b90915550506006840154610c5933826127cf565b8060196000016000828254610c6e9190613570565b9091555050600483018190556005830154610c92906001600160a01b0316856128d2565b887ff530852268993f91008f1a1e0b09b5c813acd4188481f1fa83c33c7182e814b489604051610cc491815260200190565b60405180910390a26001808601549083015467ffffffffffffffff9091169003610d2557815460ff1916600117825542600383015560405189907f85e1543bf2f84fe80c6badbce3648c8539ad1df4d2b3d822938ca0538be727e690600090a25b505050505050505050565b336000908152600e60205260409020606090610d5290610d4f906128f4565b90565b905090565b610d61828261094e565b610dad5760405162461bcd60e51b815260206004820152601760248201527f5265736572766174696f6e206e6f7420616c6c6f7765640000000000000000006044820152606401610531565b60408051602080820185905281830184905282518083038401815260609092018352815191810191909120600081815291829052919020610dee9033612901565b50600154600082815260208190526040902060ff90911690610e0f90612784565b03610e4f57827f3bef2ebab8cc92e0edda5decf18232f0606a18405ef674b51ea9d1e0e3839b4183604051610e4691815260200190565b60405180910390a25b505050565b610e5e81336116f8565b50565b610ed56040805160e081019091526000606082018181526080830182905260a0830182905260c0830191909152819081526040805160a08101825260008082526020828101829052928201819052606080830152608082015291019081526040805160208181019092526000815291015290565b6040805160e081018252600f805460ff808216606080860191825261010084048316608087015261ffff6201000085041660a080880191909152640100000000909404831660c087015290855285519283018652601080548452601154602085810191909152601254909316968401969096526013805495969495928701949291840191610f6290613583565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8e90613583565b8015610fdb5780601f10610fb057610100808354040283529160200191610fdb565b820191906000526020600020905b815481529060010190602001808311610fbe57829003601f168201915b50505091835250506004919091015460ff908116602092830152918352604080518083019091526006949094015490911683520152919050565b336000908152600d60205260409020606090610d5290610d4f906128f4565b806000808281526018602052604090205460ff1660058111156110595761105961310c565b036110955760405162461bcd60e51b815260206004820152600c60248201526b536c6f74206973206672656560a01b6044820152606401610531565b6110a0823333610745565b5050565b60008060006110ba846110b56126f1565b612916565b90925090508180156104d5575060045460ff9081169116109392505050565b336110e760208301836135b7565b6001600160a01b03161461113d5760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420636c69656e742061646472657373000000000000000000006044820152606401610531565b600061115061114b83613749565b6129f9565b6000818152601660205260409020549091506001600160a01b0316156111b85760405162461bcd60e51b815260206004820152601660248201527f5265717565737420616c726561647920657869737473000000000000000000006044820152606401610531565b60008261012001351180156111d557506060820135610120830135105b6112215760405162461bcd60e51b815260206004820152601360248201527f457870697279206e6f7420696e2072616e6765000000000000000000000000006044820152606401610531565b60006112336040840160208501613838565b67ffffffffffffffff161161128a5760405162461bcd60e51b815260206004820152601260248201527f496e73756666696369656e7420736c6f747300000000000000000000000000006044820152606401610531565b61129a6040830160208401613838565b67ffffffffffffffff166112b5610100840160e08501613838565b67ffffffffffffffff16111561130d5760405162461bcd60e51b815260206004820152601960248201527f6d6178536c6f744c6f7373206578636565647320736c6f7473000000000000006044820152606401610531565b6000818152601660205260409020829061132782826139c3565b506113389050606083013542613570565b60008281526017602052604090206004015561135961012083013542613570565b60008281526017602090815260409091206005019190915561138790611381908401846135b7565b82612a29565b600061139a61139584613749565b612a4b565b60008381526017602052604081206002018290556019805492935083929091906113c5908490613570565b909155506113d5905033826127cf565b7f5fdb86c365a247a4d97dcbcc5c3abde9d6e3e2de26273f3fda8eef5073b9a96c8284602001601760008681526020019081526020016000206005015460405161142193929190613abb565b60405180910390a1505050565b61143661302b565b816000808281526018602052604090205460ff16600581111561145b5761145b61310c565b036114975760405162461bcd60e51b815260206004820152600c60248201526b536c6f74206973206672656560a01b6044820152606401610531565b60008381526018602052604090206114ad61302b565b600180830154600090815260166020908152604091829020825160a0808201855282546001600160a01b03168252845160e0810186529583015467ffffffffffffffff9081168752600284015487860152600384015487870152600484015460608801526005840154608088015260068401549187019190915260078301541660c086015291820193909352815180830183526008840180549294938501928290829061155990613583565b80601f016020809104026020016040519081016040528092919081815260200182805461158590613583565b80156115d25780601f106115a7576101008083540402835291602001916115d2565b820191906000526020600020905b8154815290600101906020018083116115b557829003601f168201915b505050918352505060019190910154602091820152908252600a83015482820152600b9092015460409091015290825260039092015491810191909152915050919050565b6000818152601860205260408120600181015482036116395750600092915050565b600061164882600101546104dd565b90506004825460ff1660058111156116625761166261310c565b03611671575060049392505050565b60028160048111156116855761168561310c565b03611694575060059392505050565b60038160048111156116a8576116a861310c565b036116b7575060029392505050565b60048160048111156116cb576116cb61310c565b036116da575060039392505050565b505460ff1692915050565b6000610935826116f36126f1565b612a7c565b600082815260166020526040902080546001600160a01b0316331461175f5760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420636c69656e742061646472657373000000000000000000006044820152606401610531565b600083815260176020526040812090611777856104dd565b9050600281600481111561178d5761178d61310c565b14806117aa575060048160048111156117a8576117a861310c565b145b806117c6575060038160048111156117c4576117c461310c565b145b6118125760405162461bcd60e51b815260206004820152600d60248201527f496e76616c6964207374617465000000000000000000000000000000000000006044820152606401610531565b81600201546000036118665760405162461bcd60e51b815260206004820152601360248201527f4e6f7468696e6720746f207769746864726177000000000000000000000000006044820152606401610531565b600281600481111561187a5761187a61310c565b0361190457815460ff1916600217825560405185907ff903f4774c7bd27355f9d7fcbc382b079b164a697a44ac5d95267a4c3cb3bb2290600090a26118d7856118d28760009081526017602052604090206005015490565b6127b0565b82600101546118e69190613545565b8260020160008282546118f99190613570565b90915550611a7b9050565b60048160048111156119185761191861310c565b03611a6f576040805160a0808201835285546001600160a01b03168252825160e081018452600187015467ffffffffffffffff90811682526002880154602083810191909152600389015483870152600489015460608401526005890154608084015260068901549383019390935260078801541660c08201529082015281518083018352600886018054611a65948893908501929091829082906119bc90613583565b80601f01602080910402602001604051908101604052809291908181526020018280546119e890613583565b8015611a355780601f10611a0a57610100808354040283529160200191611a35565b820191906000526020600020905b815481529060010190602001808311611a1857829003601f168201915b505050505081526020016001820154815250508152602001600a8201548152602001600b82015481525050612a4b565b6002830155611a7b565b815460ff191660031782555b8254611a90906001600160a01b031686612aac565b6002820154601a8054829190600090611aaa908490613570565b909155505060405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015611b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b429190613b37565b611b4e57611b4e613b59565b50506000600290910155505050565b6000828152601860209081526040808320600101548084526016909252909120546001600160a01b0316611bc55760405162461bcd60e51b815260206004820152600f60248201526e155b9adb9bdddb881c995c5d595cdd608a1b6044820152606401610531565b600083815260186020908152604080832060018101548452601683528184208251600380825260808201909452919490939092908201606080368337019050509050611c18611c1387610922565b612ace565b81600081518110611c2b57611c2b613b6f565b60209081029190910101526009820154611c4490612adf565b81600181518110611c5757611c57613b6f565b602002602001018181525050826003015481600281518110611c7b57611c7b613b6f565b60200260200101818152505061091a868683612aeb565b611c9a61304b565b60008281526016602052604090205482906001600160a01b0316611cf25760405162461bcd60e51b815260206004820152600f60248201526e155b9adb9bdddb881c995c5d595cdd608a1b6044820152606401610531565b600083815260166020908152604091829020825160a0808201855282546001600160a01b03168252845160e081018652600184015467ffffffffffffffff90811682526002850154828701526003850154828801526004850154606083015260058501546080830152600685015492820192909252600784015490911660c08201529281019290925282518084018452600882018054939492939285019282908290611d9d90613583565b80601f0160208091040260200160405190810160405280929190818152602001828054611dc990613583565b8015611e165780601f10611deb57610100808354040283529160200191611e16565b820191906000526020600020905b815481529060010190602001808311611df957829003601f168201915b505050505081526020016001820154815250508152602001600a8201548152602001600b82015481525050915050919050565b6000818310611e585781611e5a565b825b9392505050565b6000611e6c82612caa565b9050428110611ebd5760405162461bcd60e51b815260206004820152601860248201527f506572696f6420686173206e6f7420656e6465642079657400000000000000006044820152606401610531565b600354611eca9082613570565b4210611f185760405162461bcd60e51b815260206004820152601460248201527f56616c69646174696f6e2074696d6564206f75740000000000000000000000006044820152606401610531565b6000838152600b6020908152604080832085845290915290205460ff1615611f825760405162461bcd60e51b815260206004820181905260248201527f50726f6f6620776173207375626d69747465642c206e6f74206d697373696e676044820152606401610531565b611f8c8383612a7c565b611fd85760405162461bcd60e51b815260206004820152601660248201527f50726f6f6620776173206e6f74207265717569726564000000000000000000006044820152606401610531565b6000838152600c6020908152604080832085845290915290205460ff16156120425760405162461bcd60e51b815260206004820152601f60248201527f50726f6f6620616c7265616479206d61726b6564206173206d697373696e67006044820152606401610531565b6000838152600c602090815260408083208584528252808320805460ff19166001908117909155868452600a9092528220805491929091612084908490613570565b9091555050505050565b600081815260186020908152604080832060018101548085526017909352922060028301546120be9083906127b0565b8160020160008282546120d19190613570565b909155505060058301546120ee906001600160a01b0316856126cf565b6003808401546000868152601860205260408120805460ff1916815560018082018390556002820183905593810182905560048101829055600501805473ffffffffffffffffffffffffffffffffffffffff19169055838301805492939290919061215a908490613508565b909155505060405181815283907f1d31c9f8dea6e179f6a050db117595feea8937029ea51f5168a4780be7e8f5529060200160405180910390a26000858152600a60205260408120556000838152601660205260408120600180850154908201549192916121d2919067ffffffffffffffff16613508565b600783015490915067ffffffffffffffff168111801561220757506001845460ff1660048111156122055761220561310c565b145b1561225357835460ff19166004178455612222600142613508565b600485015560405185907f4769361a442504ecaf038f35e119bcccdd5e42096b24c09e3c17fd17c6684c0290600090a25b50505050505050565b60008481526016602052604090205484906001600160a01b03166122b45760405162461bcd60e51b815260206004820152600f60248201526e155b9adb9bdddb881c995c5d595cdd608a1b6044820152606401610531565b600085815260176020908152604080832060168352818420815460ff191660031782558885526018909352922081546122f6906001600160a01b031689612aac565b600581015461230e906001600160a01b0316886126cf565b600061231e8983600201546127b0565b60048301549091506123308183613570565b601a8054600090612342908490613570565b90915550508254600490849060ff1916600183021790555060405163a9059cbb60e01b81526001600160a01b038981166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af11580156123c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ed9190613b37565b6123f9576123f9613b59565b60405163a9059cbb60e01b81526001600160a01b038881166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015612468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248c9190613b37565b61249857612498613b59565b50505050505050505050565b60008481526016602052604090205484906001600160a01b03166124fc5760405162461bcd60e51b815260206004820152600f60248201526e155b9adb9bdddb881c995c5d595cdd608a1b6044820152606401610531565b60008481526018602052604090206005810154612522906001600160a01b0316866126cf565b600061254b8783600201546125468a60009081526017602052604090206005015490565b612cbd565b600483015490915061255d8183613570565b601a805460009061256f908490613570565b90915550508254600490849060ff1916600183021790555060405163a9059cbb60e01b81526001600160a01b038781166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af11580156125f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261a9190613b37565b61262657612626613b59565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016020604051808303816000875af1158015612695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b99190613b37565b6126c5576126c5613b59565b5050505050505050565b6001600160a01b0382166000908152600e60205260409020610e4f9082612d33565b6000610d5242612d3f565b6000611e5a61270b8484612710565b612d6b565b60008061271f61010043613531565b600654909150600090610100906127399060ff1686613545565b6127439190613531565b9050600061275361010087613531565b90506000610100826127658587613570565b61276f9190613570565b6127799190613531565b979650505050505050565b6000610935825490565b6001600160a01b03811660009081526001830160205260408120541515611e5a565b600082815260176020526040812060040154611e5a9084908490612cbd565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152306024830181905260448301849052917f0000000000000000000000000000000000000000000000000000000000000000909116906323b872dd906064016020604051808303816000875af1158015612862573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128869190613b37565b610e4f5760405162461bcd60e51b815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152606401610531565b6001600160a01b0382166000908152600e60205260409020610e4f9082612dc5565b60606000611e5a83612dd1565b6000611e5a836001600160a01b038416612e2d565b600080600061292485611617565b6000868152600860205260408120549192509061294090612d3f565b905060018260058111156129565761295661310c565b14158061296a57506129688582612e7c565b155b1561297d576000809350935050506129f2565b6129878686612710565b9250600061299484612d6b565b600454909150600090610100906129ae9060ff1682613b85565b60008a8152600960205260409020546129cb9161ffff1690613545565b6129d5919061355c565b90508015806129eb57506129e98183613531565b155b9550505050505b9250929050565b600081604051602001612a0c91906134df565b604051602081830303815290604052805190602001209050919050565b6001600160a01b0382166000908152600d60205260409020610e4f9082612dc5565b6020810151608081015160408201519151600092612a729167ffffffffffffffff16613545565b6109359190613545565b6000806000612a8b8585612916565b90925090508180156109c0575060045460ff90811691161015949350505050565b6001600160a01b0382166000908152600d60205260409020610e4f9082612d33565b600060ff198216816104d582612e86565b600080611e5a83612e86565b6000838152600b6020526040812090612b026126f1565b815260208101919091526040016000205460ff1615612b635760405162461bcd60e51b815260206004820152601760248201527f50726f6f6620616c7265616479207375626d69747465640000000000000000006044820152606401610531565b6007546040517f94c8919d0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116906394c8919d90612bae9085908590600401613ba0565b602060405180830381865afa158015612bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bef9190613b37565b612c3b5760405162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f66000000000000000000000000000000000000006044820152606401610531565b6000838152600b60205260408120600191612c546126f1565b815260200190815260200160002060006101000a81548160ff0219169083151502179055507f3b989d183b84b02259d7c14b34a9c9eb0fccb4c355a920d25e581e25aef4993d8360405161142191815260200190565b6000610935612cb883612ef8565b612f05565b6000838152601660205260408120828410612d1a5760405162461bcd60e51b815260206004820152601760248201527f5374617274206e6f74206265666f7265206578706972790000000000000000006044820152606401610531565b6005810154612d298585613508565b6109c09190613545565b6000611e5a8383612f31565b60006109357f00000000000000000000000000000000000000000000000000000000000000008361355c565b60008060ff8316612d7d600143613508565b612d879190613508565b4090506000819003612d9b57612d9b613b59565b60408051602081018390520160405160208183030381529060405280519060200120915050919050565b6000611e5a8383612e2d565b606081600001805480602002602001604051908101604052809291908181526020018280548015612e2157602002820191906000526020600020905b815481526020019060010190808311612e0d575b50505050509050919050565b6000818152600183016020526040812054612e7457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610935565b506000610935565b6000818311611e5a565b7fff00000000000000000000000000000000000000000000000000000000000000811660015b60208110156105e957600891821c91612ec6908290613545565b83901b7fff00000000000000000000000000000000000000000000000000000000000000169190911790600101612eac565b6000610935826001613570565b60006109357f000000000000000000000000000000000000000000000000000000000000000083613545565b6000818152600183016020526040812054801561301a576000612f55600183613508565b8554909150600090612f6990600190613508565b9050818114612fce576000866000018281548110612f8957612f89613b6f565b9060005260206000200154905080876000018481548110612fac57612fac613b6f565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612fdf57612fdf613c4b565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610935565b6000915050610935565b5092915050565b604051806040016040528061303e61304b565b8152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016130ba6040518060e00160405280600067ffffffffffffffff1681526020016000815260200160008152602001600081526020016000815260200160008152602001600067ffffffffffffffff1681525090565b81526020016130df604051806040016040528060608152602001600080191681525090565b815260006020820181905260409091015290565b60006020828403121561310557600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60208101600583106131365761313661310c565b91905290565b6000806040838503121561314f57600080fd5b50508035926020909101359150565b6001600160a01b0381168114610e5e57600080fd5b60008060006060848603121561318857600080fd5b83359250602084013561319a8161315e565b915060408401356131aa8161315e565b809150509250925092565b600061010082840312156105e957600080fd5b600080600061014084860312156131de57600080fd5b83359250602084013591506131f685604086016131b5565b90509250925092565b6020808252825182820181905260009190848201906040850190845b818110156132375783518352928401929184019160010161321b565b50909695505050505050565b6000815180845260005b818110156132695760208185018101518683018201520161324d565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000825160ff815116602084015260ff602082015116604084015261ffff604082015116606084015260ff606082015116608084015250602083015160c060a0840152805160e0840152602081015161010084015260ff604082015116610120840152606081015160a061014085015261330b610180850182613243565b905060ff608083015116610160850152604085015191506104d560c08501835160ff169052565b60006020828403121561334457600080fd5b813567ffffffffffffffff81111561335b57600080fd5b82016101608185031215611e5a57600080fd5b60008151604084526133836040850182613243565b602093840151949093019390935250919050565b60006101606001600160a01b038351168452602083015167ffffffffffffffff808251166020870152602082015160408701526040820151606087015260608201516080870152608082015160a087015260a082015160c08701528060c08301511660e087015250506040830151816101008601526134188286018261336e565b915050606083015161012085015260808301516101408501528091505092915050565b6020815260008251604060208401526134576060840182613397565b9050602084015160408401528091505092915050565b60208101600683106131365761313661310c565b6000806040838503121561349457600080fd5b8235915060208301356134a68161315e565b809150509250929050565b60008061012083850312156134c557600080fd5b823591506134d684602085016131b5565b90509250929050565b602081526000611e5a6020830184613397565b634e487b7160e01b600052601160045260246000fd5b81810381811115610935576109356134f2565b634e487b7160e01b600052601260045260246000fd5b6000826135405761354061351b565b500690565b8082028115828204841417610935576109356134f2565b60008261356b5761356b61351b565b500490565b80820180821115610935576109356134f2565b600181811c9082168061359757607f821691505b6020821081036105e957634e487b7160e01b600052602260045260246000fd5b6000602082840312156135c957600080fd5b8135611e5a8161315e565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561360d5761360d6135d4565b60405290565b60405160a0810167ffffffffffffffff8111828210171561360d5761360d6135d4565b60405160e0810167ffffffffffffffff8111828210171561360d5761360d6135d4565b604051601f8201601f1916810167ffffffffffffffff81118282101715613682576136826135d4565b604052919050565b67ffffffffffffffff81168114610e5e57600080fd5b6000604082840312156136b257600080fd5b6136ba6135ea565b9050813567ffffffffffffffff808211156136d457600080fd5b818401915084601f8301126136e857600080fd5b81356020828211156136fc576136fc6135d4565b61370e601f8301601f19168201613659565b9250818352868183860101111561372457600080fd5b8181850182850137600081838501015282855280860135818601525050505092915050565b600081360361016081121561375d57600080fd5b613765613613565b83356137708161315e565b815260e0601f198301121561378457600080fd5b61378c613636565b9150602084013561379c8161368a565b8083525060408401356020830152606084013560408301526080840135606083015260a0840135608083015260c084013560a083015260e08401356137e08161368a565b60c083015260208101919091526101008301359067ffffffffffffffff82111561380957600080fd5b613815368386016136a0565b604082015261012084013560608201526101409093013560808401525090919050565b60006020828403121561384a57600080fd5b8135611e5a8161368a565b600081356109358161368a565b60008235603e1983360301811261387857600080fd5b9190910192915050565b601f821115610e4f576000816000526020600020601f850160051c810160208610156138ab5750805b601f850160051c820191505b8181101561091a578281556001016138b7565b8135601e198336030181126138de57600080fd5b8201803567ffffffffffffffff8111156138f757600080fd5b6020813603818401131561390a57600080fd5b61391e826139188654613583565b86613882565b6000601f831160018114613954576000841561393c57508482018301355b600019600386901b1c1916600185901b1786556139b1565b600086815260209020601f19851690835b82811015613986578785018601358255938501936001909101908501613965565b50858210156139a55760001960f88760031b161c198585890101351681555b505060018460011b0186555b50508085013560018501555050505050565b81356139ce8161315e565b6001600160a01b03811673ffffffffffffffffffffffffffffffffffffffff19835416178255506020820135613a038161368a565b60018201805467ffffffffffffffff191667ffffffffffffffff83161790555060408201356002820155606082013560038201556080820135600482015560a0820135600582015560c08201356006820155613a87613a6460e08401613855565b6007830167ffffffffffffffff821667ffffffffffffffff198254161781555050565b613aa1613a98610100840184613862565b600883016138ca565b610120820135600a820155610140820135600b8201555050565b83815261012081018335613ace8161368a565b67ffffffffffffffff8082166020850152602086013560408501526040860135606085015260608601356080850152608086013560a085015260a086013560c085015260c08601359150613b218261368a565b1660e08301526101009091019190915292915050565b600060208284031215613b4957600080fd5b81518015158114611e5a57600080fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61ffff828116828216039080821115613024576130246134f2565b82358152602080840135908201526000610120828101613bd0604085016040880180358252602090810135910152565b613bea608085016080880180358252602090810135910152565b613c0460c0850160c0880180358252602090810135910152565b61010084019190915283519081905261014083019060209081860160005b82811015613c3e57815185529383019390830190600101613c22565b5092979650505050505050565b634e487b7160e01b600052603160045260246000fdfea26469706673582212201734667e2912f3ec0ced846ccd2aacfe7f1b3040e228245e555c67a7c591bbcf64736f6c63430008170033";
|
|
public MarketplaceDeploymentBase() : base(BYTECODE) { }
|
|
public MarketplaceDeploymentBase(string byteCode) : base(byteCode) { }
|
|
[Parameter("tuple", "configuration", 1)]
|
|
public virtual MarketplaceConfig Configuration { get; set; }
|
|
[Parameter("address", "token_", 2)]
|
|
public virtual string Token { get; set; }
|
|
[Parameter("address", "verifier", 3)]
|
|
public virtual string Verifier { get; set; }
|
|
}
|
|
public partial class ProofSubmittedEventDTO : ProofSubmittedEventDTOBase { }
|
|
|
|
[Event("ProofSubmitted")]
|
|
public class ProofSubmittedEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "id", 1, false )]
|
|
public virtual byte[] Id { get; set; }
|
|
}
|
|
public partial class RequestCancelledEventDTO : RequestCancelledEventDTOBase { }
|
|
|
|
[Event("RequestCancelled")]
|
|
public class RequestCancelledEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "requestId", 1, true )]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
public partial class RequestFailedEventDTO : RequestFailedEventDTOBase { }
|
|
|
|
[Event("RequestFailed")]
|
|
public class RequestFailedEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "requestId", 1, true )]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
public partial class RequestFulfilledEventDTO : RequestFulfilledEventDTOBase { }
|
|
|
|
[Event("RequestFulfilled")]
|
|
public class RequestFulfilledEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "requestId", 1, true )]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
public partial class SlotFilledEventDTO : SlotFilledEventDTOBase { }
|
|
|
|
[Event("SlotFilled")]
|
|
public class SlotFilledEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "requestId", 1, true )]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("uint256", "slotIndex", 2, false )]
|
|
public virtual BigInteger SlotIndex { get; set; }
|
|
}
|
|
public partial class SlotFreedEventDTO : SlotFreedEventDTOBase { }
|
|
|
|
[Event("SlotFreed")]
|
|
public class SlotFreedEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "requestId", 1, true )]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("uint256", "slotIndex", 2, false )]
|
|
public virtual BigInteger SlotIndex { get; set; }
|
|
}
|
|
public partial class SlotReservationsFullEventDTO : SlotReservationsFullEventDTOBase { }
|
|
|
|
[Event("SlotReservationsFull")]
|
|
public class SlotReservationsFullEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "requestId", 1, true )]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("uint256", "slotIndex", 2, false )]
|
|
public virtual BigInteger SlotIndex { get; set; }
|
|
}
|
|
public partial class StorageRequestedEventDTO : StorageRequestedEventDTOBase { }
|
|
|
|
[Event("StorageRequested")]
|
|
public class StorageRequestedEventDTOBase : IEventDTO
|
|
{
|
|
[Parameter("bytes32", "requestId", 1, false )]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("tuple", "ask", 2, false )]
|
|
public virtual Ask Ask { get; set; }
|
|
[Parameter("uint256", "expiry", 3, false )]
|
|
public virtual BigInteger Expiry { get; set; }
|
|
}
|
|
public partial class CanReserveSlotOutputDTO : CanReserveSlotOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class CanReserveSlotOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("bool", "", 1)]
|
|
public virtual bool ReturnValue1 { get; set; }
|
|
}
|
|
public partial class CanReserveSlotFunction : CanReserveSlotFunctionBase { }
|
|
|
|
[Function("canReserveSlot", "bool")]
|
|
public class CanReserveSlotFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("uint256", "slotIndex", 2)]
|
|
public virtual BigInteger SlotIndex { get; set; }
|
|
}
|
|
public partial class ConfigOutputDTO : ConfigOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class ConfigOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("tuple", "", 1)]
|
|
public virtual MarketplaceConfig ReturnValue1 { get; set; }
|
|
}
|
|
public partial class ConfigFunction : ConfigFunctionBase { }
|
|
|
|
[Function("config", typeof(ConfigOutputDTO))]
|
|
public class ConfigFunctionBase : FunctionMessage
|
|
{
|
|
|
|
}
|
|
|
|
public partial class FillSlotFunction : FillSlotFunctionBase { }
|
|
|
|
[Function("fillSlot")]
|
|
public class FillSlotFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("uint256", "slotIndex", 2)]
|
|
public virtual BigInteger SlotIndex { get; set; }
|
|
[Parameter("tuple", "proof", 3)]
|
|
public virtual Groth16Proof Proof { get; set; }
|
|
}
|
|
|
|
public partial class FreeSlot1Function : FreeSlot1FunctionBase { }
|
|
|
|
[Function("freeSlot")]
|
|
public class FreeSlot1FunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "slotId", 1)]
|
|
public virtual byte[] SlotId { get; set; }
|
|
[Parameter("address", "rewardRecipient", 2)]
|
|
public virtual string RewardRecipient { get; set; }
|
|
[Parameter("address", "collateralRecipient", 3)]
|
|
public virtual string CollateralRecipient { get; set; }
|
|
}
|
|
|
|
public partial class FreeSlotFunction : FreeSlotFunctionBase { }
|
|
|
|
[Function("freeSlot")]
|
|
public class FreeSlotFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "slotId", 1)]
|
|
public virtual byte[] SlotId { get; set; }
|
|
}
|
|
public partial class GetActiveSlotOutputDTO : GetActiveSlotOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class GetActiveSlotOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("tuple", "", 1)]
|
|
public virtual ActiveSlot ReturnValue1 { get; set; }
|
|
}
|
|
public partial class GetActiveSlotFunction : GetActiveSlotFunctionBase { }
|
|
|
|
[Function("getActiveSlot", typeof(GetActiveSlotOutputDTO))]
|
|
public class GetActiveSlotFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "slotId", 1)]
|
|
public virtual byte[] SlotId { get; set; }
|
|
}
|
|
public partial class GetChallengeOutputDTO : GetChallengeOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class GetChallengeOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("bytes32", "", 1)]
|
|
public virtual byte[] ReturnValue1 { get; set; }
|
|
}
|
|
public partial class GetChallengeFunction : GetChallengeFunctionBase { }
|
|
|
|
[Function("getChallenge", "bytes32")]
|
|
public class GetChallengeFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "id", 1)]
|
|
public virtual byte[] Id { get; set; }
|
|
}
|
|
public partial class GetHostOutputDTO : GetHostOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class GetHostOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("address", "", 1)]
|
|
public virtual string ReturnValue1 { get; set; }
|
|
}
|
|
public partial class GetHostFunction : GetHostFunctionBase { }
|
|
|
|
[Function("getHost", "address")]
|
|
public class GetHostFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "slotId", 1)]
|
|
public virtual byte[] SlotId { get; set; }
|
|
}
|
|
public partial class GetPointerOutputDTO : GetPointerOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class GetPointerOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("uint8", "", 1)]
|
|
public virtual byte ReturnValue1 { get; set; }
|
|
}
|
|
public partial class GetPointerFunction : GetPointerFunctionBase { }
|
|
|
|
[Function("getPointer", "uint8")]
|
|
public class GetPointerFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "id", 1)]
|
|
public virtual byte[] Id { get; set; }
|
|
}
|
|
public partial class GetRequestOutputDTO : GetRequestOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class GetRequestOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("tuple", "", 1)]
|
|
public virtual Request ReturnValue1 { get; set; }
|
|
}
|
|
public partial class GetRequestFunction : GetRequestFunctionBase { }
|
|
|
|
[Function("getRequest", typeof(GetRequestOutputDTO))]
|
|
public class GetRequestFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
public partial class IsProofRequiredOutputDTO : IsProofRequiredOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class IsProofRequiredOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("bool", "", 1)]
|
|
public virtual bool ReturnValue1 { get; set; }
|
|
}
|
|
public partial class IsProofRequiredFunction : IsProofRequiredFunctionBase { }
|
|
|
|
[Function("isProofRequired", "bool")]
|
|
public class IsProofRequiredFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "id", 1)]
|
|
public virtual byte[] Id { get; set; }
|
|
}
|
|
|
|
public partial class MarkProofAsMissingFunction : MarkProofAsMissingFunctionBase { }
|
|
|
|
[Function("markProofAsMissing")]
|
|
public class MarkProofAsMissingFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "slotId", 1)]
|
|
public virtual byte[] SlotId { get; set; }
|
|
[Parameter("uint256", "period", 2)]
|
|
public virtual BigInteger Period { get; set; }
|
|
}
|
|
public partial class MissingProofsOutputDTO : MissingProofsOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class MissingProofsOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("uint256", "", 1)]
|
|
public virtual BigInteger ReturnValue1 { get; set; }
|
|
}
|
|
public partial class MissingProofsFunction : MissingProofsFunctionBase { }
|
|
|
|
[Function("missingProofs", "uint256")]
|
|
public class MissingProofsFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "slotId", 1)]
|
|
public virtual byte[] SlotId { get; set; }
|
|
}
|
|
public partial class MyRequestsOutputDTO : MyRequestsOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class MyRequestsOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("bytes32[]", "", 1)]
|
|
public virtual List<byte[]> ReturnValue1 { get; set; }
|
|
}
|
|
public partial class MyRequestsFunction : MyRequestsFunctionBase { }
|
|
|
|
[Function("myRequests", "bytes32[]")]
|
|
public class MyRequestsFunctionBase : FunctionMessage
|
|
{
|
|
|
|
}
|
|
public partial class MySlotsOutputDTO : MySlotsOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class MySlotsOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("bytes32[]", "", 1)]
|
|
public virtual List<byte[]> ReturnValue1 { get; set; }
|
|
}
|
|
public partial class MySlotsFunction : MySlotsFunctionBase { }
|
|
|
|
[Function("mySlots", "bytes32[]")]
|
|
public class MySlotsFunctionBase : FunctionMessage
|
|
{
|
|
|
|
}
|
|
public partial class RequestEndOutputDTO : RequestEndOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class RequestEndOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("uint256", "", 1)]
|
|
public virtual BigInteger ReturnValue1 { get; set; }
|
|
}
|
|
public partial class RequestEndFunction : RequestEndFunctionBase { }
|
|
|
|
[Function("requestEnd", "uint256")]
|
|
public class RequestEndFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
public partial class RequestExpiryOutputDTO : RequestExpiryOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class RequestExpiryOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("uint256", "", 1)]
|
|
public virtual BigInteger ReturnValue1 { get; set; }
|
|
}
|
|
public partial class RequestExpiryFunction : RequestExpiryFunctionBase { }
|
|
|
|
[Function("requestExpiry", "uint256")]
|
|
public class RequestExpiryFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
public partial class RequestStateOutputDTO : RequestStateOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class RequestStateOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("uint8", "", 1)]
|
|
public virtual byte ReturnValue1 { get; set; }
|
|
}
|
|
public partial class RequestStateFunction : RequestStateFunctionBase { }
|
|
|
|
[Function("requestState", "uint8")]
|
|
public class RequestStateFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
|
|
public partial class RequestStorageFunction : RequestStorageFunctionBase { }
|
|
|
|
[Function("requestStorage")]
|
|
public class RequestStorageFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("tuple", "request", 1)]
|
|
public virtual Request Request { get; set; }
|
|
}
|
|
|
|
public partial class ReserveSlotFunction : ReserveSlotFunctionBase { }
|
|
|
|
[Function("reserveSlot")]
|
|
public class ReserveSlotFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("uint256", "slotIndex", 2)]
|
|
public virtual BigInteger SlotIndex { get; set; }
|
|
}
|
|
public partial class SlotStateOutputDTO : SlotStateOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class SlotStateOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("uint8", "", 1)]
|
|
public virtual byte ReturnValue1 { get; set; }
|
|
}
|
|
public partial class SlotStateFunction : SlotStateFunctionBase { }
|
|
|
|
[Function("slotState", "uint8")]
|
|
public class SlotStateFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "slotId", 1)]
|
|
public virtual byte[] SlotId { get; set; }
|
|
}
|
|
|
|
public partial class SubmitProofFunction : SubmitProofFunctionBase { }
|
|
|
|
[Function("submitProof")]
|
|
public class SubmitProofFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "id", 1)]
|
|
public virtual byte[] Id { get; set; }
|
|
[Parameter("tuple", "proof", 2)]
|
|
public virtual Groth16Proof Proof { get; set; }
|
|
}
|
|
public partial class TokenOutputDTO : TokenOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class TokenOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("address", "", 1)]
|
|
public virtual string ReturnValue1 { get; set; }
|
|
}
|
|
public partial class TokenFunction : TokenFunctionBase { }
|
|
|
|
[Function("token", "address")]
|
|
public class TokenFunctionBase : FunctionMessage
|
|
{
|
|
|
|
}
|
|
public partial class WillProofBeRequiredOutputDTO : WillProofBeRequiredOutputDTOBase { }
|
|
|
|
[FunctionOutput]
|
|
public class WillProofBeRequiredOutputDTOBase : IFunctionOutputDTO
|
|
{
|
|
[Parameter("bool", "", 1)]
|
|
public virtual bool ReturnValue1 { get; set; }
|
|
}
|
|
public partial class WillProofBeRequiredFunction : WillProofBeRequiredFunctionBase { }
|
|
|
|
[Function("willProofBeRequired", "bool")]
|
|
public class WillProofBeRequiredFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "id", 1)]
|
|
public virtual byte[] Id { get; set; }
|
|
}
|
|
|
|
public partial class WithdrawFundsFunction : WithdrawFundsFunctionBase { }
|
|
|
|
[Function("withdrawFunds")]
|
|
public class WithdrawFundsFunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
}
|
|
|
|
public partial class WithdrawFunds1Function : WithdrawFunds1FunctionBase { }
|
|
|
|
[Function("withdrawFunds")]
|
|
public class WithdrawFunds1FunctionBase : FunctionMessage
|
|
{
|
|
[Parameter("bytes32", "requestId", 1)]
|
|
public virtual byte[] RequestId { get; set; }
|
|
[Parameter("address", "withdrawRecipient", 2)]
|
|
public virtual string WithdrawRecipient { get; set; }
|
|
}
|
|
public partial class CollateralConfig : CollateralConfigBase { }
|
|
|
|
public class CollateralConfigBase
|
|
{
|
|
[Parameter("uint8", "repairRewardPercentage", 1)]
|
|
public virtual byte RepairRewardPercentage { get; set; }
|
|
[Parameter("uint8", "maxNumberOfSlashes", 2)]
|
|
public virtual byte MaxNumberOfSlashes { get; set; }
|
|
[Parameter("uint16", "slashCriterion", 3)]
|
|
public virtual ushort SlashCriterion { get; set; }
|
|
[Parameter("uint8", "slashPercentage", 4)]
|
|
public virtual byte SlashPercentage { get; set; }
|
|
}
|
|
public partial class ProofConfig : ProofConfigBase { }
|
|
|
|
public class ProofConfigBase
|
|
{
|
|
[Parameter("uint256", "period", 1)]
|
|
public virtual BigInteger Period { get; set; }
|
|
[Parameter("uint256", "timeout", 2)]
|
|
public virtual BigInteger Timeout { get; set; }
|
|
[Parameter("uint8", "downtime", 3)]
|
|
public virtual byte Downtime { get; set; }
|
|
[Parameter("string", "zkeyHash", 4)]
|
|
public virtual string ZkeyHash { get; set; }
|
|
[Parameter("uint8", "downtimeProduct", 5)]
|
|
public virtual byte DowntimeProduct { get; set; }
|
|
}
|
|
public partial class SlotReservationsConfig : SlotReservationsConfigBase { }
|
|
|
|
public class SlotReservationsConfigBase
|
|
{
|
|
[Parameter("uint8", "maxReservations", 1)]
|
|
public virtual byte MaxReservations { get; set; }
|
|
}
|
|
public partial class MarketplaceConfig : MarketplaceConfigBase { }
|
|
|
|
public class MarketplaceConfigBase
|
|
{
|
|
[Parameter("tuple", "collateral", 1)]
|
|
public virtual CollateralConfig Collateral { get; set; }
|
|
[Parameter("tuple", "proofs", 2)]
|
|
public virtual ProofConfig Proofs { get; set; }
|
|
[Parameter("tuple", "reservations", 3)]
|
|
public virtual SlotReservationsConfig Reservations { get; set; }
|
|
}
|
|
public partial class Ask : AskBase { }
|
|
|
|
public class AskBase
|
|
{
|
|
[Parameter("uint64", "slots", 1)]
|
|
public virtual ulong Slots { get; set; }
|
|
[Parameter("uint256", "slotSize", 2)]
|
|
public virtual BigInteger SlotSize { get; set; }
|
|
[Parameter("uint256", "duration", 3)]
|
|
public virtual BigInteger Duration { get; set; }
|
|
[Parameter("uint256", "proofProbability", 4)]
|
|
public virtual BigInteger ProofProbability { get; set; }
|
|
[Parameter("uint256", "reward", 5)]
|
|
public virtual BigInteger Reward { get; set; }
|
|
[Parameter("uint256", "collateral", 6)]
|
|
public virtual BigInteger Collateral { get; set; }
|
|
[Parameter("uint64", "maxSlotLoss", 7)]
|
|
public virtual ulong MaxSlotLoss { get; set; }
|
|
}
|
|
public partial class G1Point : G1PointBase { }
|
|
|
|
public class G1PointBase
|
|
{
|
|
[Parameter("uint256", "x", 1)]
|
|
public virtual BigInteger X { get; set; }
|
|
[Parameter("uint256", "y", 2)]
|
|
public virtual BigInteger Y { get; set; }
|
|
}
|
|
public partial class Fp2Element : Fp2ElementBase { }
|
|
|
|
public class Fp2ElementBase
|
|
{
|
|
[Parameter("uint256", "real", 1)]
|
|
public virtual BigInteger Real { get; set; }
|
|
[Parameter("uint256", "imag", 2)]
|
|
public virtual BigInteger Imag { get; set; }
|
|
}
|
|
public partial class G2Point : G2PointBase { }
|
|
|
|
public class G2PointBase
|
|
{
|
|
[Parameter("tuple", "x", 1)]
|
|
public virtual Fp2Element X { get; set; }
|
|
[Parameter("tuple", "y", 2)]
|
|
public virtual Fp2Element Y { get; set; }
|
|
}
|
|
public partial class Groth16Proof : Groth16ProofBase { }
|
|
|
|
public class Groth16ProofBase
|
|
{
|
|
[Parameter("tuple", "a", 1)]
|
|
public virtual G1Point A { get; set; }
|
|
[Parameter("tuple", "b", 2)]
|
|
public virtual G2Point B { get; set; }
|
|
[Parameter("tuple", "c", 3)]
|
|
public virtual G1Point C { get; set; }
|
|
}
|
|
public partial class Content : ContentBase { }
|
|
|
|
public class ContentBase
|
|
{
|
|
[Parameter("string", "cid", 1)]
|
|
public virtual string Cid { get; set; }
|
|
[Parameter("bytes32", "merkleRoot", 2)]
|
|
public virtual byte[] MerkleRoot { get; set; }
|
|
}
|
|
public partial class Request : RequestBase { }
|
|
|
|
public class RequestBase
|
|
{
|
|
[Parameter("address", "client", 1)]
|
|
public virtual string Client { get; set; }
|
|
[Parameter("tuple", "ask", 2)]
|
|
public virtual Ask Ask { get; set; }
|
|
[Parameter("tuple", "content", 3)]
|
|
public virtual Content Content { get; set; }
|
|
[Parameter("uint256", "expiry", 4)]
|
|
public virtual BigInteger Expiry { get; set; }
|
|
[Parameter("bytes32", "nonce", 5)]
|
|
public virtual byte[] Nonce { get; set; }
|
|
}
|
|
public partial class ActiveSlot : ActiveSlotBase { }
|
|
|
|
public class ActiveSlotBase
|
|
{
|
|
[Parameter("tuple", "request", 1)]
|
|
public virtual Request Request { get; set; }
|
|
[Parameter("uint256", "slotIndex", 2)]
|
|
public virtual BigInteger SlotIndex { get; set; }
|
|
}
|
|
|
|
}
|
|
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|