Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume DEWISME
CI
Commits
a08e51e5
Commit
a08e51e5
authored
Mar 23, 2025
by
Quentin Hamitouche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update contract version
parent
7f9938e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
Voting.json
frontend/src/contracts/Voting.json
+9
-2
contract.js
frontend/src/utils/contract.js
+1
-1
No files found.
frontend/src/contracts/Voting.json
View file @
a08e51e5
...
...
@@ -320,6 +320,13 @@
"stateMutability"
:
"nonpayable"
,
"type"
:
"function"
},
{
"inputs"
:
[],
"name"
:
"resetVoting"
,
"outputs"
:
[],
"stateMutability"
:
"nonpayable"
,
"type"
:
"function"
},
{
"inputs"
:
[
{
...
...
@@ -419,8 +426,8 @@
"type"
:
"function"
}
],
"bytecode"
:
"0x60806040523480156
200001157600080fd5b5060405162001cf438038062001cf4833981016040819052620000349162000158565b806001600160a01b0381166200006457604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6200006f8162000108565b506003805460ff191690556040805160808101825260109181019182526f11d95b995cda5cc8141c9bdc1bdcd85b60821b60608201529081526000602082018190526002805460018101825591819052825191027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01908190620000f490826200022f565b5060208201518160010155505050620002fb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200016b57600080fd5b81516001600160a01b03811681146200018357600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b557607f821691505b602082108103620001d657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022a57600081815260208120601f850160051c81016020861015620002055750805b601f850160051c820191505b81811015620002265782815560010162000211565b5050505b505050565b81516001600160401b038111156200024b576200024b6200018a565b62000263816200025c8454620001a0565b84620001dc565b602080601f8311600181146200029b5760008415620002825750858301515b600019600386901b1c1916600185901b17855562000226565b600085815260208120601f198616915b82811015620002cc57888601518255948401946001909101908401620002ab565b5085821015620002eb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6119e9806200030b6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80638f60c0e2116100b8578063a7bfab161161007c578063a7bfab161461026c578063c64963c514610274578063c7f758a81461027d578063d4f50f981461029e578063dff7d2c7146102ce578063f2fde38b146102d757600080fd5b80638f60c0e21461021c5780639823004f1461022457806398e527d3146102375780639980a55a1461023f578063a1edffa21461025257600080fd5b806338db6dd31161010a57806338db6dd3146101be5780636c297445146101d1578063715018a6146101d95780638bc6a6dd146101e15780638da5cb5b146101f45780638e7ea5b21461020557600080fd5b80630121b93f146101475780631ea736e01461015c5780632b293768146101785780632f95355b146101a3578063378a2178146101b6575b600080fd5b61015a610155366004611576565b6102ea565b005b61016560065481565b6040519081526020015b60405180910390f35b61018b61018636600461158f565b610502565b6040516001600160a01b03909116815260200161016f565b61015a6101b13660046115bf565b610550565b61015a610795565b61015a6101cc36600461158f565b6108d1565b61015a610a19565b61015a610ae0565b61015a6101ef366004611576565b610af4565b6000546001600160a01b031661018b565b61020d610bcc565b60405161016f93929190611677565b61015a610d33565b61015a61023236600461158f565b610dd6565b600254610165565b61015a61024d366004611576565b61119f565b60035461025f9060ff1681565b60405161016f91906116d8565b61015a61126d565b61016560045481565b61029061028b366004611576565b611304565b60405161016f9291906116ec565b6102b16102ac36600461158f565b611437565b60408051931515845291151560208401529082015260600161016f565b61016560055481565b61015a6102e536600461158f565b6114bb565b3360009081526001602052604090205460ff166103225760405162461bcd60e51b81526004016103199061170e565b60405180910390fd5b6003805460ff16600581111561033a5761033a6116a0565b146103575760405162461bcd60e51b815260040161031990611754565b33600090815260016020526040902054610100900460ff16156103b25760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b6044820152606401610319565b60025481106104035760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e276578697374652070617300000000006044820152606401610319565b6006544211156104555760405162461bcd60e51b815260206004820152601f60248201527f4c6120706572696f646520646520766f746520657374207465726d696e6565006044820152606401610319565b336000908152600160208181526040808420805461ff001916610100178155909201849055600790529020546001600160a01b03166104c557600281815481106104a1576104a1611797565b6000918252602082206001600290920201018054916104bf836117c3565b91905055505b60408051338152602081018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca491015b60405180910390a150565b3360009081526001602052604081205460ff166105315760405162461bcd60e51b81526004016103199061170e565b506001600160a01b039081166000908152600760205260409020541690565b3360009081526001602052604090205460ff1661057f5760405162461bcd60e51b81526004016103199061170e565b600160035460ff166005811115610598576105986116a0565b1461060b5760405162461bcd60e51b815260206004820152603d60248201527f4c612073657373696f6e206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e73206e2765737420706173206163746976650000006064820152608401610319565b806106645760405162461bcd60e51b8152602060048201526024808201527f4c61206465736372697074696f6e206e652070657574207061732065747265206044820152637669646560e01b6064820152608401610319565b6005544211156106dc5760405162461bcd60e51b815260206004820152603960248201527f4c6120706572696f6465206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e7320657374207465726d696e6565000000000000006064820152608401610319565b6040805160606020601f8501819004028201810183529181018381526002928291908690869081908501838280828437600092018290525093855250505060209182018190528354600181018555938152208151919260020201908190610743908261187b565b50602091909101516001918201556002547f92e393e9b54e2f801d3ea4beb0c5e71a21cc34a5d34b77d0fb8a3aa1650dc18f9161077f9161193b565b6040519081526020015b60405180910390a15050565b61079d6114f9565b600460035460ff1660058111156107b6576107b66116a0565b1461081e5760405162461bcd60e51b815260206004820152603260248201527f4c6520636f6d70746167652064657320766f746573206e652070657574207061604482015271399032b731b7b9329031b7b6b6b2b731b2b960711b6064820152608401610319565b6003805460ff19811660051790915560ff166000805b6002548110156108ab57816002828154811061085257610852611797565b9060005260206000209060020201600101541115610899576002818154811061087d5761087d611797565b9060005260206000209060020201600101549150806004819055505b806108a3816117c3565b915050610834565b506003546040516000805160206119948339815191529161078991859160ff169061194e565b6108d96114f9565b600060035460ff1660058111156108f2576108f26116a0565b1461095b5760405162461bcd60e51b815260206004820152603360248201527f4c6120706572696f6465206427696e736372697074696f6e2064657320656c6560448201527263746575727320657374207465726d696e656560681b6064820152608401610319565b6001600160a01b03811660009081526001602052604090205460ff16156109c45760405162461bcd60e51b815260206004820152601e60248201527f4c27656c656374657572206573742064656a6120656e726567697374726500006044820152606401610319565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527fb6be2187d059cc2a55fe29e0e503b566e1e0f8c8780096e185429350acffd3dd91016104f7565b610a216114f9565b600160035460ff166005811115610a3a57610a3a6116a0565b14610aa25760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b6064820152608401610319565b6003805460ff81169160029160ff19166001835b0217905550600354604051600080516020611994833981519152916104f791849160ff169061194e565b610ae86114f9565b610af26000611526565b565b610afc6114f9565b600060035460ff166005811115610b1557610b156116a0565b14610b7d5760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b6064820152608401610319565b6003805460ff19811660011790915560ff16610b9a82603c611969565b610ba49042611980565b6005556003546040516000805160206119948339815191529161078991849160ff169061194e565b6000606081600560035460ff166005811115610bea57610bea6116a0565b14610c4c5760405162461bcd60e51b815260206004820152602c60248201527f4c657320766f746573206e276f6e742070617320656e636f726520657465206360448201526b6f6d70746162696c6973657360a01b6064820152608401610319565b600454600260045481548110610c6457610c64611797565b9060005260206000209060020201600001600260045481548110610c8a57610c8a611797565b906000526020600020906002020160010154818054610ca8906117f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd4906117f2565b8015610d215780601f10610cf657610100808354040283529160200191610d21565b820191906000526020600020905b815481529060010190602001808311610d0457829003601f168201915b50505050509150925092509250909192565b600160035460ff166005811115610d4c57610d4c6116a0565b148015610d5a575060055442115b15610d935760038054600260ff198216811790925560405160ff90911691600080516020611994833981519152916104f791849161194e565b6003805460ff166005811115610dab57610dab6116a0565b148015610db9575060065442115b15610af2576003805460ff81169160049160ff1916600183610ab6565b3360009081526001602052604090205460ff16610e055760405162461bcd60e51b81526004016103199061170e565b6003805460ff166005811115610e1d57610e1d6116a0565b14610e3a5760405162461bcd60e51b815260040161031990611754565b33600090815260016020526040902054610100900460ff1615610e955760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b6044820152606401610319565b336001600160a01b03821603610f085760405162461bcd60e51b815260206004820152603260248201527f566f7573206e6520706f7576657a207061732064656c656775657220766f74726044820152716520766f7465206120766f75732d6d656d6560701b6064820152608401610319565b6001600160a01b03811660009081526001602052604090205460ff16610f895760405162461bcd60e51b815260206004820152603060248201527f4c2761647265737365206369626c65206e276573742070617320756e20656c6560448201526f637465757220656e726567697374726560801b6064820152608401610319565b336000908152600760205260409020546001600160a01b031615610ff95760405162461bcd60e51b815260206004820152602160248201527f566f7573206176657a2064656a612064656c6567756520766f74726520766f746044820152606560f81b6064820152608401610319565b805b6001600160a01b0381811660009081526007602052604090205416156110a5576001600160a01b03818116600090815260076020526040902054339116036110855760405162461bcd60e51b815260206004820152601d60248201527f426f75636c652064652064656c65676174696f6e2064657465637465650000006044820152606401610319565b6001600160a01b0390811660009081526007602052604090205416610ffb565b33600090815260076020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526001909152902054610100900460ff161561119b576001600160a01b03821660009081526001602081905260409091200154600280548290811061111b5761111b611797565b600091825260208220600160029092020101805491611139836117c3565b909155505033600081815260016020818152604092839020805461ff001916610100178155909101849055815192835282018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca4910160405180910390a1505b5050565b6111a76114f9565b600260035460ff1660058111156111c0576111c06116a0565b1461121f5760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152686e20646520766f746560b81b6064820152608401610319565b6003805460ff198116821790915560ff1661123b82603c611969565b6112459042611980565b6006556003546040516000805160206119948339815191529161078991849160ff169061194e565b6112756114f9565b6003805460ff16600581111561128d5761128d6116a0565b146112ec5760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152686e20646520766f746560b81b6064820152608401610319565b6003805460ff81169160049160ff1916600183610ab6565b600254606090600090831061135b5760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e276578697374652070617300000000006044820152606401610319565b60006002848154811061137057611370611797565b9060005260206000209060020201604051806040016040529081600082018054611399906117f2565b80601f01602080910402602001604051908101604052809291908181526020018280546113c5906117f2565b80156114125780601f106113e757610100808354040283529160200191611412565b820191906000526020600020905b8154815290600101906020018083116113f557829003601f168201915b5050509183525050600191909101546020918201528151910151909590945092505050565b336000908152600160205260408120548190819060ff1661146a5760405162461bcd60e51b81526004016103199061170e565b5050506001600160a01b03166000908152600160208181526040928390208351606081018552815460ff80821615158084526101009092041615159382018490529190930154929093018290529192565b6114c36114f9565b6001600160a01b0381166114ed57604051631e4fbdf760e01b815260006004820152602401610319565b6114f681611526565b50565b6000546001600160a01b03163314610af25760405163118cdaa760e01b8152336004820152602401610319565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561158857600080fd5b5035919050565b6000602082840312156115a157600080fd5b81356001600160a01b03811681146115b857600080fd5b9392505050565b600080602083850312156115d257600080fd5b823567ffffffffffffffff808211156115ea57600080fd5b818501915085601f8301126115fe57600080fd5b81358181111561160d57600080fd5b86602082850101111561161f57600080fd5b60209290920196919550909350505050565b6000815180845260005b818110156116575760208185018101518683018201520161163b565b506000602082860101526020601f19601f83011685010191505092915050565b8381526060602082015260006116906060830185611631565b9050826040830152949350505050565b634e487b7160e01b600052602160045260246000fd5b600681106116d457634e487b7160e01b600052602160045260246000fd5b9052565b602081016116e682846116b6565b92915050565b6040815260006116ff6040830185611631565b90508260208301529392505050565b60208082526026908201527f566f7573206e27657465732070617320756e20656c65637465757220656e726560408201526567697374726560d01b606082015260800190565b60208082526023908201527f4c612073657373696f6e20646520766f7465206e27657374207061732061637460408201526269766560e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016117d5576117d56117ad565b5060010190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061180657607f821691505b60208210810361182657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561187657600081815260208120601f850160051c810160208610156118535750805b601f850160051c820191505b818110156118725782815560010161185f565b5050505b505050565b815167ffffffffffffffff811115611895576118956117dc565b6118a9816118a384546117f2565b8461182c565b602080601f8311600181146118de57600084156118c65750858301515b600019600386901b1c1916600185901b178555611872565b600085815260208120601f198616915b8281101561190d578886015182559484019460019091019084016118ee565b508582101561192b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156116e6576116e66117ad565b6040810161195c82856116b6565b6115b860208301846116b6565b80820281158282048414176116e6576116e66117ad565b808201808211156116e6576116e66117ad56fe0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3fa2646970667358221220872fc23cec507cdef06d903335713796f831196034d62e57434984a3af2d000364736f6c6343000814
0033"
,
"deployedBytecode"
:
"0x608060405234801561001057600080fd5b506004361061014
25760003560e01c80638f60c0e2116100b8578063a7bfab161161007c578063a7bfab161461026c578063c64963c514610274578063c7f758a81461027d578063d4f50f981461029e578063dff7d2c7146102ce578063f2fde38b146102d757600080fd5b80638f60c0e21461021c5780639823004f1461022457806398e527d3146102375780639980a55a1461023f578063a1edffa21461025257600080fd5b806338db6dd31161010a57806338db6dd3146101be5780636c297445146101d1578063715018a6146101d95780638bc6a6dd146101e15780638da5cb5b146101f45780638e7ea5b21461020557600080fd5b80630121b93f146101475780631ea736e01461015c5780632b293768146101785780632f95355b146101a3578063378a2178146101b6575b600080fd5b61015a610155366004611576565b6102ea565b005b61016560065481565b6040519081526020015b60405180910390f35b61018b61018636600461158f565b610502565b6040516001600160a01b03909116815260200161016f565b61015a6101b13660046115bf565b610550565b61015a610795565b61015a6101cc36600461158f565b6108d1565b61015a610a19565b61015a610ae0565b61015a6101ef366004611576565b610af4565b6000546001600160a01b031661018b565b61020d610bcc565b60405161016f93929190611677565b61015a610d33565b61015a61023236600461158f565b610dd6565b600254610165565b61015a61024d366004611576565b61119f565b60035461025f9060ff1681565b60405161016f91906116d8565b61015a61126d565b61016560045481565b61029061028b366004611576565b611304565b60405161016f9291906116ec565b6102b16102ac36600461158f565b611437565b60408051931515845291151560208401529082015260600161016f565b61016560055481565b61015a6102e536600461158f565b6114bb565b3360009081526001602052604090205460ff166103225760405162461bcd60e51b81526004016103199061170e565b60405180910390fd5b6003805460ff16600581111561033a5761033a6116a0565b146103575760405162461bcd60e51b815260040161031990611754565b33600090815260016020526040902054610100900460ff16156103b25760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b6044820152606401610319565b60025481106104035760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e276578697374652070617300000000006044820152606401610319565b6006544211156104555760405162461bcd60e51b815260206004820152601f60248201527f4c6120706572696f646520646520766f746520657374207465726d696e6565006044820152606401610319565b336000908152600160208181526040808420805461ff001916610100178155909201849055600790529020546001600160a01b03166104c557600281815481106104a1576104a1611797565b6000918252602082206001600290920201018054916104bf836117c3565b91905055505b60408051338152602081018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca491015b60405180910390a150565b3360009081526001602052604081205460ff166105315760405162461bcd60e51b81526004016103199061170e565b506001600160a01b039081166000908152600760205260409020541690565b3360009081526001602052604090205460ff1661057f5760405162461bcd60e51b81526004016103199061170e565b600160035460ff166005811115610598576105986116a0565b1461060b5760405162461bcd60e51b815260206004820152603d60248201527f4c612073657373696f6e206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e73206e2765737420706173206163746976650000006064820152608401610319565b806106645760405162461bcd60e51b8152602060048201526024808201527f4c61206465736372697074696f6e206e652070657574207061732065747265206044820152637669646560e01b6064820152608401610319565b6005544211156106dc5760405162461bcd60e51b815260206004820152603960248201527f4c6120706572696f6465206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e7320657374207465726d696e6565000000000000006064820152608401610319565b6040805160606020601f8501819004028201810183529181018381526002928291908690869081908501838280828437600092018290525093855250505060209182018190528354600181018555938152208151919260020201908190610743908261187b565b50602091909101516001918201556002547f92e393e9b54e2f801d3ea4beb0c5e71a21cc34a5d34b77d0fb8a3aa1650dc18f9161077f9161193b565b6040519081526020015b60405180910390a15050565b61079d6114f9565b600460035460ff1660058111156107b6576107b66116a0565b1461081e5760405162461bcd60e51b815260206004820152603260248201527f4c6520636f6d70746167652064657320766f746573206e652070657574207061604482015271399032b731b7b9329031b7b6b6b2b731b2b960711b6064820152608401610319565b6003805460ff19811660051790915560ff166000805b6002548110156108ab57816002828154811061085257610852611797565b9060005260206000209060020201600101541115610899576002818154811061087d5761087d611797565b9060005260206000209060020201600101549150806004819055505b806108a3816117c3565b915050610834565b506003546040516000805160206119948339815191529161078991859160ff169061194e565b6108d96114f9565b600060035460ff1660058111156108f2576108f26116a0565b1461095b5760405162461bcd60e51b815260206004820152603360248201527f4c6120706572696f6465206427696e736372697074696f6e2064657320656c6560448201527263746575727320657374207465726d696e656560681b6064820152608401610319565b6001600160a01b03811660009081526001602052604090205460ff16156109c45760405162461bcd60e51b815260206004820152601e60248201527f4c27656c656374657572206573742064656a6120656e726567697374726500006044820152606401610319565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527fb6be2187d059cc2a55fe29e0e503b566e1e0f8c8780096e185429350acffd3dd91016104f7565b610a216114f9565b600160035460ff166005811115610a3a57610a3a6116a0565b14610aa25760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b6064820152608401610319565b6003805460ff81169160029160ff19166001835b0217905550600354604051600080516020611994833981519152916104f791849160ff169061194e565b610ae86114f9565b610af26000611526565b565b610afc6114f9565b600060035460ff166005811115610b1557610b156116a0565b14610b7d5760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b6064820152608401610319565b6003805460ff19811660011790915560ff16610b9a82603c611969565b610ba49042611980565b6005556003546040516000805160206119948339815191529161078991849160ff169061194e565b6000606081600560035460ff166005811115610bea57610bea6116a0565b14610c4c5760405162461bcd60e51b815260206004820152602c60248201527f4c657320766f746573206e276f6e742070617320656e636f726520657465206360448201526b6f6d70746162696c6973657360a01b6064820152608401610319565b600454600260045481548110610c6457610c64611797565b9060005260206000209060020201600001600260045481548110610c8a57610c8a611797565b906000526020600020906002020160010154818054610ca8906117f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd4906117f2565b8015610d215780601f10610cf657610100808354040283529160200191610d21565b820191906000526020600020905b815481529060010190602001808311610d0457829003601f168201915b50505050509150925092509250909192565b600160035460ff166005811115610d4c57610d4c6116a0565b148015610d5a575060055442115b15610d935760038054600260ff198216811790925560405160ff90911691600080516020611994833981519152916104f791849161194e565b6003805460ff166005811115610dab57610dab6116a0565b148015610db9575060065442115b15610af2576003805460ff81169160049160ff1916600183610ab6565b3360009081526001602052604090205460ff16610e055760405162461bcd60e51b81526004016103199061170e565b6003805460ff166005811115610e1d57610e1d6116a0565b14610e3a5760405162461bcd60e51b815260040161031990611754565b33600090815260016020526040902054610100900460ff1615610e955760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b6044820152606401610319565b336001600160a01b03821603610f085760405162461bcd60e51b815260206004820152603260248201527f566f7573206e6520706f7576657a207061732064656c656775657220766f74726044820152716520766f7465206120766f75732d6d656d6560701b6064820152608401610319565b6001600160a01b03811660009081526001602052604090205460ff16610f895760405162461bcd60e51b815260206004820152603060248201527f4c2761647265737365206369626c65206e276573742070617320756e20656c6560448201526f637465757220656e726567697374726560801b6064820152608401610319565b336000908152600760205260409020546001600160a01b031615610ff95760405162461bcd60e51b815260206004820152602160248201527f566f7573206176657a2064656a612064656c6567756520766f74726520766f746044820152606560f81b6064820152608401610319565b805b6001600160a01b0381811660009081526007602052604090205416156110a5576001600160a01b03818116600090815260076020526040902054339116036110855760405162461bcd60e51b815260206004820152601d60248201527f426f75636c652064652064656c65676174696f6e2064657465637465650000006044820152606401610319565b6001600160a01b0390811660009081526007602052604090205416610ffb565b33600090815260076020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526001909152902054610100900460ff161561119b576001600160a01b03821660009081526001602081905260409091200154600280548290811061111b5761111b611797565b600091825260208220600160029092020101805491611139836117c3565b909155505033600081815260016020818152604092839020805461ff001916610100178155909101849055815192835282018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca4910160405180910390a1505b5050565b6111a76114f9565b600260035460ff1660058111156111c0576111c06116a0565b1461121f5760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152686e20646520766f746560b81b6064820152608401610319565b6003805460ff198116821790915560ff1661123b82603c611969565b6112459042611980565b6006556003546040516000805160206119948339815191529161078991849160ff169061194e565b6112756114f9565b6003805460ff16600581111561128d5761128d6116a0565b146112ec5760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152686e20646520766f746560b81b6064820152608401610319565b6003805460ff81169160049160ff1916600183610ab6565b600254606090600090831061135b5760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e276578697374652070617300000000006044820152606401610319565b60006002848154811061137057611370611797565b9060005260206000209060020201604051806040016040529081600082018054611399906117f2565b80601f01602080910402602001604051908101604052809291908181526020018280546113c5906117f2565b80156114125780601f106113e757610100808354040283529160200191611412565b820191906000526020600020905b8154815290600101906020018083116113f557829003601f168201915b5050509183525050600191909101546020918201528151910151909590945092505050565b336000908152600160205260408120548190819060ff1661146a5760405162461bcd60e51b81526004016103199061170e565b5050506001600160a01b03166000908152600160208181526040928390208351606081018552815460ff80821615158084526101009092041615159382018490529190930154929093018290529192565b6114c36114f9565b6001600160a01b0381166114ed57604051631e4fbdf760e01b815260006004820152602401610319565b6114f681611526565b50565b6000546001600160a01b03163314610af25760405163118cdaa760e01b8152336004820152602401610319565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561158857600080fd5b5035919050565b6000602082840312156115a157600080fd5b81356001600160a01b03811681146115b857600080fd5b9392505050565b600080602083850312156115d257600080fd5b823567ffffffffffffffff808211156115ea57600080fd5b818501915085601f8301126115fe57600080fd5b81358181111561160d57600080fd5b86602082850101111561161f57600080fd5b60209290920196919550909350505050565b6000815180845260005b818110156116575760208185018101518683018201520161163b565b506000602082860101526020601f19601f83011685010191505092915050565b8381526060602082015260006116906060830185611631565b9050826040830152949350505050565b634e487b7160e01b600052602160045260246000fd5b600681106116d457634e487b7160e01b600052602160045260246000fd5b9052565b602081016116e682846116b6565b92915050565b6040815260006116ff6040830185611631565b90508260208301529392505050565b60208082526026908201527f566f7573206e27657465732070617320756e20656c65637465757220656e726560408201526567697374726560d01b606082015260800190565b60208082526023908201527f4c612073657373696f6e20646520766f7465206e27657374207061732061637460408201526269766560e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016117d5576117d56117ad565b5060010190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061180657607f821691505b60208210810361182657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561187657600081815260208120601f850160051c810160208610156118535750805b601f850160051c820191505b818110156118725782815560010161185f565b5050505b505050565b815167ffffffffffffffff811115611895576118956117dc565b6118a9816118a384546117f2565b8461182c565b602080601f8311600181146118de57600084156118c65750858301515b600019600386901b1c1916600185901b178555611872565b600085815260208120601f198616915b8281101561190d578886015182559484019460019091019084016118ee565b508582101561192b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156116e6576116e66117ad565b6040810161195c82856116b6565b6115b860208301846116b6565b80820281158282048414176116e6576116e66117ad565b808201808211156116e6576116e66117ad56fe0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3fa2646970667358221220872fc23cec507cdef06d903335713796f831196034d62e57434984a3af2d000364736f6c6343000814
0033"
,
"bytecode"
:
"0x60806040523480156
1001057600080fd5b50604051611c5d380380611c5d83398101604081905261002f916100c8565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61006781610078565b50506003805460ff191690556100f8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100da57600080fd5b81516001600160a01b03811681146100f157600080fd5b9392505050565b611b56806101076000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80638e7ea5b2116100c3578063a7bfab161161007c578063a7bfab161461027f578063c64963c514610287578063c7f758a814610290578063d4f50f98146102b1578063dff7d2c7146102e1578063f2fde38b146102ea57600080fd5b80638e7ea5b2146102185780638f60c0e21461022f5780639823004f1461023757806398e527d31461024a5780639980a55a14610252578063a1edffa21461026557600080fd5b806338db6dd31161011557806338db6dd3146101c95780636c297445146101dc578063715018a6146101e4578063856e698c146101ec5780638bc6a6dd146101f45780638da5cb5b1461020757600080fd5b80630121b93f146101525780631ea736e0146101675780632b293768146101835780632f95355b146101ae578063378a2178146101c1575b600080fd5b6101656101603660046116cc565b6102fd565b005b61017060065481565b6040519081526020015b60405180910390f35b6101966101913660046116e5565b610515565b6040516001600160a01b03909116815260200161017a565b6101656101bc366004611715565b610563565b6101656107a8565b6101656101d73660046116e5565b6108da565b610165610a22565b610165610ae9565b610165610afd565b6101656102023660046116cc565b610bfc565b6000546001600160a01b0316610196565b610220610cd4565b60405161017a939291906117cf565b610165610e3b565b6101656102453660046116e5565b610ede565b600254610170565b6101656102603660046116cc565b6112a7565b6003546102729060ff1681565b60405161017a9190611830565b610165611375565b61017060045481565b6102a361029e3660046116cc565b61140c565b60405161017a929190611844565b6102c46102bf3660046116e5565b61153f565b60408051931515845291151560208401529082015260600161017a565b61017060055481565b6101656102f83660046116e5565b6115c3565b3360009081526001602052604090205460ff166103355760405162461bcd60e51b815260040161032c90611866565b60405180910390fd5b6003805460ff16600581111561034d5761034d6117f8565b1461036a5760405162461bcd60e51b815260040161032c906118ac565b33600090815260016020526040902054610100900460ff16156103c55760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b604482015260640161032c565b60025481106104165760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e27657869737465207061730000000000604482015260640161032c565b6006544211156104685760405162461bcd60e51b815260206004820152601f60248201527f4c6120706572696f646520646520766f746520657374207465726d696e656500604482015260640161032c565b336000908152600160208181526040808420805461ff001916610100178155909201849055600790529020546001600160a01b03166104d857600281815481106104b4576104b46118ef565b6000918252602082206001600290920201018054916104d28361191b565b91905055505b60408051338152602081018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca491015b60405180910390a150565b3360009081526001602052604081205460ff166105445760405162461bcd60e51b815260040161032c90611866565b506001600160a01b039081166000908152600760205260409020541690565b3360009081526001602052604090205460ff166105925760405162461bcd60e51b815260040161032c90611866565b600160035460ff1660058111156105ab576105ab6117f8565b1461061e5760405162461bcd60e51b815260206004820152603d60248201527f4c612073657373696f6e206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e73206e276573742070617320616374697665000000606482015260840161032c565b806106775760405162461bcd60e51b8152602060048201526024808201527f4c61206465736372697074696f6e206e652070657574207061732065747265206044820152637669646560e01b606482015260840161032c565b6005544211156106ef5760405162461bcd60e51b815260206004820152603960248201527f4c6120706572696f6465206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e7320657374207465726d696e656500000000000000606482015260840161032c565b6040805160606020601f850181900402820181018352918101838152600292829190869086908190850183828082843760009201829052509385525050506020918201819052835460018101855593815220815191926002020190819061075690826119d3565b50602091909101516001918201556002547f92e393e9b54e2f801d3ea4beb0c5e71a21cc34a5d34b77d0fb8a3aa1650dc18f9161079291611a92565b6040519081526020015b60405180910390a15050565b6107b0611601565b600460035460ff1660058111156107c9576107c96117f8565b146108315760405162461bcd60e51b815260206004820152603260248201527f4c6520636f6d70746167652064657320766f746573206e652070657574207061604482015271399032b731b7b9329031b7b6b6b2b731b2b960711b606482015260840161032c565b6003805460ff19811660051790915560ff166000805b6002548110156108b4578160028281548110610865576108656118ef565b90600052602060002090600202016001015411156108ac5760028181548110610890576108906118ef565b9060005260206000209060020201600101549150806004819055505b600101610847565b50600354604051600080516020611b018339815191529161079c91859160ff1690611aa5565b6108e2611601565b600060035460ff1660058111156108fb576108fb6117f8565b146109645760405162461bcd60e51b815260206004820152603360248201527f4c6120706572696f6465206427696e736372697074696f6e2064657320656c6560448201527263746575727320657374207465726d696e656560681b606482015260840161032c565b6001600160a01b03811660009081526001602052604090205460ff16156109cd5760405162461bcd60e51b815260206004820152601e60248201527f4c27656c656374657572206573742064656a6120656e72656769737472650000604482015260640161032c565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527fb6be2187d059cc2a55fe29e0e503b566e1e0f8c8780096e185429350acffd3dd910161050a565b610a2a611601565b600160035460ff166005811115610a4357610a436117f8565b14610aab5760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b606482015260840161032c565b6003805460ff81169160029160ff19166001835b0217905550600354604051600080516020611b018339815191529161050a91849160ff1690611aa5565b610af1611601565b610afb600061162e565b565b610b05611601565b600560035460ff166005811115610b1e57610b1e6117f8565b14610b835760405162461bcd60e51b815260206004820152602f60248201527f496d706f737369626c65206465207265696e697469616c6973657220756e207660448201526e6f7465206e6f6e2d7465726d696e6560881b606482015260840161032c565b60005b600254811015610bd2576002805480610ba157610ba1611ac0565b60008281526020812060001990920191600283020190610bc1828261167e565b506000600191820155915501610b86565b506000600481815560058290556006919091556003805460ff811692919060ff1916600183610abf565b610c04611601565b600060035460ff166005811115610c1d57610c1d6117f8565b14610c855760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b606482015260840161032c565b6003805460ff19811660011790915560ff16610ca282603c611ad6565b610cac9042611aed565b600555600354604051600080516020611b018339815191529161079c91849160ff1690611aa5565b6000606081600560035460ff166005811115610cf257610cf26117f8565b14610d545760405162461bcd60e51b815260206004820152602c60248201527f4c657320766f746573206e276f6e742070617320656e636f726520657465206360448201526b6f6d70746162696c6973657360a01b606482015260840161032c565b600454600260045481548110610d6c57610d6c6118ef565b9060005260206000209060020201600001600260045481548110610d9257610d926118ef565b906000526020600020906002020160010154818054610db09061194a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddc9061194a565b8015610e295780601f10610dfe57610100808354040283529160200191610e29565b820191906000526020600020905b815481529060010190602001808311610e0c57829003601f168201915b50505050509150925092509250909192565b600160035460ff166005811115610e5457610e546117f8565b148015610e62575060055442115b15610e9b5760038054600260ff198216811790925560405160ff90911691600080516020611b018339815191529161050a918491611aa5565b6003805460ff166005811115610eb357610eb36117f8565b148015610ec1575060065442115b15610afb576003805460ff81169160049160ff1916600183610abf565b3360009081526001602052604090205460ff16610f0d5760405162461bcd60e51b815260040161032c90611866565b6003805460ff166005811115610f2557610f256117f8565b14610f425760405162461bcd60e51b815260040161032c906118ac565b33600090815260016020526040902054610100900460ff1615610f9d5760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b604482015260640161032c565b336001600160a01b038216036110105760405162461bcd60e51b815260206004820152603260248201527f566f7573206e6520706f7576657a207061732064656c656775657220766f74726044820152716520766f7465206120766f75732d6d656d6560701b606482015260840161032c565b6001600160a01b03811660009081526001602052604090205460ff166110915760405162461bcd60e51b815260206004820152603060248201527f4c2761647265737365206369626c65206e276573742070617320756e20656c6560448201526f637465757220656e726567697374726560801b606482015260840161032c565b336000908152600760205260409020546001600160a01b0316156111015760405162461bcd60e51b815260206004820152602160248201527f566f7573206176657a2064656a612064656c6567756520766f74726520766f746044820152606560f81b606482015260840161032c565b805b6001600160a01b0381811660009081526007602052604090205416156111ad576001600160a01b038181166000908152600760205260409020543391160361118d5760405162461bcd60e51b815260206004820152601d60248201527f426f75636c652064652064656c65676174696f6e206465746563746565000000604482015260640161032c565b6001600160a01b0390811660009081526007602052604090205416611103565b33600090815260076020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526001909152902054610100900460ff16156112a3576001600160a01b038216600090815260016020819052604090912001546002805482908110611223576112236118ef565b6000918252602082206001600290920201018054916112418361191b565b909155505033600081815260016020818152604092839020805461ff001916610100178155909101849055815192835282018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca4910160405180910390a1505b5050565b6112af611601565b600260035460ff1660058111156112c8576112c86117f8565b146113275760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152686e20646520766f746560b81b606482015260840161032c565b6003805460ff198116821790915560ff1661134382603c611ad6565b61134d9042611aed565b600655600354604051600080516020611b018339815191529161079c91849160ff1690611aa5565b61137d611601565b6003805460ff166005811115611395576113956117f8565b146113f45760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152686e20646520766f746560b81b606482015260840161032c565b6003805460ff81169160049160ff1916600183610abf565b60025460609060009083106114635760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e27657869737465207061730000000000604482015260640161032c565b600060028481548110611478576114786118ef565b90600052602060002090600202016040518060400160405290816000820180546114a19061194a565b80601f01602080910402602001604051908101604052809291908181526020018280546114cd9061194a565b801561151a5780601f106114ef5761010080835404028352916020019161151a565b820191906000526020600020905b8154815290600101906020018083116114fd57829003601f168201915b5050509183525050600191909101546020918201528151910151909590945092505050565b336000908152600160205260408120548190819060ff166115725760405162461bcd60e51b815260040161032c90611866565b5050506001600160a01b03166000908152600160208181526040928390208351606081018552815460ff80821615158084526101009092041615159382018490529190930154929093018290529192565b6115cb611601565b6001600160a01b0381166115f557604051631e4fbdf760e01b81526000600482015260240161032c565b6115fe8161162e565b50565b6000546001600160a01b03163314610afb5760405163118cdaa760e01b815233600482015260240161032c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b50805461168a9061194a565b6000825580601f1061169a575050565b601f0160209004906000526020600020908101906115fe91905b808211156116c857600081556001016116b4565b5090565b6000602082840312156116de57600080fd5b5035919050565b6000602082840312156116f757600080fd5b81356001600160a01b038116811461170e57600080fd5b9392505050565b6000806020838503121561172857600080fd5b823567ffffffffffffffff81111561173f57600080fd5b8301601f8101851361175057600080fd5b803567ffffffffffffffff81111561176757600080fd5b85602082840101111561177957600080fd5b6020919091019590945092505050565b6000815180845260005b818110156117af57602081850181015186830182015201611793565b506000602082860101526020601f19601f83011685010191505092915050565b8381526060602082015260006117e86060830185611789565b9050826040830152949350505050565b634e487b7160e01b600052602160045260246000fd5b6006811061182c57634e487b7160e01b600052602160045260246000fd5b9052565b6020810161183e828461180e565b92915050565b6040815260006118576040830185611789565b90508260208301529392505050565b60208082526026908201527f566f7573206e27657465732070617320756e20656c65637465757220656e726560408201526567697374726560d01b606082015260800190565b60208082526023908201527f4c612073657373696f6e20646520766f7465206e27657374207061732061637460408201526269766560e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161192d5761192d611905565b5060010190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061195e57607f821691505b60208210810361197e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156119ce57806000526020600020601f840160051c810160208510156119ab5750805b601f840160051c820191505b818110156119cb57600081556001016119b7565b50505b505050565b815167ffffffffffffffff8111156119ed576119ed611934565b611a01816119fb845461194a565b84611984565b6020601f821160018114611a355760008315611a1d5750848201515b600019600385901b1c1916600184901b1784556119cb565b600084815260208120601f198516915b82811015611a655787850151825560209485019460019092019101611a45565b5084821015611a835786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b8181038181111561183e5761183e611905565b60408101611ab3828561180e565b61170e602083018461180e565b634e487b7160e01b600052603160045260246000fd5b808202811582820484141761183e5761183e611905565b8082018082111561183e5761183e61190556fe0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3fa26469706673582212202bbbc539b8efe7a37d1fa77ad867a16b22e5522b4c4e02c4436b49da979f64c664736f6c634300081d
0033"
,
"deployedBytecode"
:
"0x608060405234801561001057600080fd5b506004361061014
d5760003560e01c80638e7ea5b2116100c3578063a7bfab161161007c578063a7bfab161461027f578063c64963c514610287578063c7f758a814610290578063d4f50f98146102b1578063dff7d2c7146102e1578063f2fde38b146102ea57600080fd5b80638e7ea5b2146102185780638f60c0e21461022f5780639823004f1461023757806398e527d31461024a5780639980a55a14610252578063a1edffa21461026557600080fd5b806338db6dd31161011557806338db6dd3146101c95780636c297445146101dc578063715018a6146101e4578063856e698c146101ec5780638bc6a6dd146101f45780638da5cb5b1461020757600080fd5b80630121b93f146101525780631ea736e0146101675780632b293768146101835780632f95355b146101ae578063378a2178146101c1575b600080fd5b6101656101603660046116cc565b6102fd565b005b61017060065481565b6040519081526020015b60405180910390f35b6101966101913660046116e5565b610515565b6040516001600160a01b03909116815260200161017a565b6101656101bc366004611715565b610563565b6101656107a8565b6101656101d73660046116e5565b6108da565b610165610a22565b610165610ae9565b610165610afd565b6101656102023660046116cc565b610bfc565b6000546001600160a01b0316610196565b610220610cd4565b60405161017a939291906117cf565b610165610e3b565b6101656102453660046116e5565b610ede565b600254610170565b6101656102603660046116cc565b6112a7565b6003546102729060ff1681565b60405161017a9190611830565b610165611375565b61017060045481565b6102a361029e3660046116cc565b61140c565b60405161017a929190611844565b6102c46102bf3660046116e5565b61153f565b60408051931515845291151560208401529082015260600161017a565b61017060055481565b6101656102f83660046116e5565b6115c3565b3360009081526001602052604090205460ff166103355760405162461bcd60e51b815260040161032c90611866565b60405180910390fd5b6003805460ff16600581111561034d5761034d6117f8565b1461036a5760405162461bcd60e51b815260040161032c906118ac565b33600090815260016020526040902054610100900460ff16156103c55760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b604482015260640161032c565b60025481106104165760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e27657869737465207061730000000000604482015260640161032c565b6006544211156104685760405162461bcd60e51b815260206004820152601f60248201527f4c6120706572696f646520646520766f746520657374207465726d696e656500604482015260640161032c565b336000908152600160208181526040808420805461ff001916610100178155909201849055600790529020546001600160a01b03166104d857600281815481106104b4576104b46118ef565b6000918252602082206001600290920201018054916104d28361191b565b91905055505b60408051338152602081018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca491015b60405180910390a150565b3360009081526001602052604081205460ff166105445760405162461bcd60e51b815260040161032c90611866565b506001600160a01b039081166000908152600760205260409020541690565b3360009081526001602052604090205460ff166105925760405162461bcd60e51b815260040161032c90611866565b600160035460ff1660058111156105ab576105ab6117f8565b1461061e5760405162461bcd60e51b815260206004820152603d60248201527f4c612073657373696f6e206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e73206e276573742070617320616374697665000000606482015260840161032c565b806106775760405162461bcd60e51b8152602060048201526024808201527f4c61206465736372697074696f6e206e652070657574207061732065747265206044820152637669646560e01b606482015260840161032c565b6005544211156106ef5760405162461bcd60e51b815260206004820152603960248201527f4c6120706572696f6465206427656e72656769737472656d656e74206465732060448201527f70726f706f736974696f6e7320657374207465726d696e656500000000000000606482015260840161032c565b6040805160606020601f850181900402820181018352918101838152600292829190869086908190850183828082843760009201829052509385525050506020918201819052835460018101855593815220815191926002020190819061075690826119d3565b50602091909101516001918201556002547f92e393e9b54e2f801d3ea4beb0c5e71a21cc34a5d34b77d0fb8a3aa1650dc18f9161079291611a92565b6040519081526020015b60405180910390a15050565b6107b0611601565b600460035460ff1660058111156107c9576107c96117f8565b146108315760405162461bcd60e51b815260206004820152603260248201527f4c6520636f6d70746167652064657320766f746573206e652070657574207061604482015271399032b731b7b9329031b7b6b6b2b731b2b960711b606482015260840161032c565b6003805460ff19811660051790915560ff166000805b6002548110156108b4578160028281548110610865576108656118ef565b90600052602060002090600202016001015411156108ac5760028181548110610890576108906118ef565b9060005260206000209060020201600101549150806004819055505b600101610847565b50600354604051600080516020611b018339815191529161079c91859160ff1690611aa5565b6108e2611601565b600060035460ff1660058111156108fb576108fb6117f8565b146109645760405162461bcd60e51b815260206004820152603360248201527f4c6120706572696f6465206427696e736372697074696f6e2064657320656c6560448201527263746575727320657374207465726d696e656560681b606482015260840161032c565b6001600160a01b03811660009081526001602052604090205460ff16156109cd5760405162461bcd60e51b815260206004820152601e60248201527f4c27656c656374657572206573742064656a6120656e72656769737472650000604482015260640161032c565b6001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527fb6be2187d059cc2a55fe29e0e503b566e1e0f8c8780096e185429350acffd3dd910161050a565b610a2a611601565b600160035460ff166005811115610a4357610a436117f8565b14610aab5760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b606482015260840161032c565b6003805460ff81169160029160ff19166001835b0217905550600354604051600080516020611b018339815191529161050a91849160ff1690611aa5565b610af1611601565b610afb600061162e565b565b610b05611601565b600560035460ff166005811115610b1e57610b1e6117f8565b14610b835760405162461bcd60e51b815260206004820152602f60248201527f496d706f737369626c65206465207265696e697469616c6973657220756e207660448201526e6f7465206e6f6e2d7465726d696e6560881b606482015260840161032c565b60005b600254811015610bd2576002805480610ba157610ba1611ac0565b60008281526020812060001990920191600283020190610bc1828261167e565b506000600191820155915501610b86565b506000600481815560058290556006919091556003805460ff811692919060ff1916600183610abf565b610c04611601565b600060035460ff166005811115610c1d57610c1d6117f8565b14610c855760405162461bcd60e51b815260206004820152603260248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152711b881909d95b9c9959da5cdd1c995b595b9d60721b606482015260840161032c565b6003805460ff19811660011790915560ff16610ca282603c611ad6565b610cac9042611aed565b600555600354604051600080516020611b018339815191529161079c91849160ff1690611aa5565b6000606081600560035460ff166005811115610cf257610cf26117f8565b14610d545760405162461bcd60e51b815260206004820152602c60248201527f4c657320766f746573206e276f6e742070617320656e636f726520657465206360448201526b6f6d70746162696c6973657360a01b606482015260840161032c565b600454600260045481548110610d6c57610d6c6118ef565b9060005260206000209060020201600001600260045481548110610d9257610d926118ef565b906000526020600020906002020160010154818054610db09061194a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddc9061194a565b8015610e295780601f10610dfe57610100808354040283529160200191610e29565b820191906000526020600020905b815481529060010190602001808311610e0c57829003601f168201915b50505050509150925092509250909192565b600160035460ff166005811115610e5457610e546117f8565b148015610e62575060055442115b15610e9b5760038054600260ff198216811790925560405160ff90911691600080516020611b018339815191529161050a918491611aa5565b6003805460ff166005811115610eb357610eb36117f8565b148015610ec1575060065442115b15610afb576003805460ff81169160049160ff1916600183610abf565b3360009081526001602052604090205460ff16610f0d5760405162461bcd60e51b815260040161032c90611866565b6003805460ff166005811115610f2557610f256117f8565b14610f425760405162461bcd60e51b815260040161032c906118ac565b33600090815260016020526040902054610100900460ff1615610f9d5760405162461bcd60e51b8152602060048201526013602482015272566f7573206176657a2064656a6120766f746560681b604482015260640161032c565b336001600160a01b038216036110105760405162461bcd60e51b815260206004820152603260248201527f566f7573206e6520706f7576657a207061732064656c656775657220766f74726044820152716520766f7465206120766f75732d6d656d6560701b606482015260840161032c565b6001600160a01b03811660009081526001602052604090205460ff166110915760405162461bcd60e51b815260206004820152603060248201527f4c2761647265737365206369626c65206e276573742070617320756e20656c6560448201526f637465757220656e726567697374726560801b606482015260840161032c565b336000908152600760205260409020546001600160a01b0316156111015760405162461bcd60e51b815260206004820152602160248201527f566f7573206176657a2064656a612064656c6567756520766f74726520766f746044820152606560f81b606482015260840161032c565b805b6001600160a01b0381811660009081526007602052604090205416156111ad576001600160a01b038181166000908152600760205260409020543391160361118d5760405162461bcd60e51b815260206004820152601d60248201527f426f75636c652064652064656c65676174696f6e206465746563746565000000604482015260640161032c565b6001600160a01b0390811660009081526007602052604090205416611103565b33600090815260076020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526001909152902054610100900460ff16156112a3576001600160a01b038216600090815260016020819052604090912001546002805482908110611223576112236118ef565b6000918252602082206001600290920201018054916112418361191b565b909155505033600081815260016020818152604092839020805461ff001916610100178155909101849055815192835282018390527f4d99b957a2bc29a30ebd96a7be8e68fe50a3c701db28a91436490b7d53870ca4910160405180910390a1505b5050565b6112af611601565b600260035460ff1660058111156112c8576112c86117f8565b146113275760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c652064652064656d6172726572206c612073657373696f6044820152686e20646520766f746560b81b606482015260840161032c565b6003805460ff198116821790915560ff1661134382603c611ad6565b61134d9042611aed565b600655600354604051600080516020611b018339815191529161079c91849160ff1690611aa5565b61137d611601565b6003805460ff166005811115611395576113956117f8565b146113f45760405162461bcd60e51b815260206004820152602960248201527f496d706f737369626c65206465207465726d696e6572206c612073657373696f6044820152686e20646520766f746560b81b606482015260840161032c565b6003805460ff81169160049160ff1916600183610abf565b60025460609060009083106114635760405162461bcd60e51b815260206004820152601b60248201527f4c612070726f706f736974696f6e206e27657869737465207061730000000000604482015260640161032c565b600060028481548110611478576114786118ef565b90600052602060002090600202016040518060400160405290816000820180546114a19061194a565b80601f01602080910402602001604051908101604052809291908181526020018280546114cd9061194a565b801561151a5780601f106114ef5761010080835404028352916020019161151a565b820191906000526020600020905b8154815290600101906020018083116114fd57829003601f168201915b5050509183525050600191909101546020918201528151910151909590945092505050565b336000908152600160205260408120548190819060ff166115725760405162461bcd60e51b815260040161032c90611866565b5050506001600160a01b03166000908152600160208181526040928390208351606081018552815460ff80821615158084526101009092041615159382018490529190930154929093018290529192565b6115cb611601565b6001600160a01b0381166115f557604051631e4fbdf760e01b81526000600482015260240161032c565b6115fe8161162e565b50565b6000546001600160a01b03163314610afb5760405163118cdaa760e01b815233600482015260240161032c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b50805461168a9061194a565b6000825580601f1061169a575050565b601f0160209004906000526020600020908101906115fe91905b808211156116c857600081556001016116b4565b5090565b6000602082840312156116de57600080fd5b5035919050565b6000602082840312156116f757600080fd5b81356001600160a01b038116811461170e57600080fd5b9392505050565b6000806020838503121561172857600080fd5b823567ffffffffffffffff81111561173f57600080fd5b8301601f8101851361175057600080fd5b803567ffffffffffffffff81111561176757600080fd5b85602082840101111561177957600080fd5b6020919091019590945092505050565b6000815180845260005b818110156117af57602081850181015186830182015201611793565b506000602082860101526020601f19601f83011685010191505092915050565b8381526060602082015260006117e86060830185611789565b9050826040830152949350505050565b634e487b7160e01b600052602160045260246000fd5b6006811061182c57634e487b7160e01b600052602160045260246000fd5b9052565b6020810161183e828461180e565b92915050565b6040815260006118576040830185611789565b90508260208301529392505050565b60208082526026908201527f566f7573206e27657465732070617320756e20656c65637465757220656e726560408201526567697374726560d01b606082015260800190565b60208082526023908201527f4c612073657373696f6e20646520766f7465206e27657374207061732061637460408201526269766560e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161192d5761192d611905565b5060010190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061195e57607f821691505b60208210810361197e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156119ce57806000526020600020601f840160051c810160208510156119ab5750805b601f840160051c820191505b818110156119cb57600081556001016119b7565b50505b505050565b815167ffffffffffffffff8111156119ed576119ed611934565b611a01816119fb845461194a565b84611984565b6020601f821160018114611a355760008315611a1d5750848201515b600019600385901b1c1916600184901b1784556119cb565b600084815260208120601f198516915b82811015611a655787850151825560209485019460019092019101611a45565b5084821015611a835786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b8181038181111561183e5761183e611905565b60408101611ab3828561180e565b61170e602083018461180e565b634e487b7160e01b600052603160045260246000fd5b808202811582820484141761183e5761183e611905565b8082018082111561183e5761183e61190556fe0a97a4ee45751e2abf3e4fc8946939630b11b371ea8ae39ccdc3056e98f5cc3fa26469706673582212202bbbc539b8efe7a37d1fa77ad867a16b22e5522b4c4e02c4436b49da979f64c664736f6c634300081d
0033"
,
"linkReferences"
:
{},
"deployedLinkReferences"
:
{}
}
frontend/src/utils/contract.js
View file @
a08e51e5
...
...
@@ -2,7 +2,7 @@ import { ethers } from 'ethers';
import
VotingABI
from
'../contracts/Voting.json'
;
// Adresse du contrat déployé (à remplacer par votre adresse réelle après déploiement)
export
const
CONTRACT_ADDRESS
=
"0x
e7f1725E7734CE288F8367e1Bb143E90bb3F0512
"
;
export
const
CONTRACT_ADDRESS
=
"0x
5FbDB2315678afecb367f032d93F642f64180aa3
"
;
export
const
connectWallet
=
async
()
=>
{
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment