index
:
dexon-0x-contracts
dev
master
stable
DEXON fork of 0x protocol contracts forked from 0x-monorepo (https://github.com/dexon-foundation/0x-contracts)
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
Commit message (
Expand
)
Author
Age
Files
Lines
*
Assign wouldRoundingErrorOccur to a variable
Leonid Logvinov
2017-06-02
1
-2
/
+4
*
Rename EXPIRED to FILL_ORDER_EXPIRED
Leonid Logvinov
2017-06-02
2
-2
/
+2
*
Assign timestamp to a variable
Leonid Logvinov
2017-06-02
1
-1
/
+2
*
Rename NOT_A_TAKER to TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER
Leonid Logvinov
2017-06-02
2
-2
/
+2
*
Don't pass zrxTokenAsign
Leonid Logvinov
2017-06-02
1
-6
/
+7
*
Rename validation functions
Leonid Logvinov
2017-06-02
1
-8
/
+8
*
Add getZRXTokenAddressAsync
Leonid Logvinov
2017-06-02
1
-1
/
+4
*
rename fillTakerAmountInBaseUnits to fillTakerAmount
Fabio Berger
2017-06-02
2
-16
/
+16
*
Improve fillOrderAsync comment
Fabio Berger
2017-06-02
1
-3
/
+6
*
Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync
Fabio Berger
2017-06-02
1
-321
/
+0
|
\
|
*
Remove protocol token artifacts
Leonid Logvinov
2017-06-02
1
-321
/
+0
*
|
Improve error names and remove duplicate import
Fabio Berger
2017-06-02
2
-8
/
+8
*
|
Improve comment
Fabio Berger
2017-06-02
1
-2
/
+1
|
/
*
Merge branch 'master' into fillOrderAsync
Leonid Logvinov
2017-06-02
1
-4
/
+0
|
\
|
*
Fix tslint issues
Fabio Berger
2017-06-02
1
-2
/
+2
*
|
Add tests and checks for fees balances and allowances
Leonid Logvinov
2017-06-02
2
-9
/
+52
*
|
Add ProtocolTokenArtifacts
Leonid Logvinov
2017-06-02
1
-0
/
+321
*
|
Add check for ROUNDING_ERROR and test for it
Leonid Logvinov
2017-06-02
2
-0
/
+21
*
|
Validate maker balance and allowance & tests
Leonid Logvinov
2017-06-02
1
-4
/
+14
*
|
Fix getTransactionSenderAccountIfExistsAsync to return true senderAddress or ...
Fabio Berger
2017-06-02
2
-4
/
+5
*
|
Add test for insufficient balance and make all async tests async
Leonid Logvinov
2017-06-02
1
-0
/
+3
*
|
Introduce coinBase account
Leonid Logvinov
2017-06-02
2
-0
/
+9
*
|
Create a FillsScenario utils module and use it in the fillOrder tests
Fabio Berger
2017-06-02
3
-5
/
+11
*
|
Make validateFillOrder asyncronous
Leonid Logvinov
2017-06-02
1
-2
/
+2
*
|
Add not enough taker balance tests
Leonid Logvinov
2017-06-02
3
-4
/
+20
*
|
Fix import
Fabio Berger
2017-06-01
1
-1
/
+1
*
|
Stop passing exchangeAddress into getOrderHash and instead get it from the ar...
Fabio Berger
2017-06-01
1
-28
/
+41
*
|
rename txData to txOpts
Fabio Berger
2017-06-01
1
-2
/
+2
*
|
remove superfluous param
Fabio Berger
2017-06-01
1
-1
/
+1
*
|
remove unused arg
Fabio Berger
2017-06-01
1
-2
/
+1
*
|
remove unneeded method
Fabio Berger
2017-06-01
1
-5
/
+1
*
|
improve comment
Fabio Berger
2017-06-01
1
-2
/
+2
*
|
Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync
Fabio Berger
2017-06-01
2
-0
/
+4
|
\
\
|
*
|
Add expired check
Leonid Logvinov
2017-06-01
1
-0
/
+3
|
*
|
Add EXPIRED error type
Leonid Logvinov
2017-06-01
1
-0
/
+1
*
|
|
Add comment for fillOrderAsync method, rename fillAmount to fillTakerAmountIn...
Fabio Berger
2017-06-01
1
-6
/
+11
|
/
/
*
|
Revert "Add EXPIRED test"
Leonid Logvinov
2017-06-01
2
-4
/
+0
*
|
Get getSenderAddressOrThrowAsync everywhere where we throw if the senderAddre...
Fabio Berger
2017-06-01
2
-15
/
+12
*
|
Add ExchangeContractErrs string enum
Fabio Berger
2017-06-01
2
-8
/
+17
*
|
fix formatting
Fabio Berger
2017-06-01
1
-4
/
+2
*
|
Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync
Fabio Berger
2017-06-01
2
-1
/
+23
|
\
\
|
*
|
Add EXPIRED test
Leonid Logvinov
2017-06-01
2
-1
/
+5
|
*
|
Add NOT_A_TAKER check
Leonid Logvinov
2017-06-01
2
-0
/
+4
|
*
|
Add FILL_AMOUNT_IS_ZERO check
Leonid Logvinov
2017-06-01
2
-0
/
+14
*
|
|
Rename ExchangeContractErrs to ExchangeContractErrCodes
Fabio Berger
2017-06-01
2
-10
/
+10
|
/
/
*
|
Make taker required on Order object and expect NULL_ADDRESS from 0x.js
Fabio Berger
2017-06-01
4
-7
/
+6
*
|
rename signed_order_schema to order_schemas
Fabio Berger
2017-06-01
4
-3
/
+3
*
|
Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync
Fabio Berger
2017-06-01
1
-4
/
+0
|
\
\
|
*
|
Fix types hell with, chai and chai-as-promised
Leonid Logvinov
2017-06-01
1
-4
/
+0
*
|
|
Add convertToJSONSchemaCompatibleObject method
Fabio Berger
2017-06-01
3
-2
/
+15
*
|
|
move external imports to top
Fabio Berger
2017-06-01
1
-2
/
+2
|
/
/
*
|
make bigNumberConfig a module
Fabio Berger
2017-06-01
2
-9
/
+13
*
|
Fix linter errors
Leonid Logvinov
2017-06-01
1
-0
/
+4
*
|
Add dirty-chai
Leonid Logvinov
2017-06-01
1
-0
/
+1
*
|
Type estimateGas
Leonid Logvinov
2017-06-01
1
-4
/
+6
*
|
Remove TxData
Leonid Logvinov
2017-06-01
1
-5
/
+1
*
|
Temporarily fix gas extimation
Leonid Logvinov
2017-06-01
1
-0
/
+13
*
|
Add setDefaultAccount
Leonid Logvinov
2017-06-01
2
-0
/
+10
*
|
Merge branch 'master' into fillOrderAsync
Leonid Logvinov
2017-06-01
2
-15
/
+14
|
\
|
|
*
Merge branch 'master' into erc20transfer
Leonid
2017-05-31
2
-15
/
+14
|
|
\
|
|
*
Add TxOpts type
Fabio Berger
2017-05-31
1
-1
/
+6
|
|
*
remove InternalError type since this error could surface through the public i...
Fabio Berger
2017-05-31
2
-7
/
+3
|
|
*
Remove superfluous undefined check
Fabio Berger
2017-05-31
1
-4
/
+2
|
|
*
Add full stop to comments
Fabio Berger
2017-05-31
1
-2
/
+2
*
|
|
Fix linter errors
Leonid Logvinov
2017-05-31
3
-4
/
+4
*
|
|
Don't return contract response
Leonid Logvinov
2017-05-31
1
-2
/
+1
*
|
|
Set bignumber config
Leonid Logvinov
2017-05-31
2
-0
/
+11
*
|
|
Merge branch 'erc20transfer' into fillOrderAsync
Leonid Logvinov
2017-05-31
4
-0
/
+131
|
\
|
|
|
*
|
Add transfer function and tests for it
Leonid Logvinov
2017-05-31
2
-1
/
+17
|
|
/
|
*
Implement setProxyAllowanceAsync
Fabio Berger
2017-05-30
3
-4
/
+34
|
*
Implement zeroEx.token.getProxyAllowanceAsync
Fabio Berger
2017-05-30
2
-1
/
+34
|
*
use token instead of erc20
Fabio Berger
2017-05-30
1
-3
/
+3
|
*
rename ERC20Contract to TokenContract
Fabio Berger
2017-05-30
2
-5
/
+5
|
*
rename erc20Wrapper to tokenWrapper to be more generic in case we end up supp...
Fabio Berger
2017-05-30
2
-7
/
+30
|
*
Merge branch 'master' into erc20Wrapper
Fabio Berger
2017-05-30
4
-13
/
+44
|
|
\
|
*
\
Merge branch 'tokenRegistry' into erc20Wrapper
Fabio Berger
2017-05-30
1
-1
/
+1
|
|
\
\
|
*
|
|
Implement ERC20Wrapper and it's first method getBalanceAsync
Fabio Berger
2017-05-30
3
-0
/
+37
*
|
|
|
Refactor getOrderHash to accept order as an object
Leonid Logvinov
2017-05-30
1
-29
/
+16
*
|
|
|
Remove spaces in types
Leonid Logvinov
2017-05-30
1
-4
/
+0
*
|
|
|
Add isBigNumber argument assertion
Leonid Logvinov
2017-05-30
1
-0
/
+1
*
|
|
|
Merge branch 'master' into fillOrderAsync
Leonid Logvinov
2017-05-30
7
-6
/
+109
|
\
\
\
\
|
|
|
_
|
/
|
|
/
|
|
|
*
|
|
Remove mention of internal cleanup from public comment
Fabio Berger
2017-05-30
1
-2
/
+1
|
*
|
|
Refactor exchangeWrapper and tokenRegistryWrapper to use contract getter that...
Fabio Berger
2017-05-30
2
-13
/
+15
|
*
|
|
remove unused declarations
Fabio Berger
2017-05-30
1
-3
/
+0
|
*
|
|
remove unused import
Fabio Berger
2017-05-30
1
-1
/
+0
|
*
|
|
improve comment
Fabio Berger
2017-05-30
1
-1
/
+1
|
*
|
|
Make tokenRegistry contract instantiation lazy and clear it on provider update
Fabio Berger
2017-05-30
2
-4
/
+15
|
*
|
|
rename invalidateExchangeContract to invalidateContractInstance
Fabio Berger
2017-05-30
2
-2
/
+2
|
*
|
|
Merge branch 'master' into dontReinstantiateContractInstances
Fabio Berger
2017-05-30
6
-4
/
+73
|
|
\
\
\
|
|
*
\
\
Merge branch 'master' into tokenRegistry
Fabio Berger
2017-05-30
2
-5
/
+4
|
|
|
\
\
\
|
|
|
*
\
\
Merge pull request #22 from 0xProject/regex-fix
Fabio Berger
2017-05-30
1
-4
/
+3
|
|
|
|
\
\
\
|
|
|
|
*
|
|
Fix the empty code regex
Leonid Logvinov
2017-05-30
1
-4
/
+3
|
|
*
|
|
|
|
Improve type definitions
Fabio Berger
2017-05-30
1
-2
/
+6
|
|
*
|
|
|
|
Add TokenMetadata type
Fabio Berger
2017-05-30
2
-2
/
+5
|
|
*
|
|
|
|
remove unused import
Fabio Berger
2017-05-30
1
-1
/
+1
|
|
|
|
_
|
_
|
/
|
|
|
/
|
|
|
|
|
*
|
|
|
Merge branch 'removeSrcFilesNotUsedByTests' into tokenRegistry
Fabio Berger
2017-05-30
1
-1
/
+1
|
|
|
\
\
\
\
|
|
|
|
|
/
/
|
|
|
|
/
|
/
|
|
|
|
_
|
/
|
|
|
/
|
|
|
|
*
|
|
Add tests for getTokensAsync including schema validation
Fabio Berger
2017-05-30
2
-0
/
+14
|
|
*
|
|
Add TokenRegistryWrapper and getTokensAsync method
Fabio Berger
2017-05-30
3
-0
/
+49
|
*
|
|
|
Add setProvider method to 0x.js that updates the web3 provider and invalidate...
Fabio Berger
2017-05-30
2
-0
/
+11
|
*
|
|
|
Lazily instantiate exchangeContract and store as instance variable instead of...
Fabio Berger
2017-05-30
2
-3
/
+17
|
|
|
_
|
/
|
|
/
|
|
|
*
|
|
make web3Wrapper a private instance variable
Fabio Berger
2017-05-30
1
-1
/
+1
|
|
|
/
|
|
/
|
*
|
|
Add throwErrorLogsAsErrors
Leonid Logvinov
2017-05-30
1
-6
/
+10
*
|
|
Fix order type
Leonid Logvinov
2017-05-30
1
-1
/
+0
*
|
|
Fix orderSchema
Leonid Logvinov
2017-05-30
1
-4
/
+4
*
|
|
Add fillAmount parameter
Leonid Logvinov
2017-05-30
1
-2
/
+3
*
|
|
Make fillOrderAsync accept signedOrder instead of a shit-ton of params
Leonid Logvinov
2017-05-30
1
-35
/
+21
*
|
|
Change BigNumber schema to Number schema
Leonid Logvinov
2017-05-30
1
-2
/
+2
*
|
|
Change BigNumber schema to Number schema
Leonid Logvinov
2017-05-30
1
-11
/
+10
*
|
|
Add id to signedOrderSchema
Leonid Logvinov
2017-05-30
1
-0
/
+1
*
|
|
Add isBoolean assertion
Leonid Logvinov
2017-05-30
1
-0
/
+3
*
|
|
Add signedOrderSchema and all subschemas
Leonid Logvinov
2017-05-30
2
-1
/
+56
*
|
|
Add Order and SignedOrder types
Leonid Logvinov
2017-05-30
1
-0
/
+23
*
|
|
Merge branch 'master' into fillOrderAsync
Leonid Logvinov
2017-05-30
1
-1
/
+1
|
\
|
|
|
*
|
Reverts: 7e96b45ea0c51ca5589640018172a91a35596148 which broke this regex for ...
Fabio Berger
2017-05-30
1
-1
/
+1
|
|
/
*
|
Finish ecSignature renaming
Leonid Logvinov
2017-05-30
1
-3
/
+3
*
|
Add assertions for parameters
Leonid Logvinov
2017-05-30
1
-1
/
+15
*
|
Move field declaration to the begining of the class
Leonid Logvinov
2017-05-30
1
-8
/
+8
*
|
Add initial implementation of fillOrderAsync
Leonid Logvinov
2017-05-30
2
-1
/
+96
*
|
Add getExchangeInstanceOrThrowAsync && getSenderAddressOrThrowAsync
Leonid Logvinov
2017-05-30
2
-6
/
+14
|
/
*
Lowercase schema names
Fabio Berger
2017-05-30
4
-12
/
+12
*
improve comment
Fabio Berger
2017-05-29
1
-1
/
+1
*
Merge branch 'master' into addSignOrderHashAndTests
Fabio Berger
2017-05-29
1
-0
/
+1
|
\
|
*
Merge pull request #16 from 0xProject/umd-tests
Fabio Berger
2017-05-29
1
-1
/
+2
|
|
\
|
|
*
Address feedback
Leonid Logvinov
2017-05-29
1
-1
/
+1
|
|
*
Make eventually a PromisedAssertion
Leonid Logvinov
2017-05-29
1
-1
/
+2
*
|
|
fix declaration
Fabio Berger
2017-05-29
1
-1
/
+1
*
|
|
Use disable-next-line instead of disable and always put rule that is being di...
Fabio Berger
2017-05-29
1
-2
/
+1
*
|
|
Add declarations for find-versions and compare-versions
Fabio Berger
2017-05-29
1
-2
/
+12
*
|
|
Port over signOrderHashAsync
Fabio Berger
2017-05-29
4
-1
/
+71
|
/
/
*
/
Standardize all comments
Fabio Berger
2017-05-29
1
-4
/
+4
|
/
*
Fix imports
Leonid Logvinov
2017-05-29
1
-1
/
+1
*
Move files up and remove ts folder
Leonid Logvinov
2017-05-29
11
-0
/
+0
*
Merge branch 'master' of github.com:0xProject/0x.js
Fabio Berger
2017-05-29
15
-25
/
+3199
|
\
|
*
Refactor to ternary
Fabio Berger
2017-05-27
1
-6
/
+1
|
*
Make zero address regex stricter
Leonid Logvinov
2017-05-27
1
-1
/
+1
|
*
Merge branch 'implementFirstExchangeMethod' of github.com:0xProject/0x.js int...
Fabio Berger
2017-05-27
1
-1
/
+1
|
|
\
|
|
*
Simplify zero address regex
Leonid Logvinov
2017-05-27
1
-1
/
+1
|
*
|
remove todo
Fabio Berger
2017-05-27
1
-1
/
+0
|
|
/
|
*
remove outdated comment
Fabio Berger
2017-05-26
1
-2
/
+0
|
*
return undefined if not address found
Fabio Berger
2017-05-26
1
-3
/
+3
|
*
Add missing return types
Fabio Berger
2017-05-26
2
-3
/
+3
|
*
move console log into UNHANDLED_ERROR clause
Fabio Berger
2017-05-26
1
-1
/
+1
|
*
rename networkId to networkIdIfExists
Fabio Berger
2017-05-26
1
-2
/
+4
|
*
remove comment
Fabio Berger
2017-05-26
1
-1
/
+0
|
*
import re-order
Fabio Berger
2017-05-26
1
-2
/
+2
|
*
Setup blockchain snapshotting before/after every test, implemented unit tests...
Fabio Berger
2017-05-26
1
-0
/
+5
|
*
Add missing semi-colon
Fabio Berger
2017-05-26
1
-1
/
+1
|
*
cleanup isValidSignature method
Fabio Berger
2017-05-26
1
-5
/
+6
|
*
Add missing require
Fabio Berger
2017-05-26
1
-0
/
+1
|
*
Spacing and import re-order
Fabio Berger
2017-05-26
1
-3
/
+4
|
*
Remove unused bignum import
Leonid Logvinov
2017-05-26
1
-1
/
+0
|
*
Merge branch 'master' into implementFirstExchangeMethod
Fabio Berger
2017-05-26
4
-1
/
+71
|
|
\
|
*
|
Fix web3 imports again
Fabio Berger
2017-05-26
3
-3
/
+3
|
*
|
Fix web3 imports
Fabio Berger
2017-05-26
3
-3
/
+3
|
*
|
Change the order of params in isValidSignatureAsync to be consistent
Leonid Logvinov
2017-05-26
1
-4
/
+4
|
*
|
Fix exchange type
Leonid Logvinov
2017-05-26
1
-1
/
+1
|
*
|
Remove unused imports
Leonid Logvinov
2017-05-26
1
-3
/
+0
|
*
|
Add initial exchange contract function, set up web3Wrapper, added types and u...
Fabio Berger
2017-05-26
8
-18
/
+249
|
*
|
Add npm command to update contact artifacts
Fabio Berger
2017-05-26
6
-0
/
+2958
*
|
|
Move bigNumberToBN to utils module
Fabio Berger
2017-05-29
2
-17
/
+20
|
|
/
|
/
|
*
|
Address feedback
Leonid Logvinov
2017-05-26
3
-6
/
+4
*
|
Address feedback
Leonid Logvinov
2017-05-26
2
-22
/
+36
*
|
Port getOrderHash
Leonid Logvinov
2017-05-25
4
-0
/
+69
|
/
*
Get rid of ETH
Leonid Logvinov
2017-05-25
1
-4
/
+4
*
Fix comment
Leonid Logvinov
2017-05-25
1
-1
/
+1
*
Fix tests
Leonid Logvinov
2017-05-25
1
-1
/
+1
*
Fix braces
Leonid Logvinov
2017-05-25
1
-0
/
+1
*
Merge branch 'master' into isValidOrderHash
Leonid
2017-05-25
2
-2
/
+38
|
\
|
*
Add toUnitAmount and toBaseUnitAmount static helpers and tests
Fabio Berger
2017-05-25
2
-0
/
+39
*
|
Address feedback
Leonid Logvinov
2017-05-25
2
-7
/
+8
*
|
Remove type aliases
Leonid Logvinov
2017-05-25
3
-8
/
+7
*
|
Merge branch 'master' into isValidOrderHash
Leonid
2017-05-25
5
-4
/
+50
|
\
|
|
*
Merge branch 'master' into addSchemas
Fabio Berger
2017-05-25
1
-0
/
+15
|
|
\
|
*
|
rename v to validator for clarity
Fabio Berger
2017-05-25
1
-6
/
+6
|
*
|
Pretty print passed in order and schema validation errors in thrown assertion
Fabio Berger
2017-05-25
1
-2
/
+4
|
*
|
Improve ECSignature schema to check signature parameters and that v is 27 or 28
Fabio Berger
2017-05-25
2
-4
/
+15
|
*
|
Add schema validation and assertion, create ECSignature schema
Fabio Berger
2017-05-25
5
-4
/
+37
*
|
|
Remove HexString type
Leonid Logvinov
2017-05-25
2
-7
/
+6
*
|
|
Port isValidOrderHash and tests
Leonid Logvinov
2017-05-25
3
-3
/
+16
|
|
/
|
/
|
*
|
More descriptive comment
Leonid Logvinov
2017-05-25
1
-1
/
+5
*
|
Add generateSalt and tests for it
Leonid Logvinov
2017-05-25
1
-0
/
+11
|
/
*
Add assertions library and add them for all function args
Fabio Berger
2017-05-25
2
-0
/
+37
*
Address feedback
Leonid Logvinov
2017-05-25
2
-4
/
+5
*
Type the ethereumjs-util
Leonid Logvinov
2017-05-25
2
-4
/
+12
*
Add isSignatureValid method and tests for it
Leonid Logvinov
2017-05-25
2
-3
/
+30
*
Add command to generate docs from ts code
Leonid Logvinov
2017-05-24
1
-0
/
+1
*
Add tslint command to npm scripts and fix linting errors
Leonid Logvinov
2017-05-24
1
-1
/
+1
*
Create ts folder
Fabio Berger
2017-05-24
1
-0
/
+0
*
Add empty zeroEx class
Leonid Logvinov
2017-05-24
1
-0
/
+5