OTC

Verified contract

Active on Ethereum with 15 txns
Deployed by via 0x880178ac at 11100995
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "OTC"

0x956add29dfba7ccc313883fb06b12ce270b9fa374d375baf60adabf233615ebf
0xb645d31c4d543472e30627507a957d07c1f1fedfc311fcb30feb1c58ebf40f27
0xdfd9c420bf485c3d81951f846e39c9b79c4e507c7c69d70ed819ba8843a370e9
0xcaee039f6307fbd04d8a24c9acd8ce1e62edb0fc4bac63808a12945d94d56d84
0x7e4bd443455f527d8f72aee28f4a2a00f8069b33727ca19b5683e1bd3954e431
0x5b0e8e9338eda98fa0a2c804440187f31f9cdfa5339a3e1451fed6dc1459217e
0x65db19551399ec446dcc00324ca5a1496c5b3684c6378924d5f59a22bb8ff4d2
0x9b55e9908fc03f4ceb874ad9757f66988081044622276ec9ba30dbf2a7a6f2b6
0x6fb3157132411b3ca75d56e6727d46e89bb859ef1468889518684cc27a2dbe0e
0x8311b725ce49d84bbf21b1bf4d5ca8b3d466a6b0884846fc0d471c7731d9d54a

Functions
Getter at block 21384146
BASE(view returns (uint256)
1000000000000000000
GRACE(view returns (uint256)
3600
approved_trader(view returns (address)
0x97a7e840d05ec436a2d7fe3b5408f89467174de6
blockTimestampLast(view returns (uint32)
1605206636
complete(view returns (bool)
true
gov(view returns (address)
0x8b4f1616751117c38a0f84f9a146cca191ea3ec5
isSale(view returns (bool)
true
pendingGov(view returns (address)
0x8b4f1616751117c38a0f84f9a146cca191ea3ec5
period(view returns (uint256)
3600
priceAverageBuy(view returns (uint256)
0
priceAverageSell(view returns (uint256)
13346376568549093271976966744802
priceCumulativeLastBuy(view returns (uint256)
0
priceCumulativeLastSell(view returns (uint256)
2175726439600489195385000855325857651417261589
purchaseTokenIs0(view returns (bool)
true
purchase_amount(view returns (uint256)
0
reserve(view returns (address)
0x97990b693835da58a281636296d2bf02787dea17
reserves_purchase_token(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
reserves_sell_token(view returns (address)
0x5dbcf33d8c2e976c6b560249878e6f1491bca25c
saleTokenIs0(view returns (bool)
true
sell_amount(view returns (uint256)
215518000000000000000000
twap_bounds(view returns (uint256)
50000000000000000
twap_counter(view returns (uint256)
2
uniFact(view returns (address)
0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
uniswap_pair1(view returns (address)
0x9346c20186d1794101b8517177a1b15c49c9ff9b
uniswap_pair2(view returns (address)
0x0000000000000000000000000000000000000000
Read-only

This contract contains no read-only function objects.

State-modifying
_setPendingGov(address pending
acceptGov(
bounds(returns (uint256)
consult(returns (uint256)
quote(uint256 purchaseAmountuint256 saleAmountreturns (uint256)
setup_purchase(address traderaddress sell_tokenaddress purchase_tokenuint256 purchase_amount_uint256 twap_perioduint256 twap_bounds_address uniswap1address uniswap2address reserve_
setup_sale(address traderaddress sell_tokenaddress purchase_tokenuint256 sell_amount_uint256 twap_perioduint256 twap_bounds_address uniswap1address uniswap2address reserve_
trade(uint256 amount_inuint256 amount_out
update_twap(
Events
BuySetup(address traderaddress reserveaddress sellTokenaddress purchaseTokenuint256 buyAmount
NewGov(address oldGovaddress newGov
NewPendingGov(address oldPendingGovaddress pendingGov
SaleSetup(address traderaddress reserveaddress sellTokenaddress purchaseTokenuint256 sellAmount
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.