Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merging upstream #1

Open
wants to merge 264 commits into
base: independent-mode
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
e4de274
start fill loop after initiating wallets
0xtrooper Feb 3, 2022
d7f2877
Switch MARKETS over to ws
0xtrooper Feb 3, 2022
0f50148
Merge pull request #5 from TrooperCrypto/feat/multiple-wallets-per-mm
taureau75 Feb 6, 2022
48b3f38
Merge branch 'master' into feat/update-market-info-over-ws
taureau75 Feb 6, 2022
c8292fa
Merge pull request #9 from TrooperCrypto/feat/update-market-info-over-ws
taureau75 Feb 6, 2022
f3bfff4
quick fix to merged code
taureau75 Feb 6, 2022
a15e4f5
parse JSON keys from env
taureau75 Feb 6, 2022
7a75750
show greatest wallet balance in liquidity
taureau75 Feb 6, 2022
170847a
Fix as account_state is string
0xtrooper Feb 6, 2022
ca6c5b2
Merge pull request #10 from TrooperCrypto/master
taureau75 Feb 6, 2022
972b29a
remove markets query since it's no longer needed. catch cryptowatch f…
taureau75 Feb 7, 2022
76c9bed
Merge branch 'master' of zigzag:ZigZagExchange/market-maker
taureau75 Feb 7, 2022
62f0fc7
make setupPriceFeed modular for n providers
0xtrooper Feb 9, 2022
bc600d6
rename
0xtrooper Feb 9, 2022
e55bd23
Update marketmaker.js
0xtrooper Feb 9, 2022
439248f
make infuraUrl available
0xtrooper Feb 9, 2022
97c800d
Added Chainlink to readme
0xtrooper Feb 9, 2022
a243bfc
rm line
0xtrooper Feb 9, 2022
c0e958f
up interval to 10s
0xtrooper Feb 9, 2022
730b10b
Include price
0xtrooper Feb 9, 2022
2a4a879
Bug fixes
0xtrooper Feb 9, 2022
df16f56
Update marketmaker.js
0xtrooper Feb 9, 2022
7a47785
Merge pull request #11 from TrooperCrypto/feat/priceFeed-with-chainlink
taureau75 Feb 9, 2022
6220c8d
Update marketmaker.js
0xtrooper Feb 9, 2022
c96dc34
Merge branch 'ZigZagExchange:master' into feat/priceFeed-with-chainlink
0xtrooper Feb 9, 2022
e3deb2e
Merge pull request #12 from TrooperCrypto/feat/priceFeed-with-chainlink
taureau75 Feb 10, 2022
95e7891
fix/ add marekt_id in log
0xtrooper Feb 10, 2022
dee00ae
Add examples to README and add warning
0xtrooper Feb 10, 2022
be348f9
Merge pull request #13 from TrooperCrypto/master
taureau75 Feb 11, 2022
1a84229
fix/cryptowatch restart
0xtrooper Feb 11, 2022
393cac6
Merge pull request #14 from TrooperCrypto/fix/cryptoWatch-restart
taureau75 Feb 12, 2022
6ffd03a
feat/ws on error
0xtrooper Feb 12, 2022
44bb3f2
Add restart here too
0xtrooper Feb 12, 2022
80f93dc
dont allow bad liquidity sends to crash the MM
taureau75 Feb 13, 2022
8e60a5d
fix
0xtrooper Feb 13, 2022
f831177
moved close outside of onOpen
0xtrooper Feb 13, 2022
372ff83
remember order
0xtrooper Feb 14, 2022
ed077ab
add pair timeout
0xtrooper Feb 14, 2022
2edeca4
Add delayAfterFill to readme
0xtrooper Feb 14, 2022
713a396
refactor indicateLiquidity
0xtrooper Feb 14, 2022
1965221
fix
0xtrooper Feb 14, 2022
f07f72b
Move ABI in file
0xtrooper Feb 15, 2022
d96aaeb
whitespaces
0xtrooper Feb 15, 2022
0511a14
Merge pull request #17 from TrooperCrypto/refactor/move-ABIin-file
0xtrooper Feb 15, 2022
2d8d414
Merge pull request #15 from TrooperCrypto/feat/ws-on-errror
0xtrooper Feb 15, 2022
3fa67a7
Merge pull request #16 from TrooperCrypto/feat/delay-after-fill
0xtrooper Feb 15, 2022
f847993
fix and logging
0xtrooper Feb 15, 2022
5feb75e
Merge pull request #19 from TrooperCrypto/dev
0xtrooper Feb 15, 2022
76137d6
Refactor/naming (#18)
0xtrooper Feb 15, 2022
d2c34cf
small fixes
0xtrooper Feb 15, 2022
35e1013
Merge pull request #20 from TrooperCrypto/dev
0xtrooper Feb 15, 2022
bf1d5d9
remove merge bug
0xtrooper Feb 15, 2022
552fd0c
Merge pull request #21 from TrooperCrypto/dev
0xtrooper Feb 15, 2022
f48ce18
cancel Liquidity
0xtrooper Feb 16, 2022
5a8a8ff
Merge pull request #23 from TrooperCrypto/dev
0xtrooper Feb 16, 2022
6cf8701
readme in seconds
0xtrooper Feb 16, 2022
4ddb4cb
Merge pull request #24 from TrooperCrypto/dev
0xtrooper Feb 16, 2022
bd88bdd
Update main version to latest dev version
0xtrooper Feb 16, 2022
ce12226
send fill request first
0xtrooper Feb 16, 2022
ccca41d
Merge pull request #25 from TrooperCrypto/master
0xtrooper Feb 16, 2022
e6bd9b0
Move ABI in file
0xtrooper Feb 15, 2022
c79a48f
Merge branch 'dev' of https://github.com/TrooperCrypto/market-maker i…
0xtrooper Feb 16, 2022
76ae8d2
Merge pull request #26 from TrooperCrypto/dev
0xtrooper Feb 16, 2022
d1f78b4
move fillOrderDelay in afterFill function
0xtrooper Feb 16, 2022
633bd87
indicateLiquidity for specific pair
0xtrooper Feb 16, 2022
81e017e
increaseSpreadAfterFill pair option
0xtrooper Feb 16, 2022
f73ff18
quick bug fix
taureau75 Feb 18, 2022
cff2224
add increaseSizeAfterFill
0xtrooper Feb 20, 2022
e224ebd
make change in 2 way possible
0xtrooper Feb 20, 2022
8bdb405
rememberOrder more swap infos
0xtrooper Feb 20, 2022
c11b456
Update account state after fill
0xtrooper Feb 20, 2022
e1146b0
spacing setupPriceFeeds
0xtrooper Feb 20, 2022
fe7228d
use mmConfig
0xtrooper Feb 20, 2022
a7f8b08
enable constant mode in priceFeed
0xtrooper Feb 20, 2022
7797373
remove getMidPrice
0xtrooper Feb 20, 2022
e6b880a
fixes
0xtrooper Feb 20, 2022
73a9aaa
update backend on nonce error
0xtrooper Feb 21, 2022
d947c31
fix log
0xtrooper Feb 22, 2022
654fda1
Merge branch 'ZigZagExchange:dev' into dev
0xtrooper Feb 22, 2022
44ec5e9
Merge pull request #27 from TrooperCrypto/dev
0xtrooper Feb 22, 2022
66d7ec3
Merge pull request #28 from ZigZagExchange/dev
0xtrooper Feb 23, 2022
b1d7165
Update README.md
0xtrooper Feb 23, 2022
6527a04
Update README.md
0xtrooper Feb 23, 2022
ab0e496
small bugfix
0xtrooper Feb 23, 2022
b498572
Merge pull request #29 from TrooperCrypto/master
0xtrooper Feb 23, 2022
a7614f7
CLIENT_ID is handled by backend now
0xtrooper Feb 28, 2022
1da3e31
use side here
0xtrooper Feb 28, 2022
6d22e65
directly sendFillRequest
0xtrooper Feb 28, 2022
dfbd466
fillOpenOrders more often
0xtrooper Feb 28, 2022
7ffda56
add broadcasting check to fillable
0xtrooper Feb 28, 2022
5f8065a
only set flag to false for that wallet
0xtrooper Mar 1, 2022
4431b40
1000ms feels good
0xtrooper Mar 1, 2022
e36e1f8
switch to filter
0xtrooper Mar 1, 2022
b7cbec6
Merge pull request #30 from TrooperCrypto/master
0xtrooper Mar 1, 2022
efa3315
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 1, 2022
f83684e
change node version in package
0xtrooper Mar 1, 2022
c4e613b
use bid-ask instead of lastprice for spreads
taureau75 Mar 2, 2022
343f6dc
Merge pull request #32 from TrooperCrypto/dev
taureau75 Mar 2, 2022
49d35bb
Merge pull request #33 from ZigZagExchange/feat/bid-ask
taureau75 Mar 2, 2022
2ffe12f
control how many orders to display on the UI
taureau75 Mar 2, 2022
e0019b1
Merge pull request #35 from ZigZagExchange/feat/numOrdersIndicated
taureau75 Mar 2, 2022
d97028a
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 2, 2022
6d4ba97
Merge pull request #36 from ZigZagExchange/master
0xtrooper Mar 4, 2022
9cc1694
add base and quote to remember order
0xtrooper Mar 4, 2022
4084a3a
add size to pair options
0xtrooper Mar 4, 2022
10d3fd5
Merge pull request #37 from TrooperCrypto/feat/size-for-after-fill
0xtrooper Mar 4, 2022
e278a70
fix splice -> split
0xtrooper Mar 4, 2022
5c37211
Merge pull request #38 from TrooperCrypto/feat/size-for-after-fill
0xtrooper Mar 4, 2022
d730be8
Merge pull request #39 from ZigZagExchange/dev
0xtrooper Mar 4, 2022
944a119
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 4, 2022
c3d4ec9
add ws err msg
0xtrooper Mar 6, 2022
a11e0f2
Merge pull request #40 from TrooperCrypto/fix/return-error-after-fail…
taureau75 Mar 6, 2022
af7268e
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 6, 2022
ef1a723
sorter err msg
0xtrooper Mar 6, 2022
4a0fd1d
Merge pull request #41 from TrooperCrypto/fix/return-error-after-fail…
0xtrooper Mar 6, 2022
dd97377
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 6, 2022
b11295c
Merge pull request #42 from ZigZagExchange/master
0xtrooper Mar 8, 2022
f913cad
move ABI in folder
0xtrooper Mar 8, 2022
795a15b
add uniswapV3Setup & uniswapV3Update
0xtrooper Mar 8, 2022
f757780
Merge pull request #43 from TrooperCrypto/feat/uniswap-price
0xtrooper Mar 8, 2022
2af195c
fix/price feed key
0xtrooper Mar 8, 2022
ebde9c3
fix/increase delay
0xtrooper Mar 8, 2022
5a57a0a
Merge pull request #44 from TrooperCrypto/feat/uniswap-price
0xtrooper Mar 8, 2022
30b7da7
Merge pull request #45 from ZigZagExchange/dev
taureau75 Mar 8, 2022
9d63c27
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 8, 2022
e8faf87
rename
0xtrooper Mar 9, 2022
9d51edf
Merge pull request #31 from TrooperCrypto/feat/match-best-fill
0xtrooper Mar 10, 2022
22606ea
remove Initiate fill loop
0xtrooper Mar 10, 2022
cb15e8f
goodWalletIds not const
0xtrooper Mar 10, 2022
4e93e2c
fix broadcasting check
0xtrooper Mar 10, 2022
41fa7ff
update account state after balance error
0xtrooper Mar 10, 2022
8f1c1b9
revert
0xtrooper Mar 10, 2022
04bc9d7
Merge pull request #46 from TrooperCrypto/feat/match-best-fill
0xtrooper Mar 10, 2022
2ce4240
add hard limit for ORDER_BROADCASTING
0xtrooper Mar 18, 2022
a5de783
Merge pull request #47 from TrooperCrypto/dev
0xtrooper Mar 18, 2022
484a5cb
remove that with 5 sec auto cancel
0xtrooper Mar 18, 2022
ee98a84
Merge pull request #48 from TrooperCrypto/dev
0xtrooper Mar 18, 2022
de50344
Merge pull request #49 from ZigZagExchange/dev
0xtrooper Mar 18, 2022
a141bde
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 18, 2022
4526148
fix/some errors dont return args
0xtrooper Mar 18, 2022
f4e2a51
Merge pull request #50 from TrooperCrypto/master
0xtrooper Mar 18, 2022
8267787
offer best price on buy orders
taureau75 Mar 22, 2022
22f0717
feat/add uniswap update error counter
0xtrooper Mar 22, 2022
bdb3b5a
add error counter on chainlink
0xtrooper Mar 22, 2022
bc317a4
remove extra logging
0xtrooper Mar 23, 2022
948409c
Merge pull request #52 from ZigZagExchange/dev
0xtrooper Mar 23, 2022
2ae3d91
move reset after loop
0xtrooper Mar 23, 2022
8154b10
Merge pull request #51 from TrooperCrypto/master
0xtrooper Mar 23, 2022
8b85f13
add settings for mainnet&rinkeby
0xtrooper Mar 25, 2022
b9b4b13
Merge pull request #53 from TrooperCrypto/master
0xtrooper Mar 25, 2022
6921792
fix/dont drop order if busy
0xtrooper Mar 25, 2022
4c10423
Merge branch 'ZigZagExchange:master' into master
0xtrooper Mar 26, 2022
5beaedf
update sendFillRequest
0xtrooper Mar 26, 2022
70d86b7
Merge branch 'dev' into fix/dont-buy-more-as-user-sells
0xtrooper Mar 26, 2022
d16457d
remove rounding for user amount
0xtrooper Mar 26, 2022
3dda260
Merge branch 'fix/dont-buy-more-as-user-sells' of https://github.com/…
0xtrooper Mar 26, 2022
2438883
remove mm side rounding
0xtrooper Mar 26, 2022
68ec24a
Merge pull request #54 from TrooperCrypto/feat/dont-drop-some-orders
0xtrooper Mar 26, 2022
a30e21f
Merge pull request #55 from TrooperCrypto/fix/dont-buy-more-as-user-s…
0xtrooper Mar 26, 2022
eb12458
define quote outside if
0xtrooper Mar 26, 2022
bd26568
Merge pull request #56 from TrooperCrypto/fix/dont-buy-more-as-user-s…
0xtrooper Mar 26, 2022
0c4dc0e
Merge pull request #57 from ZigZagExchange/dev
0xtrooper Mar 26, 2022
7f2a4af
Merge branch 'master' into master
0xtrooper Mar 27, 2022
e0de486
Merge pull request #1 from ZigZagExchange/master
0xtrooper Mar 27, 2022
819299a
fix/genQuote tests
0xtrooper Mar 27, 2022
ec5e82c
Merge pull request #58 from TrooperCrypto/master
0xtrooper Mar 27, 2022
4a96390
roll back
0xtrooper Mar 27, 2022
6d42268
Merge pull request #59 from TrooperCrypto/master
0xtrooper Mar 27, 2022
623182e
move quote outside loop
0xtrooper Mar 27, 2022
16519f5
validate price with same logic
0xtrooper Mar 27, 2022
ee6385d
dont change fee with spread
0xtrooper Mar 27, 2022
b273928
Merge pull request #60 from TrooperCrypto/dev
0xtrooper Mar 27, 2022
6457329
fix ratio
0xtrooper Mar 27, 2022
e4e6eae
Merge pull request #61 from TrooperCrypto/dev
0xtrooper Mar 27, 2022
88e3ee1
feat/match at better price
0xtrooper Mar 30, 2022
df69208
update package-lock,json
0xtrooper Mar 30, 2022
f32dedb
use wei ratio
0xtrooper Apr 1, 2022
da8ffa6
fix
0xtrooper Apr 1, 2022
fcf0f8c
Merge branch 'dev' into master
0xtrooper Apr 1, 2022
9cf9b8a
Merge branch 'dev' into master
0xtrooper Apr 2, 2022
81e34ec
fix
0xtrooper Apr 2, 2022
c30aa31
Merge pull request #65 from ZigZagExchange/master
0xtrooper Apr 2, 2022
155c228
Merge branch 'dev' into merge-2
0xtrooper Apr 2, 2022
9a7620d
enable different fee tokens
0xtrooper Apr 2, 2022
abab7f2
add option for default fee token
0xtrooper Apr 2, 2022
2408559
Merge pull request #64 from TrooperCrypto/merge-2
0xtrooper Apr 6, 2022
21870b8
Merge pull request #66 from TrooperCrypto/feat/pay-fees-in-swap-currency
0xtrooper Apr 6, 2022
d89260b
PRICE_FEED's in lowercase
0xtrooper Apr 20, 2022
67a7f52
Merge pull request #67 from TrooperCrypto/fix/hadle-pricefeed-in-lowe…
0xtrooper Apr 20, 2022
f5da3c0
fix/check if account has balance
0xtrooper May 3, 2022
fee45c2
Merge pull request #68 from TrooperCrypto/master
0xtrooper May 3, 2022
f722e23
Merge branch 'dev' into dev
0xtrooper May 7, 2022
a6a5015
Merge pull request #2 from ZigZagExchange/dev
0xtrooper May 7, 2022
b69d18a
fix const to let
0xtrooper May 7, 2022
76189bc
Merge pull request #71 from TrooperCrypto/dev
0xtrooper May 7, 2022
0ac10e0
fix readme
0xtrooper May 8, 2022
4ce02ca
indicateLiquidity min size $10
0xtrooper May 8, 2022
591fc43
Merge pull request #72 from TrooperCrypto/dev
0xtrooper May 8, 2022
675f4db
fix split loops
0xtrooper May 10, 2022
c1a1872
Merge pull request #73 from TrooperCrypto/dev
0xtrooper May 10, 2022
5a7a81c
Merge pull request #70 from ZigZagExchange/dev
0xtrooper May 10, 2022
866c167
move balance check to use quote result
0xtrooper May 11, 2022
a6bb580
Merge pull request #74 from TrooperCrypto/dev
0xtrooper May 11, 2022
e94e7c7
Merge pull request #75 from ZigZagExchange/dev
0xtrooper May 11, 2022
4e5a8f9
fix/quoteQuantity should be a Number
0xtrooper May 13, 2022
cf43aba
Merge pull request #78 from TrooperCrypto/dev
0xtrooper May 14, 2022
f0f3091
Fixing typo
Connor-Knabe May 14, 2022
487a251
Add uniswapV3 to the price feed list
May 17, 2022
a8c88d5
Merge pull request #79 from Connor-Knabe/patch-1
0xtrooper May 18, 2022
21d544c
Merge pull request #80 from ckoopmann/ckoopmann/uniswap-documentation…
0xtrooper May 18, 2022
56dba8a
fix sell and buy order splits
0xtrooper May 21, 2022
861070c
Merge pull request #81 from TrooperCrypto/master
0xtrooper May 21, 2022
3e244c6
update package.json
0xtrooper May 27, 2022
611c1bb
less frequent indicateLiquidity
0xtrooper May 29, 2022
48fbc31
no need for splits under 1k
0xtrooper May 29, 2022
e705632
Merge pull request #83 from TrooperCrypto/master
0xtrooper May 29, 2022
e0fd78d
Merge pull request #84 from ZigZagExchange/dev
0xtrooper May 29, 2022
7cffef3
README - Security advice
0xtrooper Jun 6, 2022
5311296
improve wording
0xtrooper Jun 6, 2022
3645f09
update/reduce default liquidity interval
0xtrooper Jun 12, 2022
743fe01
Merge pull request #88 from TrooperCrypto/master
0xtrooper Jun 12, 2022
9a7f835
add min eth balance of 0.01
0xtrooper Jun 19, 2022
02ccfd1
revert
0xtrooper Jun 19, 2022
3aa573c
fix number of splits for price = 0
0xtrooper Jun 24, 2022
3734fa5
Merge pull request #90 from TrooperCrypto/master
0xtrooper Jun 24, 2022
903e139
add Invert price feed
0xtrooper Jun 27, 2022
e6fe732
revert format
0xtrooper Jun 27, 2022
870d6bb
Merge pull request #92 from TrooperCrypto/master
0xtrooper Jun 27, 2022
6fcbf79
Merge pull request #93 from ZigZagExchange/dev
0xtrooper Jun 27, 2022
f6834cb
update package json
0xtrooper Aug 8, 2022
c30088b
update sign order
0xtrooper Aug 8, 2022
91a9579
Merge pull request #94 from TrooperCrypto/master
0xtrooper Aug 8, 2022
7d71d0c
add goerli zksync
0xtrooper Aug 8, 2022
b40ce85
Merge pull request #95 from TrooperCrypto/master
0xtrooper Aug 8, 2022
1053c72
fix naming goerli
0xtrooper Aug 9, 2022
e1530a0
Merge pull request #96 from TrooperCrypto/master
0xtrooper Aug 9, 2022
1381543
enable uniswap mainnet feed for goerli
0xtrooper Aug 12, 2022
6a00540
add INFURA to read me
0xtrooper Aug 12, 2022
2b09f7a
Merge pull request #97 from TrooperCrypto/master
0xtrooper Aug 12, 2022
3d11819
remove FEE_TOKEN if no longer available for fees
0xtrooper Aug 26, 2022
4f0c12c
Merge branch 'ZigZagExchange:master' into master
0xtrooper Aug 26, 2022
551b0de
fix logic
0xtrooper Aug 26, 2022
85a2fe6
Merge branch 'master' of https://github.com/TrooperCrypto/market-maker
0xtrooper Aug 26, 2022
670f748
Merge pull request #98 from TrooperCrypto/master
0xtrooper Aug 26, 2022
cd9052d
format and add sendMessage
0xtrooper Mar 19, 2023
3b0abff
avoid building a big callstack
0xtrooper Mar 19, 2023
729c53e
fix format
0xtrooper Mar 19, 2023
526a51b
Merge pull request #104 from TrooperCrypto/master
0xtrooper Mar 19, 2023
d55e39b
add ethereumRPC for custom rpc's
0xtrooper May 31, 2023
210013d
Merge pull request #105 from TrooperCrypto/master
0xtrooper May 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 222 additions & 0 deletions ABIs/ERC20.abi
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
[
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "decimals",
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "balance",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "symbol",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "spender",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
}
]
Loading