BatchedBancorMarketMaker

Verified contract

Active on Ethereum with 25 txns
Deployed by via 0x088ccd1b at 11356477
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x9c76ce55b9806b833b8981afcab52f273cbc62c90cd44c24abc35d55415c720e
0x839d43fe2d40981224d62335267f419818dc4d5bd9ec0ef339ba1ce9dd722b8e
0xdb9235ce956c428c0e706ffed776bdf30e51fff6482ba7cf3b4c89e8f6eb8737
0x6666290c1b5dcecd09608b143bd4c7447b451f276d17c15b58a8e34bbdeb9677
0x16bd50d29e81c9652f4e70ed142c1506b7c6884a19f1df30f850547ed3ccb30b
0x783f55a2695a6d11a01096812eaac849cca796f8df762125ad32e3cc8213c242
0xd17eab46a1cc8acc452e053ae86681e6341d7a59988a0b8cad4abf9af9891c69
0xfdef4f57691ee04e0c4cf9d4c87f5f975562bf3a99e5cf2cdc12a76e1181ff49
0xc726ad76069b32b6425fadf8352c5476a577240719c67c227c89b5a73454916f
0xeae407ee55355edf534d8834a2b8a52b50686c396cdc796cd0b60c1999dfd04e

Functions
Getter at block 21244773
DAI(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
PCT_BASE(view returns (uint256)
1000000000000000000
PPM(view returns (uint32)
1000000
batchBlocks(view returns (uint256)
1
beneficiary(view returns (address)
0xe566b4cfed3eadf30ad2603e370193b63e8eff47
buyFeePct(view returns (uint256)
0
controller(view returns (address)
0x5c0d928a3d86766e6c2ca7378abe76e7b2ff1028
dao(view returns (address)
0xe06748876bf92340d56c536388568cbcf679bc11
formula(view returns (address)
0x6b2d3b366c3417c46240ab62c2878ffda9861e73
getCurrentBatchId(view returns (uint256)
21244773
isOpen(view returns (bool)
true
owner(view returns (address)
0x5c0d928a3d86766e6c2ca7378abe76e7b2ff1028
rewardToken(view returns (address)
0x21bfbda47a0b4b5b1248c767ee49f7caa9b23697
sellFeePct(view returns (uint256)
0
tap(view returns (address)
0x62e1a2e112ff4215b510f7eea04b75e161c57c00
tokensToBeMinted(view returns (uint256)
54074820573333224100754
Read-only
collaterals(addressview returns (bool whitelisteduint256 virtualSupplyuint256 virtualBalanceuint32 reserveRatiouint256 slippage)
collateralsToBeClaimed(addressview returns (uint256)
getBatch(uint256 _batchIdaddress _collateralview returns (boolbooluint256uint256uint32uint256uint256uint256uint256uint256)
getCollateralToken(address _collateralview returns (booluint256uint256uint32uint256)
getStaticPricePPM(uint256 _supplyuint256 _balanceuint32 _reserveRatiopure returns (uint256)
metaBatches(uint256view returns (bool initializeduint256 realSupplyuint256 buyFeePctuint256 sellFeePctaddress formula)
State-modifying
addCollateralToken(address _collateraluint256 _virtualSupplyuint256 _virtualBalanceuint32 _reserveRatiouint256 _slippage
claimBuyOrder(address _buyeruint256 _batchIdaddress _collateral
claimCancelledBuyOrder(address _buyeruint256 _batchIdaddress _collateral
claimCancelledSellOrder(address _selleruint256 _batchIdaddress _collateral
claimSellOrder(address _selleruint256 _batchIdaddress _collateral
openBuyOrder(address _buyeraddress _collateraluint256 _valuepayable 
openSellOrder(address _selleraddress _collateraluint256 _amount
pause(
removeCollateralToken(address _collateral
renounceOwnership(
setUpMarket(address _controlleraddress _tap
transfer(address _collateralTokenuint256 _amount
transferOwnership(address newOwner
updateBeneficiary(address _beneficiary
updateCollateralToken(address _collateraluint256 _virtualSupplyuint256 _virtualBalanceuint32 _reserveRatiouint256 _slippage
updateFees(uint256 _buyFeePctuint256 _sellFeePct
updateFormula(address _formula
Events
AddCollateralToken(address indexed collateraluint256 virtualSupplyuint256 virtualBalanceuint32 reserveRatiouint256 slippage
CancelBatch(uint256 indexed idaddress indexed collateral
ClaimBuyOrder(address indexed buyeruint256 indexed batchIdaddress indexed collateraluint256 amount
ClaimCancelledBuyOrder(address indexed buyeruint256 indexed batchIdaddress indexed collateraluint256 value
ClaimCancelledSellOrder(address indexed selleruint256 indexed batchIdaddress indexed collateraluint256 amount
ClaimSellOrder(address indexed selleruint256 indexed batchIdaddress indexed collateraluint256 feeuint256 value
NewBatch(uint256 indexed idaddress indexed collateraluint256 supplyuint256 balanceuint32 reserveRatiouint256 slippage
NewMetaBatch(uint256 indexed iduint256 supplyuint256 buyFeePctuint256 sellFeePctaddress formula
Open(
OpenBuyOrder(address indexed buyeruint256 indexed batchIdaddress indexed collateraluint256 feeuint256 value
OpenSellOrder(address indexed selleruint256 indexed batchIdaddress indexed collateraluint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RemoveCollateralToken(address indexed collateral
UpdateBeneficiary(address indexed beneficiary
UpdateCollateralToken(address indexed collateraluint256 virtualSupplyuint256 virtualBalanceuint32 reserveRatiouint256 slippage
UpdateFees(uint256 buyFeePctuint256 sellFeePct
UpdateFormula(address indexed formula
UpdatePricing(uint256 indexed batchIdaddress indexed collateraluint256 totalBuySpenduint256 totalBuyReturnuint256 totalSellSpenduint256 totalSellReturn
paused(
Constructor
constructor(address _formulaaddress _rewardTokenaddress _daiaddress _daoaddress _beneficiaryuint256 _batchBlocksuint256 _buyFeePctuint256 _sellFeePct
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.