Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProofSuite/amp-dex
/ functions
Functions
250 in github.com/ProofSuite/amp-dex
⨍
Functions
250
◇
Types & classes
62
↓ 28 callers
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:145
↓ 24 callers
Function
getOrderHash
(exchange, order)
test/utils/exchange.js:3
↓ 23 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
contracts/exchange.go:156
↓ 14 callers
Function
getBalances
(trader1, trader2, feeAccount, token1, token2, weth)
test/utils/balances.js:4
↓ 14 callers
Function
getMatchOrderAddresses
(makerOrder, takerOrder)
test/utils/exchange.js:33
↓ 14 callers
Function
getMatchOrderValues
(makerOrder, takerOrder)
test/utils/exchange.js:18
↓ 11 callers
Function
advanceToBlock
(number)
test/helpers.js:264
↓ 10 callers
Function
expectRevert
(promise)
test/helpers.js:206
↓ 9 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
contracts/exchange.go:151
↓ 4 callers
Method
Owner
Owner is a free data retrieval call binding the contract method 0x8da5cb5b. Solidity: function owner() constant returns(address)
contracts/exchange.go:2697
↓ 4 callers
Function
bindERC20
bindERC20 binds a generic wrapper to an already deployed contract.
contracts/exchange.go:133
↓ 4 callers
Function
bindExchange
bindExchange binds a generic wrapper to an already deployed contract.
contracts/exchange.go:823
↓ 4 callers
Function
bindOwned
bindOwned binds a generic wrapper to an already deployed contract.
contracts/exchange.go:2648
↓ 4 callers
Function
bindSafeMath
bindSafeMath binds a generic wrapper to an already deployed contract.
contracts/exchange.go:2997
↓ 3 callers
Method
SetOwner
SetOwner is a paid mutator transaction binding the contract method 0x13af4035. Solidity: function setOwner(newOwner address) returns()
contracts/exchange.go:2730
↓ 2 callers
Method
Allowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(_owner address, _spender address) consta
contracts/exchange.go:182
↓ 2 callers
Method
BalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(_owner address) constant returns(balance
contracts/exchange.go:208
↓ 2 callers
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() constant returns(uint8)
contracts/exchange.go:234
↓ 2 callers
Method
Filled
Filled is a free data retrieval call binding the contract method 0x288cdc91. Solidity: function filled( bytes32) constant returns(uint256)
contracts/exchange.go:898
↓ 2 callers
Method
GetPairPricepointMultiplier
GetPairPricepointMultiplier is a free data retrieval call binding the contract method 0x9e5ebf5e. Solidity: function getPairPricepointMultiplier(_bas
contracts/exchange.go:924
↓ 2 callers
Method
GetPartialAmount
GetPartialAmount is a free data retrieval call binding the contract method 0x98024a8b. Solidity: function getPartialAmount(numerator uint256, denomin
contracts/exchange.go:950
↓ 2 callers
Method
IsRoundingError
IsRoundingError is a free data retrieval call binding the contract method 0x14df96ee. Solidity: function isRoundingError(numerator uint256, denominat
contracts/exchange.go:976
↓ 2 callers
Method
IsValidSignature
IsValidSignature is a free data retrieval call binding the contract method 0x8163681e. Solidity: function isValidSignature(signer address, hash bytes
contracts/exchange.go:1002
↓ 2 callers
Method
Name
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() constant returns(string)
contracts/exchange.go:260
↓ 2 callers
Method
Operators
Operators is a free data retrieval call binding the contract method 0x13e7c9d8. Solidity: function operators( address) constant returns(bool)
contracts/exchange.go:1028
↓ 2 callers
Method
PairIsRegistered
PairIsRegistered is a free data retrieval call binding the contract method 0xf4a87263. Solidity: function pairIsRegistered(_baseToken address, _quote
contracts/exchange.go:1080
↓ 2 callers
Method
Pairs
Pairs is a free data retrieval call binding the contract method 0x673e0481. Solidity: function pairs( bytes32) constant returns(pairID bytes32, baseT
contracts/exchange.go:1106
↓ 2 callers
Method
RewardAccount
RewardAccount is a free data retrieval call binding the contract method 0x0e708203. Solidity: function rewardAccount() constant returns(address)
contracts/exchange.go:1150
↓ 2 callers
Method
Symbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() constant returns(string)
contracts/exchange.go:286
↓ 2 callers
Method
TotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() constant returns(uint256)
contracts/exchange.go:312
↓ 2 callers
Method
TotalTokenSupply
TotalTokenSupply is a free data retrieval call binding the contract method 0x1ca8b6cb. Solidity: function totalTokenSupply() constant returns(uint256
contracts/exchange.go:338
↓ 2 callers
Method
Traded
Traded is a free data retrieval call binding the contract method 0xd5813323. Solidity: function traded( bytes32) constant returns(bool)
contracts/exchange.go:1176
↓ 2 callers
Method
VERSION
VERSION is a free data retrieval call binding the contract method 0xffa1ad74. Solidity: function VERSION() constant returns(string)
contracts/exchange.go:872
↓ 2 callers
Method
WethToken
WethToken is a free data retrieval call binding the contract method 0x4b57b0be. Solidity: function wethToken() constant returns(address)
contracts/exchange.go:1202
↓ 2 callers
Function
advanceBlock
()
test/helpers.js:248
↓ 1 callers
Method
Approve
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(_spender address, _value uint256) returns(su
contracts/exchange.go:371
↓ 1 callers
Method
BatchCancelOrders
BatchCancelOrders is a paid mutator transaction binding the contract method 0xe51ad32d. Solidity: function batchCancelOrders(orderValues uint256[6][]
contracts/exchange.go:1235
↓ 1 callers
Method
CancelOrder
CancelOrder is a paid mutator transaction binding the contract method 0xd9a72b52. Solidity: function cancelOrder(orderValues uint256[6], orderAddress
contracts/exchange.go:1256
↓ 1 callers
Method
EmitLog
EmitLog is a paid mutator transaction binding the contract method 0x93c1ae09. Solidity: function emitLog(orderAddresses address[4], makerOrderHashes
contracts/exchange.go:1277
↓ 1 callers
Method
ExecuteBatchTrades
ExecuteBatchTrades is a paid mutator transaction binding the contract method 0x5171267f. Solidity: function executeBatchTrades(orderValues uint256[10
contracts/exchange.go:1298
↓ 1 callers
Method
ExecuteSingleTrade
ExecuteSingleTrade is a paid mutator transaction binding the contract method 0x10ac00d8. Solidity: function executeSingleTrade(orderValues uint256[10
contracts/exchange.go:1319
↓ 1 callers
Method
ExecuteTrade
ExecuteTrade is a paid mutator transaction binding the contract method 0xb4cb2553. Solidity: function executeTrade(orderValues uint256[10], orderAddr
contracts/exchange.go:1340
↓ 1 callers
Method
RegisterPair
RegisterPair is a paid mutator transaction binding the contract method 0x3c918341. Solidity: function registerPair(_baseToken address, _quoteToken ad
contracts/exchange.go:1361
↓ 1 callers
Method
SetFeeAccount
SetFeeAccount is a paid mutator transaction binding the contract method 0x4b023cf8. Solidity: function setFeeAccount(_rewardAccount address) returns(
contracts/exchange.go:1382
↓ 1 callers
Method
SetOperator
SetOperator is a paid mutator transaction binding the contract method 0x558a7297. Solidity: function setOperator(_operator address, _isOperator bool)
contracts/exchange.go:1403
↓ 1 callers
Method
SetWethToken
SetWethToken is a paid mutator transaction binding the contract method 0x86e09c08. Solidity: function setWethToken(_wethToken address) returns(bool)
contracts/exchange.go:1445
↓ 1 callers
Method
TransferFrom
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd. Solidity: function transferFrom(_from address, _to address, _value
contracts/exchange.go:413
↓ 1 callers
Method
ValidateSignatures
ValidateSignatures is a paid mutator transaction binding the contract method 0x1778baf4. Solidity: function validateSignatures(orderValues uint256[10
contracts/exchange.go:1466
↓ 1 callers
Function
getEtherBalance
(address)
test/helpers.js:74
↓ 1 callers
Function
getReceipt
()
migrations/10_transfer_tokens.js:48
↓ 1 callers
Function
getWeiBalance
(address)
test/helpers.js:53
↓ 1 callers
Function
sendTransaction
(txn)
test/helpers.js:165
↓ 1 callers
Function
toTxHash
(value)
migrations/10_transfer_tokens.js:30
↓ 1 callers
Function
waitUntilTransactionsMined
(txnHashes)
test/helpers.js:19
Method
Allowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(_owner address, _spender address) consta
contracts/exchange.go:194
Method
Allowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(_owner address, _spender address) consta
contracts/exchange.go:201
Method
Approve
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(_spender address, _value uint256) returns(su
contracts/exchange.go:364
Method
Approve
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(_spender address, _value uint256) returns(su
contracts/exchange.go:378
Method
BalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(_owner address) constant returns(balance
contracts/exchange.go:220
Method
BalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(_owner address) constant returns(balance
contracts/exchange.go:227
Method
BatchCancelOrders
BatchCancelOrders is a paid mutator transaction binding the contract method 0xe51ad32d. Solidity: function batchCancelOrders(orderValues uint256[6][]
contracts/exchange.go:1228
Method
BatchCancelOrders
BatchCancelOrders is a paid mutator transaction binding the contract method 0xe51ad32d. Solidity: function batchCancelOrders(orderValues uint256[6][]
contracts/exchange.go:1242
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:164
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:835
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:854
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:2660
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:2679
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:3009
Method
Call
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
contracts/exchange.go:3028
Method
CancelOrder
CancelOrder is a paid mutator transaction binding the contract method 0xd9a72b52. Solidity: function cancelOrder(orderValues uint256[6], orderAddress
contracts/exchange.go:1249
Method
CancelOrder
CancelOrder is a paid mutator transaction binding the contract method 0xd9a72b52. Solidity: function cancelOrder(orderValues uint256[6], orderAddress
contracts/exchange.go:1263
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:486
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:628
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:1539
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:1673
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:1801
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:1925
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:2048
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:2171
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:2331
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:2454
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
contracts/exchange.go:2803
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() constant returns(uint8)
contracts/exchange.go:246
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() constant returns(uint8)
contracts/exchange.go:253
Function
DeployERC20
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
contracts/exchange.go:25
Function
DeployExchange
DeployExchange deploys a new Ethereum contract, binding an instance of Exchange to it.
contracts/exchange.go:715
Function
DeployOwned
DeployOwned deploys a new Ethereum contract, binding an instance of Owned to it.
contracts/exchange.go:2540
Function
DeploySafeMath
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
contracts/exchange.go:2889
Method
EmitLog
EmitLog is a paid mutator transaction binding the contract method 0x93c1ae09. Solidity: function emitLog(orderAddresses address[4], makerOrderHashes
contracts/exchange.go:1270
Method
EmitLog
EmitLog is a paid mutator transaction binding the contract method 0x93c1ae09. Solidity: function emitLog(orderAddresses address[4], makerOrderHashes
contracts/exchange.go:1284
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:480
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:622
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:1533
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:1667
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:1795
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:1919
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:2042
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:2165
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:2325
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
contracts/exchange.go:2448
next →
1–100 of 250, ranked by callers