diff --git a/contracts/helpers/TestBNT.sol b/contracts/helpers/TestBNT.sol index 14172ff6..031f509d 100644 --- a/contracts/helpers/TestBNT.sol +++ b/contracts/helpers/TestBNT.sol @@ -29,6 +29,18 @@ contract TestBNT is TestERC20Token { return true; } + function transferFrom(address _from, address _to, uint256 _value) public override(ERC20) returns (bool success) { + assert(super.transferFrom(_from, _to, _value)); + + // transferring to the contract address destroys tokens + if (_to == address(this)) { + _burn(address(this), _value); + emit Destruction(_value); + } + + return true; + } + function issue(address recipient, uint256 amount) external { _mint(recipient, amount); } diff --git a/contracts/pol/CarbonPOL.sol b/contracts/pol/CarbonPOL.sol index 6f3f3b90..5a01356e 100644 --- a/contracts/pol/CarbonPOL.sol +++ b/contracts/pol/CarbonPOL.sol @@ -8,7 +8,7 @@ import { SafeCast } from "@openzeppelin/contracts/utils/math/SafeCast.sol"; import { IVersioned } from "../utility/interfaces/IVersioned.sol"; import { ICarbonPOL } from "./interfaces/ICarbonPOL.sol"; import { Upgradeable } from "../utility/Upgradeable.sol"; -import { Token } from "../token/Token.sol"; +import { Token, NATIVE_TOKEN } from "../token/Token.sol"; import { Utils } from "../utility/Utils.sol"; import { MathEx } from "../utility/MathEx.sol"; import { ExpDecayMath } from "../utility/ExpDecayMath.sol"; @@ -21,6 +21,9 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils using Address for address payable; using SafeCast for uint256; + // bnt token address + Token private immutable _bnt; + // initial starting price multiplier for the dutch auction uint32 private _marketPriceMultiply; @@ -33,13 +36,18 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils // token to initial price mapping mapping(Token token => Price initialPrice) private _initialPrice; + // initial and current eth sale amount - for ETH->BNT trades + EthSaleAmount private _ethSaleAmount; + // upgrade forward-compatibility storage gap - uint256[MAX_GAP - 3] private __gap; + uint256[MAX_GAP - 4] private __gap; /** * @dev used to initialize the implementation */ - constructor() { + constructor(Token initBnt) { + _validAddress(Token.unwrap(initBnt)); + _bnt = initBnt; // initialize implementation initialize(); } @@ -71,6 +79,8 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils _setMarketPriceMultiply(2); // set price decay half-life to 10 days _setPriceDecayHalfLife(10 days); + // set initial eth sale amount to 100 eth + _setEthSaleAmount(100 ether); } /** @@ -98,7 +108,7 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils * @inheritdoc Upgradeable */ function version() public pure override(IVersioned, Upgradeable) returns (uint16) { - return 1; + return 2; } /** @@ -128,18 +138,47 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils } /** - * @notice enable trading for a token and set the initial price + * @notice sets the eth sale amount + * + * requirements: + * + * - the caller must be the admin of the contract + */ + function setEthSaleAmount(uint128 newEthSaleAmount) external onlyAdmin greaterThanZero(newEthSaleAmount) { + _setEthSaleAmount(newEthSaleAmount); + } + + /** + * @notice enable trading for TKN->ETH and set the initial price * * requirements: * * - the caller must be the admin of the contract + * - can only enable trading for non-native tokens */ function enableTrading(Token token, Price memory price) external onlyAdmin validPrice(price) { + if (token == NATIVE_TOKEN) { + revert InvalidToken(); + } _tradingStartTimes[token] = uint32(block.timestamp); _initialPrice[token] = price; emit TradingEnabled(token, price); } + /** + * @notice enable trading for ETH->BNT and set the initial price + * + * requirements: + * + * - the caller must be the admin of the contract + */ + function enableTradingETH(Price memory price) external onlyAdmin validPrice(price) { + _tradingStartTimes[NATIVE_TOKEN] = uint32(block.timestamp); + _initialPrice[NATIVE_TOKEN] = price; + _ethSaleAmount.current = _ethSaleAmount.initial; + emit TradingEnabled(NATIVE_TOKEN, price); + } + /** * @inheritdoc ICarbonPOL */ @@ -154,6 +193,13 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils return _priceDecayHalfLife; } + /** + * @inheritdoc ICarbonPOL + */ + function ethSaleAmount() external view returns (EthSaleAmount memory) { + return _ethSaleAmount; + } + /** * @inheritdoc ICarbonPOL */ @@ -164,32 +210,41 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils /** * @inheritdoc ICarbonPOL */ - function expectedTradeReturn(Token token, uint128 ethAmount) external view validToken(token) returns (uint128) { + function amountAvailableForTrading(Token token) external view returns (uint128) { + return _amountAvailableForTrading(token); + } + + /** + * @inheritdoc ICarbonPOL + */ + function expectedTradeReturn(Token token, uint128 tradeInput) external view validToken(token) returns (uint128) { Price memory currentPrice = tokenPrice(token); // revert if price is not valid _validPrice(currentPrice); - // multiply the token amount by the eth amount / total eth amount ratio to get the actual tokens received - uint128 tokenAmount = MathEx.mulDivF(currentPrice.tokenAmount, ethAmount, currentPrice.ethAmount).toUint128(); - // revert if not enough token balance - if (tokenAmount > token.balanceOf(address(this))) { - revert InsufficientTokenBalance(); + // calculate the trade return based on the current price and token + uint128 tradeReturn = MathEx + .mulDivF(currentPrice.targetAmount, tradeInput, currentPrice.sourceAmount) + .toUint128(); + // revert if not enough amount available for trade + if (tradeReturn > _amountAvailableForTrading(token)) { + revert InsufficientAmountForTrading(); } - return tokenAmount; + return tradeReturn; } /** * @inheritdoc ICarbonPOL */ function expectedTradeInput(Token token, uint128 tokenAmount) public view validToken(token) returns (uint128) { - // revert if not enough token balance for trade - if (tokenAmount > token.balanceOf(address(this))) { - revert InsufficientTokenBalance(); + // revert if not enough amount available for trade + if (tokenAmount > _amountAvailableForTrading(token)) { + revert InsufficientAmountForTrading(); } Price memory currentPrice = tokenPrice(token); // revert if current price is not valid _validPrice(currentPrice); - // multiply the eth amount by the token amount / total token amount ratio to get the actual eth to send - return MathEx.mulDivF(currentPrice.ethAmount, tokenAmount, currentPrice.tokenAmount).toUint128(); + // calculate the trade input based on the current price + return MathEx.mulDivF(currentPrice.sourceAmount, tokenAmount, currentPrice.targetAmount).toUint128(); } /** @@ -202,14 +257,16 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils if (tradingStartTime == 0) { revert TradingDisabled(); } - // get initial price as set by enableTrading - Price memory price = _initialPrice[token]; - // calculate the actual price by multiplying the eth amount by the factor - price.ethAmount *= _marketPriceMultiply; // get time elapsed since trading was enabled uint32 timeElapsed = uint32(block.timestamp) - tradingStartTime; - // get the current price by adjusting the eth amount with the exp decay formula - price.ethAmount = ExpDecayMath.calcExpDecay(price.ethAmount, timeElapsed, _priceDecayHalfLife).toUint128(); + // get initial price as set by enableTrading + Price memory price = _initialPrice[token]; + // calculate the actual price by multiplying the amount by the factor + price.sourceAmount *= _marketPriceMultiply; + // get the current price by adjusting the amount with the exp decay formula + price.sourceAmount = ExpDecayMath + .calcExpDecay(price.sourceAmount, timeElapsed, _priceDecayHalfLife) + .toUint128(); // return the price return price; } @@ -221,6 +278,16 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils Token token, uint128 amount ) external payable nonReentrant validToken(token) greaterThanZero(amount) { + uint128 inputAmount; + if (token == NATIVE_TOKEN) { + inputAmount = _sellETHForBNT(amount); + } else { + inputAmount = _sellTokenForETH(token, amount); + } + emit TokenTraded(msg.sender, token, amount, inputAmount); + } + + function _sellTokenForETH(Token token, uint128 amount) private returns (uint128) { uint128 ethRequired = expectedTradeInput(token, amount); // revert if trade requires 0 eth if (ethRequired == 0) { @@ -238,8 +305,37 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils payable(msg.sender).sendValue(msg.value - ethRequired); } - // emit event - emit TokenTraded(msg.sender, token, amount, ethRequired); + return ethRequired; + } + + function _sellETHForBNT(uint128 amount) private returns (uint128) { + uint128 bntRequired = expectedTradeInput(NATIVE_TOKEN, amount); + // revert if trade requires 0 bnt + if (bntRequired == 0) { + revert InvalidTrade(); + } + // transfer the tokens from the user to the bnt address (burn them directly) + _bnt.safeTransferFrom(msg.sender, Token.unwrap(_bnt), bntRequired); + + // transfer the eth to the user + payable(msg.sender).sendValue(amount); + + // update the available eth sale amount + _ethSaleAmount.current -= amount; + + // check if below 10% of the initial eth sale amount + if (_ethSaleAmount.current < _ethSaleAmount.initial / 10) { + // top up the eth sale amount + _ethSaleAmount.current = _ethSaleAmount.initial; + // reset the price to double the current one + Price memory price = tokenPrice(NATIVE_TOKEN); + price.sourceAmount *= _marketPriceMultiply; + _initialPrice[NATIVE_TOKEN] = price; + // emit price updated event + emit PriceUpdated(NATIVE_TOKEN, price); + } + + return bntRequired; } /** @@ -274,14 +370,42 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils emit PriceDecayHalfLifeUpdated(prevPriceDecayHalfLife, newPriceDecayHalfLife); } + /** + * @dev set eth sale amount helper + */ + function _setEthSaleAmount(uint128 newEthSaleAmount) private { + uint128 prevEthSaleAmount = _ethSaleAmount.initial; + + // return if the eth sale amount is the same + if (prevEthSaleAmount == newEthSaleAmount) { + return; + } + + _ethSaleAmount.initial = newEthSaleAmount; + + // check if the new sale amount is below the current available eth sale amount + if (newEthSaleAmount < _ethSaleAmount.current) { + _ethSaleAmount.current = newEthSaleAmount; + } + + emit EthSaleAmountUpdated(prevEthSaleAmount, newEthSaleAmount); + } + + /** + * @dev returns the token amount available for trading + */ + function _amountAvailableForTrading(Token token) private view returns (uint128) { + if (token == NATIVE_TOKEN) { + return _ethSaleAmount.current; + } else { + return uint128(token.balanceOf(address(this))); + } + } + /** * @dev validate token helper */ function _validToken(Token token) private view { - // validate token is not the native token - if (token.isNative()) { - revert InvalidToken(); - } // validate trading is enabled for token if (!_tradingEnabled(token)) { revert TradingDisabled(); @@ -292,7 +416,7 @@ contract CarbonPOL is ICarbonPOL, Upgradeable, ReentrancyGuardUpgradeable, Utils * @dev validate token helper */ function _validPrice(Price memory price) private pure { - if (price.tokenAmount == 0 || price.ethAmount == 0) { + if (price.sourceAmount == 0 || price.targetAmount == 0) { revert InvalidPrice(); } } diff --git a/contracts/pol/interfaces/ICarbonPOL.sol b/contracts/pol/interfaces/ICarbonPOL.sol index 6e79bf5a..c4368c28 100644 --- a/contracts/pol/interfaces/ICarbonPOL.sol +++ b/contracts/pol/interfaces/ICarbonPOL.sol @@ -13,11 +13,16 @@ interface ICarbonPOL is IUpgradeable { error InvalidTrade(); error TradingDisabled(); error InsufficientNativeTokenSent(); - error InsufficientTokenBalance(); + error InsufficientAmountForTrading(); struct Price { - uint128 ethAmount; - uint128 tokenAmount; + uint128 sourceAmount; + uint128 targetAmount; + } + + struct EthSaleAmount { + uint128 initial; + uint128 current; } /** @@ -28,7 +33,12 @@ interface ICarbonPOL is IUpgradeable { /** * @notice triggered after a successful trade is executed */ - event TokenTraded(address indexed caller, Token indexed token, uint128 amount, uint128 ethReceived); + event TokenTraded(address indexed caller, Token indexed token, uint128 inputAmount, uint128 outputAmount); + + /** + * @notice triggered after an eth trade leaves less than 10% of the initial eth sale amount + */ + event PriceUpdated(Token indexed token, Price price); /** * @notice triggered when the market price multiplier is updated @@ -40,6 +50,11 @@ interface ICarbonPOL is IUpgradeable { */ event PriceDecayHalfLifeUpdated(uint32 prevPriceDecayHalfLife, uint32 newPriceDecayHalfLife); + /** + * @notice triggered when the eth sale amount is updated + */ + event EthSaleAmountUpdated(uint128 prevEthSaleAmount, uint128 newEthSaleAmount); + /** * @notice returns the market price multiplier */ @@ -50,28 +65,40 @@ interface ICarbonPOL is IUpgradeable { */ function priceDecayHalfLife() external view returns (uint32); + /** + * @notice returns the initial and current eth sale amount + */ + function ethSaleAmount() external view returns (EthSaleAmount memory); + /** * @notice returns true if trading is enabled for token */ function tradingEnabled(Token token) external view returns (bool); /** - * @notice returns the expected trade output (tokens received) given an eth amount sent for a token + * @notice returns the amount available for trading for the token + */ + function amountAvailableForTrading(Token token) external view returns (uint128); + + /** + * @notice returns the expected trade output (tokens received) given an token amount sent */ function expectedTradeReturn(Token token, uint128 ethAmount) external view returns (uint128 tokenAmount); /** - * @notice returns the expected trade input (how much eth to send) given an token amount received + * @notice returns the expected trade input (how many tokens to send) given a token amount received */ function expectedTradeInput(Token token, uint128 tokenAmount) external view returns (uint128 ethAmount); /** * @notice returns the current token price (ETH / TKN) + * @notice if token == ETH, returns BNT / ETH price */ function tokenPrice(Token token) external view returns (Price memory price); /** * @notice trades ETH for *amount* of token based on the current token price (trade by target amount) + * @notice if token == ETH, trades BNT for amount of ETH */ function trade(Token token, uint128 amount) external payable; } diff --git a/deploy/scripts/0009-CarbonPOL-upgrade.ts b/deploy/scripts/0009-CarbonPOL-upgrade.ts new file mode 100644 index 00000000..27fbee08 --- /dev/null +++ b/deploy/scripts/0009-CarbonPOL-upgrade.ts @@ -0,0 +1,17 @@ +import { upgradeProxy, InstanceName, setDeploymentMetadata } from '../../utils/Deploy'; +import { DeployFunction } from 'hardhat-deploy/types'; +import { HardhatRuntimeEnvironment } from 'hardhat/types'; + +const func: DeployFunction = async ({ getNamedAccounts }: HardhatRuntimeEnvironment) => { + const { deployer, bnt } = await getNamedAccounts(); + + await upgradeProxy({ + name: InstanceName.CarbonPOL, + from: deployer, + args: [bnt] + }); + + return true; +}; + +export default setDeploymentMetadata(__filename, func); diff --git a/deploy/tests/0009-carbon-pol.ts b/deploy/tests/0009-carbon-pol.ts new file mode 100644 index 00000000..0924b727 --- /dev/null +++ b/deploy/tests/0009-carbon-pol.ts @@ -0,0 +1,33 @@ +import { CarbonPOL, ProxyAdmin } from '../../components/Contracts'; +import { DeployedContracts } from '../../utils/Deploy'; +import { describeDeployment } from '../../utils/helpers/Deploy'; +import { expect } from 'chai'; +import { ethers } from 'hardhat'; + +describeDeployment(__filename, () => { + let proxyAdmin: ProxyAdmin; + let carbonPOL: CarbonPOL; + + beforeEach(async () => { + proxyAdmin = await DeployedContracts.ProxyAdmin.deployed(); + carbonPOL = await DeployedContracts.CarbonPOL.deployed(); + }); + + it('should deploy and configure the carbon pol contract', async () => { + expect(await proxyAdmin.getProxyAdmin(carbonPOL.address)).to.equal(proxyAdmin.address); + expect(await carbonPOL.version()).to.equal(2); + + // check market price multiply is configured correctly + expect(await carbonPOL.marketPriceMultiply()).to.equal(2); + // check price decay half-life is configured correctly + expect(await carbonPOL.priceDecayHalfLife()).to.equal(864000); + }); + + it('carbon pol implementation should be initialized', async () => { + const implementationAddress = await proxyAdmin.getProxyImplementation(carbonPOL.address); + const carbonPOLImpl: CarbonPOL = await ethers.getContractAt('CarbonPOL', implementationAddress); + // hardcoding gas limit to avoid gas estimation attempts (which get rejected instead of reverted) + const tx = await carbonPOLImpl.initialize({ gasLimit: 6000000 }); + await expect(tx.wait()).to.be.reverted; + }); +}); diff --git a/test/forge/CarbonPOL.t.sol b/test/forge/CarbonPOL.t.sol index c73c72ca..01516cb3 100644 --- a/test/forge/CarbonPOL.t.sol +++ b/test/forge/CarbonPOL.t.sol @@ -6,12 +6,12 @@ import { Address } from "@openzeppelin/contracts/utils/Address.sol"; import { TestFixture } from "./TestFixture.t.sol"; import { POLTestCaseParser } from "./POLTestCaseParser.t.sol"; -import { AccessDenied, ZeroValue } from "../../contracts/utility/Utils.sol"; -import { ExpDecayMath } from "../../contracts/utility/ExpDecayMath.sol"; -import { Token, NATIVE_TOKEN } from "../../contracts/token/Token.sol"; +import { AccessDenied, ZeroValue, InvalidAddress } from "../../contracts/utility/Utils.sol"; +import { Token, toERC20, NATIVE_TOKEN } from "../../contracts/token/Token.sol"; import { TestReenterCarbonPOL } from "../../contracts/helpers/TestReenterCarbonPOL.sol"; import { ICarbonPOL } from "../../contracts/pol/interfaces/ICarbonPOL.sol"; +import { CarbonPOL } from "../../contracts/pol/CarbonPOL.sol"; contract CarbonPOLTest is TestFixture { using Address for address payable; @@ -25,6 +25,9 @@ contract CarbonPOLTest is TestFixture { uint32 private constant PRICE_DECAY_HALFLIFE_DEFAULT = 10 days; uint32 private constant PRICE_DECAY_HALFLIFE_UPDATED = 15 days; + uint128 private constant ETH_SALE_AMOUNT_DEFAULT = 100 ether; + uint128 private constant ETH_SALE_AMOUNT_UPDATED = 150 ether; + // Events /** @@ -37,6 +40,11 @@ contract CarbonPOLTest is TestFixture { */ event TokenTraded(address indexed caller, Token indexed token, uint128 amount, uint128 ethReceived); + /** + * @notice triggered after an eth sale leaves less than 10% of the initial eth sale amount + */ + event PriceUpdated(Token indexed token, ICarbonPOL.Price price); + /** * @notice triggered when the market price multiplier is updated */ @@ -47,6 +55,11 @@ contract CarbonPOLTest is TestFixture { */ event PriceDecayHalfLifeUpdated(uint32 prevPriceDecayHalfLife, uint32 newPriceDecayHalfLife); + /** + * @notice triggered when the eth sale amount is updated + */ + event EthSaleAmountUpdated(uint128 prevEthSaleAmount, uint128 newEthSaleAmount); + /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. @@ -69,7 +82,7 @@ contract CarbonPOLTest is TestFixture { function testShouldBeInitialized() public { uint16 version = carbonPOL.version(); - assertEq(version, 1); + assertEq(version, 2); } function testShouldntBeAbleToReinitialize() public { @@ -77,6 +90,14 @@ contract CarbonPOLTest is TestFixture { carbonPOL.initialize(); } + /** + * @dev test should revert when deploying CarbonPOL with an invalid bnt address + */ + function testShouldRevertWhenDeployingWithInvalidBNTAddress() public { + vm.expectRevert(InvalidAddress.selector); + new CarbonPOL(Token.wrap(address(0))); + } + /** * @dev market price multiply tests */ @@ -130,7 +151,7 @@ contract CarbonPOLTest is TestFixture { } /// @dev test that setPriceDecayHalfLife should revert when a setting to an invalid value - function testShouldRevertSettingTheRewardsPPMWithAnInvalidFee() public { + function testShouldRevertSettingThePriceDecayHalfLifeWithAnInvalidFee() public { vm.prank(admin); vm.expectRevert(ZeroValue.selector); carbonPOL.setPriceDecayHalfLife(0); @@ -159,6 +180,72 @@ contract CarbonPOLTest is TestFixture { vm.stopPrank(); } + /** + * @dev eth sale amount tests + */ + + /// @dev test that setEthSaleAmount should revert when a non admin calls it + function testShouldRevertWhenNonAdminAttemptsToSetTheEthSaleAmount() public { + vm.prank(user1); + vm.expectRevert(AccessDenied.selector); + carbonPOL.setEthSaleAmount(ETH_SALE_AMOUNT_UPDATED); + } + + /// @dev test that setEthSaleAmount should revert when setting to an invalid value + function testShouldRevertSettingTheEthSaleAmountWithAnInvalidFee() public { + vm.prank(admin); + vm.expectRevert(ZeroValue.selector); + carbonPOL.setEthSaleAmount(0); + } + + /// @dev test that setEthSaleAmount with the same value should be ignored + function testFailShouldIgnoreSettingTheSameEthSaleAmount() public { + vm.prank(admin); + vm.expectEmit(false, false, false, false); + emit EthSaleAmountUpdated(ETH_SALE_AMOUNT_DEFAULT, ETH_SALE_AMOUNT_DEFAULT); + carbonPOL.setEthSaleAmount(ETH_SALE_AMOUNT_DEFAULT); + } + + /// @dev test that admin should be able to update the eth sale amount + function testShouldBeAbleToSetAndUpdateTheEthSaleAmount() public { + vm.startPrank(admin); + uint128 ethSaleAmount = carbonPOL.ethSaleAmount().initial; + assertEq(ethSaleAmount, ETH_SALE_AMOUNT_DEFAULT); + + vm.expectEmit(); + emit EthSaleAmountUpdated(ETH_SALE_AMOUNT_DEFAULT, ETH_SALE_AMOUNT_UPDATED); + carbonPOL.setEthSaleAmount(ETH_SALE_AMOUNT_UPDATED); + + ethSaleAmount = carbonPOL.ethSaleAmount().initial; + assertEq(ethSaleAmount, ETH_SALE_AMOUNT_UPDATED); + vm.stopPrank(); + } + + /// @dev test that setting the eth sale amount to an amount below the current eth sale amount reset the current amount + function testCurrentEthSaleAmountIsUpdatedWhenAboveTheNewEthSaleAmount() public { + vm.startPrank(admin); + uint128 ethSaleAmount = carbonPOL.ethSaleAmount().initial; + assertEq(ethSaleAmount, ETH_SALE_AMOUNT_DEFAULT); + + // enable trading to set the current eth sale amount + ICarbonPOL.Price memory price = ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 }); + carbonPOL.enableTradingETH(price); + + // assert current and max amounts are equal + uint128 currentEthSaleAmount = carbonPOL.ethSaleAmount().current; + assertEq(currentEthSaleAmount, ethSaleAmount); + + // set the new amount to amount / 2 + uint128 newSaleAmount = ETH_SALE_AMOUNT_DEFAULT / 2; + carbonPOL.setEthSaleAmount(newSaleAmount); + + // assert both amounts are updated + ethSaleAmount = carbonPOL.ethSaleAmount().initial; + currentEthSaleAmount = carbonPOL.ethSaleAmount().current; + assertEq(ethSaleAmount, currentEthSaleAmount); + vm.stopPrank(); + } + /** * @dev trading tests */ @@ -166,9 +253,9 @@ contract CarbonPOLTest is TestFixture { /// @dev test trading should be disabled initially for all tokens function testTradingShouldBeDisabledInitially(uint256 i) public { // pick one of these tokens to test - Token[3] memory tokens = [token1, token2, bnt]; + Token[4] memory tokens = [token1, token2, bnt, NATIVE_TOKEN]; // pick a random number from 0 to 2 for the tokens - i = bound(i, 0, 2); + i = bound(i, 0, 3); // assert trading is disabled assertFalse(carbonPOL.tradingEnabled(tokens[i])); } @@ -182,7 +269,15 @@ contract CarbonPOLTest is TestFixture { // enable trading vm.prank(user1); vm.expectRevert(AccessDenied.selector); - carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ ethAmount: 100, tokenAmount: 10000 })); + carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 })); + } + + /// @dev test non admin shouldn't be able to enable eth trading + function testNonAdminShouldntBeAbleToEnableTradingETH() public { + // enable trading + vm.prank(user1); + vm.expectRevert(AccessDenied.selector); + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 })); } /// @dev test admin should be able to enable trading for token @@ -193,18 +288,29 @@ contract CarbonPOLTest is TestFixture { i = bound(i, 0, 2); // enable trading vm.prank(admin); - carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ ethAmount: 100, tokenAmount: 10000 })); + carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 })); // assert trading is enabled assertTrue(carbonPOL.tradingEnabled(tokens[i])); } + /// @dev test admin should be able to enable eth trading + function testAdminShouldBeAbleToEnableTradingETH() public { + // enable trading + vm.prank(admin); + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 })); + // assert trading is enabled + assertTrue(carbonPOL.tradingEnabled(NATIVE_TOKEN)); + // check current eth sale amount is set to the initial eth sale amount + assertEq(carbonPOL.ethSaleAmount().current, carbonPOL.ethSaleAmount().initial); + } + /// @dev test enabling trading for a token should emit an event function testEnablingTradingForTokenShouldEmitAnEvent(uint256 i) public { // pick one of these tokens to test Token[3] memory tokens = [token1, token2, bnt]; // pick a random number from 0 to 2 for the tokens i = bound(i, 0, 2); - ICarbonPOL.Price memory price = ICarbonPOL.Price({ ethAmount: 100, tokenAmount: 10000 }); + ICarbonPOL.Price memory price = ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 }); vm.prank(admin); // expect event to be emitted vm.expectEmit(); @@ -213,6 +319,17 @@ contract CarbonPOLTest is TestFixture { carbonPOL.enableTrading(tokens[i], price); } + /// @dev test enabling trading for eth should emit an event + function testEnablingTradingForETHShouldEmitAnEvent() public { + ICarbonPOL.Price memory price = ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 }); + vm.prank(admin); + // expect event to be emitted + vm.expectEmit(); + emit TradingEnabled(NATIVE_TOKEN, price); + // enable trading + carbonPOL.enableTradingETH(price); + } + /// @dev test should revert when setting invalid price for a token function testShouldRevertWhenSettingInvalidPriceForToken(uint256 i) public { // pick one of these tokens to test @@ -221,56 +338,126 @@ contract CarbonPOLTest is TestFixture { i = bound(i, 0, 2); // enable trading vm.startPrank(admin); - // setting any of ethAmount or tokenAmount to 0 results in invalid price error + // setting any of sourceAmount or targetAmount to 0 results in invalid price error vm.expectRevert(ICarbonPOL.InvalidPrice.selector); - carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ ethAmount: 0, tokenAmount: 10000 })); + carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ sourceAmount: 0, targetAmount: 10000 })); vm.expectRevert(ICarbonPOL.InvalidPrice.selector); - carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ ethAmount: 100000, tokenAmount: 0 })); + carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ sourceAmount: 100000, targetAmount: 0 })); vm.expectRevert(ICarbonPOL.InvalidPrice.selector); - carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ ethAmount: 0, tokenAmount: 0 })); + carbonPOL.enableTrading(tokens[i], ICarbonPOL.Price({ sourceAmount: 0, targetAmount: 0 })); + } + + /// @dev test should revert when setting invalid price for the native token + function testShouldRevertWhenSettingInvalidPriceForNativeToken() public { + // enable trading + vm.startPrank(admin); + // setting any of sourceAmount or targetAmount to 0 results in invalid price error + vm.expectRevert(ICarbonPOL.InvalidPrice.selector); + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 0, targetAmount: 10000 })); + vm.expectRevert(ICarbonPOL.InvalidPrice.selector); + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 100000, targetAmount: 0 })); + vm.expectRevert(ICarbonPOL.InvalidPrice.selector); + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 0, targetAmount: 0 })); + } + + /// @dev test should revert when enabling trading for the native token using enableTrading + function testShouldRevertWhenEnablingTradingForNativeTokenUsingEnableTrading() public { + // enable trading + vm.startPrank(admin); + // attempting to enable trading using enable trading for native token should revert + vm.expectRevert(ICarbonPOL.InvalidToken.selector); + carbonPOL.enableTrading(NATIVE_TOKEN, ICarbonPOL.Price({ sourceAmount: 100, targetAmount: 10000 })); } /// @dev test should properly return price for enabled tokens as time passes - function testShouldProperlyReturnPriceAsTimePasses(uint128 ethAmount, uint128 tokenAmount, uint256 i) public { + function testShouldProperlyReturnPriceAsTimePasses(uint128 sourceAmount, uint128 targetAmount, uint256 i) public { // pick one of these tokens to test - Token[3] memory tokens = [token1, token2, bnt]; + Token[4] memory tokens = [token1, token2, bnt, NATIVE_TOKEN]; // pick a random number from 0 to 2 for the tokens - i = bound(i, 0, 2); + i = bound(i, 0, 3); // enable trading and set price for token vm.prank(admin); Token token = tokens[i]; - ethAmount = uint128(bound(ethAmount, 10, 1e30)); - tokenAmount = uint128(bound(tokenAmount, 10, 1e30)); + sourceAmount = uint128(bound(sourceAmount, 10, 1e30)); + targetAmount = uint128(bound(targetAmount, 10, 1e30)); - ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ ethAmount: ethAmount, tokenAmount: tokenAmount }); - carbonPOL.enableTrading(token, initialPrice); + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ + sourceAmount: sourceAmount, + targetAmount: targetAmount + }); + token == NATIVE_TOKEN ? carbonPOL.enableTradingETH(initialPrice) : carbonPOL.enableTrading(token, initialPrice); // set timestamp to 1 vm.warp(1); ICarbonPOL.Price memory price = carbonPOL.tokenPrice(token); // price should be exactly 2x the market price at start - assertEq(price.ethAmount, ethAmount * MARKET_PRICE_MULTIPLY_DEFAULT); + assertEq(price.sourceAmount, sourceAmount * MARKET_PRICE_MULTIPLY_DEFAULT); // set timestamp to 10 days (half-life time) vm.warp(10 days + 1); // price should be equal market price at half-life price = carbonPOL.tokenPrice(token); - assertEq(price.ethAmount, ethAmount); + assertEq(price.sourceAmount, sourceAmount); - // set timestamp to 20 days + // // set timestamp to 20 days vm.warp(20 days + 1); // price should be equal to half the market price at 2x half-life price = carbonPOL.tokenPrice(token); - assertEq(price.ethAmount, ethAmount / 2); + assertEq(price.sourceAmount, sourceAmount / 2); + } + + /// @dev test should properly return price for native token as time passes + function testShouldProperlyReturnNativeTokenPriceAfterBigSale(uint128 sourceAmount, uint128 targetAmount) public { + // enable trading and set price for token + vm.prank(admin); + Token token = NATIVE_TOKEN; + + sourceAmount = uint128(bound(sourceAmount, 1e17, 1 * 1e18)); + targetAmount = uint128(bound(targetAmount, 1000 * 1e18, 4000 * 1e18)); + + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ + sourceAmount: sourceAmount, + targetAmount: targetAmount + }); + carbonPOL.enableTradingETH(initialPrice); + + vm.startPrank(user1); + + // set timestamp to 1 + vm.warp(1); + + // set timestamp to 10 days + vm.warp(10 days + 1); + + // approve bnt + bnt.safeApprove(address(carbonPOL), type(uint256).max); + + // trade 95% of the eth sale amount + uint128 currentEthSaleAmount = uint128(carbonPOL.ethSaleAmount().initial); + uint128 tradeAmount = (currentEthSaleAmount * 95) / 100; + carbonPOL.trade(token, tradeAmount); + + // price has been reset at this point + + // get price after reset + ICarbonPOL.Price memory price = carbonPOL.tokenPrice(token); + + // set timestamp to 20 days (half-life time) + vm.warp(20 days + 1); + + ICarbonPOL.Price memory newPrice = carbonPOL.tokenPrice(token); + // new price should be exactly equal to the prev price / 2 after the update + assertEq(price.targetAmount, newPrice.targetAmount); + assertEq(price.sourceAmount, newPrice.sourceAmount * carbonPOL.marketPriceMultiply()); } /// @dev test correct prices retrieved by tokenPrice with different initial prices and different timestamps function testPricesAtTimestamps() public { - // test the following timestamps, ethAmounts and tokenAmounts + // test the following timestamps, sourceAmounts and targetAmounts uint24[10] memory timestamps = [ 1, 1 days, @@ -283,7 +470,7 @@ contract CarbonPOLTest is TestFixture { 50 days, 100 days ]; - uint88[10] memory ethAmounts = [ + uint88[10] memory sourceAmounts = [ 100, 1e18, 10e18, @@ -295,7 +482,7 @@ contract CarbonPOLTest is TestFixture { 5000000e18, 10000000e18 ]; - uint88[10] memory tokenAmounts = [ + uint88[10] memory targetAmounts = [ 100, 1e18, 10e18, @@ -314,20 +501,23 @@ contract CarbonPOLTest is TestFixture { // get test cases from the pol test case parser POLTestCaseParser.TestCase[] memory testCases = testCaseParser.getTestCases(); - // go through each of the eth amounts, token amounts and timestamps to verify token price output matches test data - for (uint256 i = 0; i < ethAmounts.length; ++i) { - for (uint256 j = 0; j < tokenAmounts.length; ++j) { + // go through each of the source amounts, target amounts and timestamps to verify token price output matches test data + for (uint256 i = 0; i < sourceAmounts.length; ++i) { + for (uint256 j = 0; j < targetAmounts.length; ++j) { vm.warp(1); - uint128 ethAmount = uint128(ethAmounts[i]); - uint128 tokenAmount = uint128(tokenAmounts[j]); - ICarbonPOL.Price memory price = ICarbonPOL.Price({ ethAmount: ethAmount, tokenAmount: tokenAmount }); + uint128 sourceAmount = uint128(sourceAmounts[i]); + uint128 targetAmount = uint128(targetAmounts[j]); + ICarbonPOL.Price memory price = ICarbonPOL.Price({ + sourceAmount: sourceAmount, + targetAmount: targetAmount + }); carbonPOL.enableTrading(token1, price); // get the correct test case for this price POLTestCaseParser.TestCase memory currentCase; for (uint256 t = 0; t < testCases.length; ++t) { if ( - testCases[t].initialPrice.ethAmount == ethAmount && - testCases[t].initialPrice.tokenAmount == tokenAmount + testCases[t].initialPrice.sourceAmount == sourceAmount && + testCases[t].initialPrice.targetAmount == targetAmount ) { currentCase = testCases[t]; } @@ -341,20 +531,20 @@ contract CarbonPOLTest is TestFixture { POLTestCaseParser.PriceAtTimestamp memory priceAtTimestamp = currentCase.pricesAtTimestamp[k]; // assert test data matches the actual token price data assertEq(priceAtTimestamp.timestamp, timestamps[k]); - assertEq(priceAtTimestamp.ethAmount, price.ethAmount); - assertEq(priceAtTimestamp.tokenAmount, price.tokenAmount); + assertEq(priceAtTimestamp.sourceAmount, price.sourceAmount); + assertEq(priceAtTimestamp.targetAmount, price.targetAmount); } } } } - /// @dev test trading should emit an event - function testTradingShouldEmitAnEvent() public { + /// @dev test trading tokens should emit an event + function testTradingTokensShouldEmitAnEvent() public { // enable trading and set price for token1 vm.prank(admin); Token token = token1; - ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ ethAmount: 1000000, tokenAmount: 100000000000 }); + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 1000000, targetAmount: 100000000000 }); carbonPOL.enableTrading(token, initialPrice); vm.startPrank(user1); @@ -374,13 +564,42 @@ contract CarbonPOLTest is TestFixture { vm.stopPrank(); } + /// @dev test trading eth should emit an event + function testTradingETHShouldEmitAnEvent() public { + // enable trading and set price for the native token + vm.prank(admin); + Token token = NATIVE_TOKEN; + + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 1000000, targetAmount: 100000000000 }); + carbonPOL.enableTradingETH(initialPrice); + + vm.startPrank(user1); + + // set timestamp to 10 days + vm.warp(10 days); + + // expected trade input + uint128 tradeAmount = 100000000; + uint128 expectedTradeInput = carbonPOL.expectedTradeInput(token, tradeAmount); + + // approve bnt for eth -> bnt trades + bnt.safeApprove(address(carbonPOL), type(uint256).max); + + // trade + vm.expectEmit(); + emit TokenTraded(user1, token, tradeAmount, expectedTradeInput); + carbonPOL.trade(token, tradeAmount); + + vm.stopPrank(); + } + /// @dev test trading should refund excess eth function testTradingShouldRefundExcessETH() public { // enable trading and set price for token1 vm.prank(admin); Token token = token1; - ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ ethAmount: 1000000, tokenAmount: 100000000000 }); + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 1000000, targetAmount: 100000000000 }); carbonPOL.enableTrading(token, initialPrice); vm.startPrank(user1); @@ -410,7 +629,7 @@ contract CarbonPOLTest is TestFixture { vm.prank(admin); Token token = token1; - ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ ethAmount: 1000000, tokenAmount: 100000000000 }); + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 1000000, targetAmount: 100000000000 }); carbonPOL.enableTrading(token, initialPrice); vm.startPrank(user1); @@ -440,7 +659,7 @@ contract CarbonPOLTest is TestFixture { vm.prank(admin); Token token = token1; - ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ ethAmount: 1000000, tokenAmount: 100000000000 }); + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 1000000, targetAmount: 100000000000 }); carbonPOL.enableTrading(token, initialPrice); vm.startPrank(user1); @@ -464,61 +683,298 @@ contract CarbonPOLTest is TestFixture { vm.stopPrank(); } + /// @dev test trading eth should send eth to user + function testTradingETHShouldSendETHToUser() public { + // enable trading and set price for the native token + vm.prank(admin); + Token token = NATIVE_TOKEN; + + // set 1 eth = 2000 bnt as initial price + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 2000 * 1e18, targetAmount: 1e18 }); + carbonPOL.enableTradingETH(initialPrice); + + vm.startPrank(user1); + + // set timestamp to 10 days + vm.warp(10 days); + + // expected trade input + uint128 tradeAmount = 1000e18; + uint128 expectedEthReceived = carbonPOL.expectedTradeReturn(token, tradeAmount); + + uint256 ethBalanceBefore = user1.balance; + + // approve bnt for eth -> bnt trades + bnt.safeApprove(address(carbonPOL), tradeAmount); + + // trade + carbonPOL.trade(token, expectedEthReceived); + + uint256 ethBalanceAfter = user1.balance; + + assertEq(ethBalanceAfter - ethBalanceBefore, expectedEthReceived); + + vm.stopPrank(); + } + + /// @dev test trading eth should burn bnt + function testTradingETHShouldBurnBNT() public { + // enable trading and set price for the native token + vm.prank(admin); + Token token = NATIVE_TOKEN; + + // set 1 eth = 2000 bnt as initial price + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 1e18, targetAmount: 2000 * 1e18 }); + carbonPOL.enableTradingETH(initialPrice); + + vm.startPrank(user1); + + // set timestamp to 10 days + vm.warp(10 days); + + // trade 1 ETH + uint128 tradeAmount = 1 * 1e18; + uint128 expectedTradeInput = carbonPOL.expectedTradeInput(token, tradeAmount); + + uint256 bntBalanceBefore = bnt.balanceOf(user1); + uint256 bntSupplyBefore = toERC20(bnt).totalSupply(); + + // approve bnt for eth -> bnt trades + bnt.safeApprove(address(carbonPOL), expectedTradeInput); + + // trade + carbonPOL.trade(token, tradeAmount); + + uint256 bntBalanceAfter = bnt.balanceOf(user1); + uint256 bntSupplyAfter = toERC20(bnt).totalSupply(); + + assertEq(bntBalanceBefore - bntBalanceAfter, expectedTradeInput); + assertEq(bntSupplyBefore - bntSupplyAfter, expectedTradeInput); + + vm.stopPrank(); + } + + /// @dev test trading eth should decrease the current eth sale amount + function testTradingETHShouldDecreaseCurrentEthSaleAmount() public { + // enable trading and set price for the native token + vm.prank(admin); + Token token = NATIVE_TOKEN; + + // set 1 eth = 2000 bnt as initial price + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 2000 * 1e18, targetAmount: 1e18 }); + carbonPOL.enableTradingETH(initialPrice); + + vm.startPrank(user1); + + // set timestamp to 10 days + vm.warp(10 days); + + // expected trade return + uint128 tradeAmount = 4000 * 1e18; + uint128 expectedEthReceived = carbonPOL.expectedTradeReturn(token, tradeAmount); + + uint128 saleAmountBefore = carbonPOL.ethSaleAmount().current; + + // approve bnt for eth -> bnt trades + bnt.safeApprove(address(carbonPOL), tradeAmount); + + // trade + carbonPOL.trade(token, expectedEthReceived); + + uint128 saleAmountAfter = carbonPOL.ethSaleAmount().current; + + assertEq(saleAmountBefore - saleAmountAfter, expectedEthReceived); + + vm.stopPrank(); + } + + /// @dev test trading eth below the 10% * sale amount threshold should reset the price and current eth amount + function testTradingETHBelowTheSaleThreshholdShouldResetThePriceAndCurrentEthAmount() public { + // enable trading and set price for the native token + vm.prank(admin); + Token token = NATIVE_TOKEN; + + // set 1 eth = 2000 bnt as initial price + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 2000 * 1e18, targetAmount: 1e18 }); + carbonPOL.enableTradingETH(initialPrice); + + vm.startPrank(user1); + + // set timestamp to 10 days + vm.warp(10 days); + + uint128 initialSaleAmount = carbonPOL.ethSaleAmount().initial; + uint128 currentSaleAmount = carbonPOL.ethSaleAmount().current; + + // assert current and initial eth sale amount are equal + assertEq(initialSaleAmount, currentSaleAmount); + + // trade 85% of the sale amount + uint128 amountToSell = uint128((initialSaleAmount * 85) / 100); + + // approve bnt for eth -> bnt trades + bnt.safeApprove(address(carbonPOL), MAX_SOURCE_AMOUNT); + + // trade + carbonPOL.trade(token, amountToSell); + + // assert we have 15% available eth for sale + currentSaleAmount = carbonPOL.ethSaleAmount().current; + assertEq(currentSaleAmount, initialSaleAmount - amountToSell); + + // get the price before the threshold trade + ICarbonPOL.Price memory prevPrice = carbonPOL.tokenPrice(NATIVE_TOKEN); + + // trade 10% more (so that we go below 10% of the max sale amount) + amountToSell = uint128((initialSaleAmount * 10) / 100); + carbonPOL.trade(token, amountToSell); + + // assert initial sale amount is the same + assertEq(initialSaleAmount, carbonPOL.ethSaleAmount().initial); + + // assert new current eth sale amount is equal to the initial (we have topped up the amount) + currentSaleAmount = carbonPOL.ethSaleAmount().current; + assertEq(currentSaleAmount, initialSaleAmount); + + vm.warp(block.timestamp + 1); + // get the price after the threshold trade + ICarbonPOL.Price memory newPrice = carbonPOL.tokenPrice(NATIVE_TOKEN); + + // assert new price is twice the price before the trade + assertEq(newPrice.sourceAmount, prevPrice.sourceAmount * carbonPOL.marketPriceMultiply()); + assertEq(newPrice.targetAmount, prevPrice.targetAmount); + + vm.stopPrank(); + } + + /// @dev test trading eth below the 10% * sale amount threshold should emit price updated event + function testTradingETHBelowTheSaleThreshholdShouldEmitEvent() public { + // enable trading and set price for the native token + vm.prank(admin); + Token token = NATIVE_TOKEN; + + // set 1 eth = 2000 bnt as initial price + ICarbonPOL.Price memory initialPrice = ICarbonPOL.Price({ sourceAmount: 2000 * 1e18, targetAmount: 1e18 }); + carbonPOL.enableTradingETH(initialPrice); + + vm.startPrank(user1); + + // set timestamp to 10 days + vm.warp(10 days); + + uint128 initialSaleAmount = carbonPOL.ethSaleAmount().initial; + uint128 currentSaleAmount = carbonPOL.ethSaleAmount().current; + + // assert current and initial eth sale amount are equal + assertEq(initialSaleAmount, currentSaleAmount); + + // trade 95% of the sale amount + uint128 amountToSell = uint128((initialSaleAmount * 95) / 100); + + // approve bnt for eth -> bnt trades + bnt.safeApprove(address(carbonPOL), MAX_SOURCE_AMOUNT); + + // get the price before the threshold trade + ICarbonPOL.Price memory prevPrice = carbonPOL.tokenPrice(NATIVE_TOKEN); + + uint128 newExpectedSourceAmount = prevPrice.sourceAmount * carbonPOL.marketPriceMultiply(); + ICarbonPOL.Price memory newExpectedPrice = ICarbonPOL.Price({ + sourceAmount: newExpectedSourceAmount, + targetAmount: prevPrice.targetAmount + }); + + // trade + vm.expectEmit(); + emit PriceUpdated(token, newExpectedPrice); + carbonPOL.trade(token, amountToSell); + + vm.stopPrank(); + } + /// @dev test should revert getting price for tokens for which trading is disabled - function testShouldRevertTokenPriceIfTradingIsDisabled() public { + function testShouldRevertTokenPriceIfTradingIsDisabled(bool isNativeToken) public { + Token token = isNativeToken ? NATIVE_TOKEN : token1; // expect for a revert with trading disabled vm.expectRevert(ICarbonPOL.TradingDisabled.selector); - carbonPOL.tokenPrice(token1); + carbonPOL.tokenPrice(token); } /// @dev test should revert expected input for tokens for which trading is disabled - function testShouldRevertExpectedTradeInputIfTradingIsDisabled(uint128 amount) public { + function testShouldRevertExpectedTradeInputIfTradingIsDisabled(bool isNativeToken, uint128 amount) public { + Token token = isNativeToken ? NATIVE_TOKEN : token1; // assert trading is disabled for token - assertFalse(carbonPOL.tradingEnabled(token1)); + assertFalse(carbonPOL.tradingEnabled(token)); // expect for a revert with trading disabled vm.expectRevert(ICarbonPOL.TradingDisabled.selector); - carbonPOL.expectedTradeInput(token1, amount); + carbonPOL.expectedTradeInput(token, amount); } /// @dev test should revert expected return for tokens for which trading is disabled - function testShouldRevertExpectedTradeReturnIfTradingIsDisabled(uint128 amount) public { + function testShouldRevertExpectedTradeReturnIfTradingIsDisabled(bool isNativeToken, uint128 amount) public { + Token token = isNativeToken ? NATIVE_TOKEN : token1; // assert trading is disabled for token - assertFalse(carbonPOL.tradingEnabled(token1)); + assertFalse(carbonPOL.tradingEnabled(token)); // expect for a revert with trading disabled vm.expectRevert(ICarbonPOL.TradingDisabled.selector); - carbonPOL.expectedTradeReturn(token1, amount); + carbonPOL.expectedTradeReturn(token, amount); } /// @dev test should return invalid price for expected return for tokens if eth amount in price goes to zero function testShouldReturnInvalidPriceForExpectedTradeReturnIfEthAmountGoesToZero(uint128 amount) public { vm.prank(admin); // enable token to test - carbonPOL.enableTrading(token1, ICarbonPOL.Price({ ethAmount: 1, tokenAmount: 1 })); + carbonPOL.enableTrading(token1, ICarbonPOL.Price({ sourceAmount: 1, targetAmount: 1 })); vm.warp(20 days); // expect for a revert with invalid price vm.expectRevert(ICarbonPOL.InvalidPrice.selector); carbonPOL.expectedTradeReturn(token1, amount); } + /// @dev test should return invalid price for expected return for native token if eth amount in price goes to zero + function testShouldReturnInvalidPriceForExpectedTradeReturnForNativeTokenIfEthAmountGoesToZero( + uint128 amount + ) public { + vm.prank(admin); + // enable token to test + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 1, targetAmount: 1 })); + vm.warp(20 days); + // expect for a revert with invalid price + vm.expectRevert(ICarbonPOL.InvalidPrice.selector); + carbonPOL.expectedTradeReturn(NATIVE_TOKEN, amount); + } + /// @dev test should revert expected input if not enough token balance function testShouldRevertExpectedTradeInputIfNotEnoughTokenBalanceForTrade() public { vm.prank(admin); // enable token to test - carbonPOL.enableTrading(token1, ICarbonPOL.Price({ ethAmount: 10000, tokenAmount: 100000000 })); + carbonPOL.enableTrading(token1, ICarbonPOL.Price({ sourceAmount: 10000, targetAmount: 100000000 })); // set timestamp to 5 days vm.warp(5 days); uint256 tokenBalance = token1.balanceOf(address(carbonPOL)); uint128 amount = uint128(tokenBalance) + 1; // get expected trade input - vm.expectRevert(ICarbonPOL.InsufficientTokenBalance.selector); + vm.expectRevert(ICarbonPOL.InsufficientAmountForTrading.selector); carbonPOL.expectedTradeInput(token1, amount); } + /// @dev test should revert expected input for native token if not enough current sale amount for trade + function testShouldRevertExpectedTradeInputIfNotEnoughNativeTokenSaleAmountForTrade() public { + vm.prank(admin); + // enable native token to test + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 10000, targetAmount: 100000000 })); + // set timestamp to 5 days + vm.warp(5 days); + uint128 saleAmount = carbonPOL.ethSaleAmount().current; + // get expected trade input + vm.expectRevert(ICarbonPOL.InsufficientAmountForTrading.selector); + carbonPOL.expectedTradeInput(NATIVE_TOKEN, saleAmount + 1e18); + } + /// @dev test should revert expected return if not enough token balance function testShouldRevertExpectedReturnIfNotEnoughTokenBalanceForTrade() public { vm.prank(admin); // enable token to test - carbonPOL.enableTrading(token1, ICarbonPOL.Price({ ethAmount: 10000, tokenAmount: 100000000 })); + carbonPOL.enableTrading(token1, ICarbonPOL.Price({ sourceAmount: 10000, targetAmount: 100000000 })); // set timestamp to 5 days vm.warp(5 days); // get token balance @@ -527,14 +983,31 @@ contract CarbonPOLTest is TestFixture { uint128 expectedInput = carbonPOL.expectedTradeInput(token1, uint128(tokenBalance)); uint128 amount = expectedInput + 1; // expect revert - vm.expectRevert(ICarbonPOL.InsufficientTokenBalance.selector); + vm.expectRevert(ICarbonPOL.InsufficientAmountForTrading.selector); carbonPOL.expectedTradeReturn(token1, amount); } + /// @dev test should revert expected return for native token if not enough current sale amount for the trade + function testShouldRevertExpectedReturnIfNotEnoughNativeTokenSaleAmountForTrade() public { + vm.startPrank(admin); + // enable token to test + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 10000, targetAmount: 100000000 })); + vm.stopPrank(); + // set timestamp to 5 days + vm.warp(5 days); + uint128 saleAmount = carbonPOL.ethSaleAmount().current; + // get expected trade input + uint128 expectedInput = carbonPOL.expectedTradeInput(NATIVE_TOKEN, saleAmount); + uint128 amount = expectedInput + 1; + // expect revert + vm.expectRevert(ICarbonPOL.InsufficientAmountForTrading.selector); + carbonPOL.expectedTradeReturn(NATIVE_TOKEN, amount); + } + /// @dev test should revert if attempting to trade tokens for which trading is disabled - function testShouldRevertTradingTokensForWhichTradingIsDisabled() public { + function testShouldRevertTradingTokensForWhichTradingIsDisabled(bool isNativeToken) public { vm.prank(user1); - Token token = token1; + Token token = isNativeToken ? NATIVE_TOKEN : token1; uint128 amount = 1e18; // assert trading is disabled for token assertFalse(carbonPOL.tradingEnabled(token)); @@ -543,37 +1016,41 @@ contract CarbonPOLTest is TestFixture { carbonPOL.trade(token, amount); } - /// @dev test should revert if attempting to trade eth - function testShouldRevertTradingETH() public { + /// @dev test should revert if attempting to trade with zero amount + function testShouldRevertTradingWithZeroAmount() public { + Token token = token1; + uint128 amount = 0; + vm.prank(admin); + // enable token to test + carbonPOL.enableTrading(token, ICarbonPOL.Price({ sourceAmount: 1, targetAmount: 1 })); vm.prank(user1); - Token token = NATIVE_TOKEN; - uint128 amount = 1e18; // expect trade to revert - vm.expectRevert(ICarbonPOL.InvalidToken.selector); + vm.expectRevert(ZeroValue.selector); carbonPOL.trade(token, amount); } - /// @dev test should revert if attempting to trade with zero amount - function testShouldRevertTradingWithZeroAmount() public { - Token token = token1; + /// @dev test should revert if attempting to trade native token with zero amount + function testShouldRevertTradingNativeTokenWithZeroAmount() public { + Token token = NATIVE_TOKEN; uint128 amount = 0; vm.prank(admin); // enable token to test - carbonPOL.enableTrading(token, ICarbonPOL.Price({ ethAmount: 1, tokenAmount: 1 })); + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 1, targetAmount: 1 })); vm.prank(user1); // expect trade to revert vm.expectRevert(ZeroValue.selector); carbonPOL.trade(token, amount); } - /// @dev test should revert if token value in ETH is equal to 0 - function testShouldRevertTradingForZeroTokenValue() public { - Token token = token1; + /// @dev test should revert if token value is equal to 0 + function testShouldRevertTradingForZeroTokenValue(bool isNative) public { + Token token = isNative ? NATIVE_TOKEN : token1; // trade 999 tokens uint128 amount = 999; vm.prank(admin); // enable token to test - carbonPOL.enableTrading(token, ICarbonPOL.Price({ ethAmount: 1, tokenAmount: 1000 })); + ICarbonPOL.Price memory price = ICarbonPOL.Price({ sourceAmount: 1, targetAmount: 1000 }); + isNative ? carbonPOL.enableTradingETH(price) : carbonPOL.enableTrading(token, price); vm.startPrank(user1); // set block.timestamp to 1000 vm.warp(1000); @@ -585,6 +1062,33 @@ contract CarbonPOLTest is TestFixture { vm.stopPrank(); } + /// @dev test should revert trading eth if the trade amount is above the current eth sale amount + function testShouldRevertTradingETHIfTradeAmountIsAboveCurrentEthSaleAmount() public { + Token token = NATIVE_TOKEN; + vm.prank(admin); + // enable token to test + carbonPOL.enableTradingETH(ICarbonPOL.Price({ sourceAmount: 2000 * 1e18, targetAmount: 1e18 })); + + // assert that available eth amount is exactly 100 ether + assertEq(carbonPOL.ethSaleAmount().initial, 100 ether); + + vm.startPrank(user1); + + bnt.safeApprove(address(carbonPOL), type(uint256).max); + + // check 100 eth trade passes successfully + carbonPOL.trade(token, 100 ether); + + // set block.timestamp to 1000 + vm.warp(1000); + // trade a bit over 100 eth + uint128 sourceAmount = 100 ether + 1; + // expect trade to revert + vm.expectRevert(ICarbonPOL.InsufficientAmountForTrading.selector); + carbonPOL.trade(token, sourceAmount); + vm.stopPrank(); + } + /// @dev test should revert trading if not enough eth has been sent function testShouldRevertTradingIfNotEnoughETHSent() public { Token token = token1; @@ -592,7 +1096,7 @@ contract CarbonPOLTest is TestFixture { uint128 amount = 1e18; vm.prank(admin); // enable token to test - carbonPOL.enableTrading(token, ICarbonPOL.Price({ ethAmount: 1e18, tokenAmount: 1e22 })); + carbonPOL.enableTrading(token, ICarbonPOL.Price({ sourceAmount: 1e18, targetAmount: 1e22 })); vm.startPrank(user1); // set timestamp to 1000 to ensure some time passes between calls vm.warp(1000); @@ -613,7 +1117,7 @@ contract CarbonPOLTest is TestFixture { uint128 amount = 1e18; vm.prank(admin); // enable token to test - carbonPOL.enableTrading(token, ICarbonPOL.Price({ ethAmount: 1e18, tokenAmount: 1e22 })); + carbonPOL.enableTrading(token, ICarbonPOL.Price({ sourceAmount: 1e18, targetAmount: 1e22 })); vm.startPrank(user1); // deploy carbonPOL reentrancy contract TestReenterCarbonPOL testReentrancy = new TestReenterCarbonPOL(carbonPOL, token); @@ -630,17 +1134,4 @@ contract CarbonPOLTest is TestFixture { testReentrancy.tryReenterCarbonPOL{ value: ethRequired + 1 }(amount); vm.stopPrank(); } - - /// @dev helper function to get expected eth amount in price for a token at the current time - function getExpectedETHAmount(uint128 ethAmount) private view returns (uint128) { - // calculate the actual price by multiplying the eth amount by the factor - ethAmount *= carbonPOL.marketPriceMultiply(); - uint32 tradingStartTime = 1; - // get time elapsed since trading was enabled - uint32 timeElapsed = uint32(block.timestamp) - tradingStartTime; - uint32 priceDecayHalfLife = carbonPOL.priceDecayHalfLife(); - // get the current eth amount by adjusting the eth amount with the exp decay formula - ethAmount = uint128(ExpDecayMath.calcExpDecay(ethAmount, timeElapsed, priceDecayHalfLife)); - return ethAmount; - } } diff --git a/test/forge/POLTestCaseParser.t.sol b/test/forge/POLTestCaseParser.t.sol index 951da34c..4afe8fdb 100644 --- a/test/forge/POLTestCaseParser.t.sol +++ b/test/forge/POLTestCaseParser.t.sol @@ -12,15 +12,15 @@ contract POLTestCaseParser is Test { using stdJson for string; struct PriceAtTimestamp { + uint128 sourceAmount; + uint128 targetAmount; uint32 timestamp; - uint128 ethAmount; - uint128 tokenAmount; } struct PriceAtTimestampString { - string ethAmount; + string sourceAmount; + string targetAmount; string timestamp; - string tokenAmount; } struct TestCase { @@ -32,7 +32,8 @@ contract POLTestCaseParser is Test { * @dev helper function to get test cases by parsing test data json */ function getTestCases() public returns (TestCase[] memory testCases) { - string memory json = vm.readFile("./test/helpers/data/polPricingTestData.json"); + string memory path = "./test/helpers/data/polPricingTestData.json"; + string memory json = vm.readFile(path); testCases = parseTestCases(json, "testCase"); return testCases; @@ -45,17 +46,17 @@ contract POLTestCaseParser is Test { string memory json, string memory initialParseString ) private returns (ICarbonPOL.Price memory price) { - uint256 initialPriceEthAmount = vm.parseJsonUint( + uint256 initialPriceSourceAmount = vm.parseJsonUint( json, - string.concat(initialParseString, "].initialPriceEthAmount") + string.concat(initialParseString, "].initialPriceSourceAmount") ); - uint256 initialPriceTokenAmount = vm.parseJsonUint( + uint256 initialPriceTargetAmount = vm.parseJsonUint( json, - string.concat(initialParseString, "].initialPriceTokenAmount") + string.concat(initialParseString, "].initialPriceTargetAmount") ); price = ICarbonPOL.Price({ - ethAmount: uint128(initialPriceEthAmount), - tokenAmount: uint128(initialPriceTokenAmount) + sourceAmount: uint128(initialPriceSourceAmount), + targetAmount: uint128(initialPriceTargetAmount) }); } @@ -120,8 +121,8 @@ contract POLTestCaseParser is Test { return PriceAtTimestamp({ timestamp: uint32(stringToUint(priceAtTimestampString.timestamp)), - ethAmount: uint128(stringToUint(priceAtTimestampString.ethAmount)), - tokenAmount: uint128(stringToUint(priceAtTimestampString.tokenAmount)) + sourceAmount: uint128(stringToUint(priceAtTimestampString.sourceAmount)), + targetAmount: uint128(stringToUint(priceAtTimestampString.targetAmount)) }); } diff --git a/test/forge/TestFixture.t.sol b/test/forge/TestFixture.t.sol index e553c0b5..edd0570e 100644 --- a/test/forge/TestFixture.t.sol +++ b/test/forge/TestFixture.t.sol @@ -192,7 +192,7 @@ contract TestFixture is Test { vm.startPrank(admin); // Deploy Carbon POL - carbonPOL = new CarbonPOL(); + carbonPOL = new CarbonPOL(bnt); bytes memory polInitData = abi.encodeWithSelector(carbonPOL.initialize.selector); // Deploy Carbon POL proxy @@ -250,6 +250,8 @@ contract TestFixture is Test { token1.safeTransfer(address(carbonPOL), MAX_SOURCE_AMOUNT * 2); token2.safeTransfer(address(carbonPOL), MAX_SOURCE_AMOUNT * 2); bnt.safeTransfer(address(carbonPOL), MAX_SOURCE_AMOUNT * 5); + // transfer eth + vm.deal(address(carbonPOL), MAX_SOURCE_AMOUNT); vm.stopPrank(); } } diff --git a/test/helpers/data/polPricingTestData.json b/test/helpers/data/polPricingTestData.json index 55d8778a..8f8451ce 100644 --- a/test/helpers/data/polPricingTestData.json +++ b/test/helpers/data/polPricingTestData.json @@ -4,5601 +4,5601 @@ "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "100" + "sourceAmount": "200", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "100" + "sourceAmount": "186", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "100" + "sourceAmount": "174", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "100" + "sourceAmount": "141", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "100" + "sourceAmount": "100", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "100" + "sourceAmount": "50", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "100" + "sourceAmount": "25", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "100" + "sourceAmount": "12", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "100" + "sourceAmount": "6", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "100" + "sourceAmount": "0", + "targetAmount": "100" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "1000000000000000000" + "sourceAmount": "200", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "1000000000000000000" + "sourceAmount": "186", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "1000000000000000000" + "sourceAmount": "174", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "1000000000000000000" + "sourceAmount": "141", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "1000000000000000000" + "sourceAmount": "100", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "1000000000000000000" + "sourceAmount": "50", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "1000000000000000000" + "sourceAmount": "25", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "1000000000000000000" + "sourceAmount": "12", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "1000000000000000000" + "sourceAmount": "6", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "1000000000000000000" + "sourceAmount": "0", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "10000000000000000000" + "sourceAmount": "200", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "10000000000000000000" + "sourceAmount": "186", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "10000000000000000000" + "sourceAmount": "174", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "10000000000000000000" + "sourceAmount": "141", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "10000000000000000000" + "sourceAmount": "100", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "10000000000000000000" + "sourceAmount": "50", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "10000000000000000000" + "sourceAmount": "25", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "10000000000000000000" + "sourceAmount": "12", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "10000000000000000000" + "sourceAmount": "6", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "10000000000000000000" + "sourceAmount": "0", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "200", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "186", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "174", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "141", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "100", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "50", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "25", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "12", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "6", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "0", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "200", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "186", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "174", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "141", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "100", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "50", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "25", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "12", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "6", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "0", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "200", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "186", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "174", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "141", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "100", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "50", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "25", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "12", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "6", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "0", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "200", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "186", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "174", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "141", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "100", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "50", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "25", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "12", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "6", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "0", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "200", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "186", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "174", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "141", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "100", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "50", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "25", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "12", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "6", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "0", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "200", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "186", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "174", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "141", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "100", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "50", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "25", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "12", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "6", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "0", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "200", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "186", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "174", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "141", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "100", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "50", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "25", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "12", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "6", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "0", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "0", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "100", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "100", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "100" + "sourceAmount": "2000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "100" + "sourceAmount": "1866067480132519632", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "100" + "sourceAmount": "1741102523397596730", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "100" + "sourceAmount": "1414214696931586572", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "100" + "sourceAmount": "1000000802254003009", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "100" + "sourceAmount": "500000401127001504", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "100" + "sourceAmount": "250000200563500752", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "100" + "sourceAmount": "125000100281750376", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "100" + "sourceAmount": "62500050140875188", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "100" + "sourceAmount": "1953126566902349", + "targetAmount": "100" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "1000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "1000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "1000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "1000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "10000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "10000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "10000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "10000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "2000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1866067480132519632", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1741102523397596730", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1414214696931586572", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1000000802254003009", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "500000401127001504", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "250000200563500752", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "125000100281750376", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "62500050140875188", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1953126566902349", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "100" + "sourceAmount": "20000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "100" + "sourceAmount": "18660674801325196320", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "100" + "sourceAmount": "17411025233975967307", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "100" + "sourceAmount": "14142146969315865725", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "100" + "sourceAmount": "10000008022540030092", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "100" + "sourceAmount": "5000004011270015046", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "100" + "sourceAmount": "2500002005635007523", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "100" + "sourceAmount": "1250001002817503761", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "100" + "sourceAmount": "625000501408751880", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "100" + "sourceAmount": "19531265669023496", + "targetAmount": "100" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "1000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "1000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "1000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "1000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "1000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "1000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "1000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "1000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "10000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "10000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "10000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "10000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "10000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "10000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "10000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "10000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "20000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "18660674801325196320", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "17411025233975967307", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "14142146969315865725", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "10000008022540030092", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "5000004011270015046", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "2500002005635007523", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1250001002817503761", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "625000501408751880", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "19531265669023496", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "100" + "sourceAmount": "2000000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "100" + "sourceAmount": "1866067480132519632088", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "100" + "sourceAmount": "1741102523397596730750", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "100" + "sourceAmount": "1414214696931586572533", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "100" + "sourceAmount": "1000000802254003009210", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "100" + "sourceAmount": "500000401127001504605", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "100" + "sourceAmount": "250000200563500752302", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "100" + "sourceAmount": "125000100281750376151", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "100" + "sourceAmount": "62500050140875188075", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "100" + "sourceAmount": "1953126566902349627", + "targetAmount": "100" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "1000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "1000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "1000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "1000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "10000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "10000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "10000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "10000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "2000000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1866067480132519632088", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1741102523397596730750", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1414214696931586572533", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1000000802254003009210", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "500000401127001504605", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "250000200563500752302", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "125000100281750376151", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "62500050140875188075", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1953126566902349627", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "100" + "sourceAmount": "20000000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "100" + "sourceAmount": "18660674801325196320886", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "100" + "sourceAmount": "17411025233975967307506", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "100" + "sourceAmount": "14142146969315865725336", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "100" + "sourceAmount": "10000008022540030092109", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "100" + "sourceAmount": "5000004011270015046054", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "100" + "sourceAmount": "2500002005635007523027", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "100" + "sourceAmount": "1250001002817503761513", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "100" + "sourceAmount": "625000501408751880756", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "100" + "sourceAmount": "19531265669023496273", + "targetAmount": "100" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "1000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "1000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "1000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "1000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "1000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "1000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "1000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "1000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "10000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "10000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "10000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "10000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "10000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "10000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "10000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "10000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "20000000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "18660674801325196320886", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "17411025233975967307506", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "14142146969315865725336", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "10000008022540030092109", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "5000004011270015046054", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "2500002005635007523027", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1250001002817503761513", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "625000501408751880756", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "19531265669023496273", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "100" + "sourceAmount": "200000000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "100" + "sourceAmount": "186606748013251963208869", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "100" + "sourceAmount": "174110252339759673075068", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "100" + "sourceAmount": "141421469693158657253364", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "100" + "sourceAmount": "100000080225400300921096", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "100" + "sourceAmount": "50000040112700150460548", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "100" + "sourceAmount": "25000020056350075230274", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "100" + "sourceAmount": "12500010028175037615137", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "100" + "sourceAmount": "6250005014087518807568", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "100" + "sourceAmount": "195312656690234962736", + "targetAmount": "100" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "1000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "1000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "1000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "1000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "1000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "1000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "1000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "1000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "1000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "10000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "10000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "10000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "10000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "10000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "10000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "10000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "10000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "10000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "200000000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "200000000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "186606748013251963208869", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "186606748013251963208869", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "174110252339759673075068", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "174110252339759673075068", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "141421469693158657253364", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "141421469693158657253364", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "100000080225400300921096", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "100000080225400300921096", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "50000040112700150460548", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "50000040112700150460548", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "25000020056350075230274", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "25000020056350075230274", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "12500010028175037615137", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "12500010028175037615137", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "6250005014087518807568", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "6250005014087518807568", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "195312656690234962736", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "195312656690234962736", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "100000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "100000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "100" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "100" + "sourceAmount": "933033740066259816044347", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "100" + "sourceAmount": "870551261698798365375344", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "100" + "sourceAmount": "707107348465793286266820", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "100" + "sourceAmount": "500000401127001504605481", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "100" + "sourceAmount": "250000200563500752302740", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "100" + "sourceAmount": "125000100281750376151370", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "100" + "sourceAmount": "62500050140875188075685", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "100" + "sourceAmount": "31250025070437594037842", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "100" + "sourceAmount": "976563283451174813682", + "targetAmount": "100" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "1000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "1000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "1000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "1000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "1000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "1000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "1000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "1000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "1000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "10000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "10000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "10000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "10000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "10000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "10000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "10000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "10000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "10000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "1000000000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1000000000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "933033740066259816044347", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "933033740066259816044347", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "870551261698798365375344", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "870551261698798365375344", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "707107348465793286266820", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "707107348465793286266820", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "31250025070437594037842", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "31250025070437594037842", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "976563283451174813682", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "976563283451174813682", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "500000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "500000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "100" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "100" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "100" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "100" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "100" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "100" + "sourceAmount": "500000401127001504605481", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "100" + "sourceAmount": "250000200563500752302740", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "100" + "sourceAmount": "125000100281750376151370", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "100" + "sourceAmount": "62500050140875188075685", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "100" + "sourceAmount": "1953126566902349627365", + "targetAmount": "100" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "1000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "1000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "1000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "1000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "10000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "10000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "10000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "10000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "2000000000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "2000000000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "1866067480132519632088694", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1866067480132519632088694", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "1741102523397596730750688", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1741102523397596730750688", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "1414214696931586572533640", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1414214696931586572533640", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "1000000802254003009210963", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1000000802254003009210963", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "500000401127001504605481", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "500000401127001504605481", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "250000200563500752302740", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "250000200563500752302740", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "125000100281750376151370", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "125000100281750376151370", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "62500050140875188075685", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "62500050140875188075685", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "1953126566902349627365", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1953126566902349627365", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "1000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "1000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "100" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "100" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "100" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "100" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "100" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "100" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "100" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "100" + "sourceAmount": "625000501408751880756852", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "100" + "sourceAmount": "312500250704375940378426", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "100" + "sourceAmount": "9765632834511748136825", + "targetAmount": "100" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "1000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "1000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "1000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "1000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "1000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "1000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "1000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "1000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "10000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "10000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "10000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "10000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "10000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "10000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "10000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "10000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "10000000000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "10000000000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "9330337400662598160443472", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "9330337400662598160443472", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "8705512616987983653753443", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "8705512616987983653753443", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "7071073484657932862668202", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "7071073484657932862668202", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "312500250704375940378426", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "312500250704375940378426", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "9765632834511748136825", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "9765632834511748136825", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "5000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "5000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "100" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "100" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "100" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "100" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "100" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "100" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "100" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "100" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "100" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "100" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "100" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "100" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "100" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "100" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "100" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "100" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "100" + "sourceAmount": "625000501408751880756852", + "targetAmount": "100" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "100" + "sourceAmount": "19531265669023496273651", + "targetAmount": "100" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "100" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "100" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "1000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "1000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "1000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "1000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "1000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "1000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "1000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "1000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "1000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "1000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "1000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "1000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "1000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "1000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "1000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "1000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "1000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "1000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "1000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "1000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "10000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "10000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "10000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "10000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "10000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "10000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "10000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "10000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "10000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "10000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "10000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "10000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "10000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "10000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "10000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "10000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "10000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "10000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "10000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "10000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "1000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "1000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "1000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "1000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "1000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "1000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "1000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "1000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "1000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "1000000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "1000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "10000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "10000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "10000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "10000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "10000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "10000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "10000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "10000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "10000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "10000000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "10000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "100000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "100000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "100000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "100000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "100000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "100000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "100000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "100000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "100000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "100000000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "100000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "100000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "100000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "500000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "500000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "500000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "500000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "500000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "500000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "500000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "500000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "500000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "500000000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "500000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "500000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "500000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "1000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "1000000000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "1000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "1000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "1000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "5000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "5000000000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "5000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "5000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "5000000000000000000000000" }, { "tokenPriceAtTimestamps": [ { "timestamp": "1", - "ethAmount": "20000000000000000000000000", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "20000000000000000000000000", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "86400", - "ethAmount": "18660674801325196320886945", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "18660674801325196320886945", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "172800", - "ethAmount": "17411025233975967307506887", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "17411025233975967307506887", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "432000", - "ethAmount": "14142146969315865725336404", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "14142146969315865725336404", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "864000", - "ethAmount": "10000008022540030092109633", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "10000008022540030092109633", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "1728000", - "ethAmount": "5000004011270015046054816", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "5000004011270015046054816", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "2592000", - "ethAmount": "2500002005635007523027408", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "2500002005635007523027408", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "3456000", - "ethAmount": "1250001002817503761513704", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "1250001002817503761513704", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "4320000", - "ethAmount": "625000501408751880756852", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "625000501408751880756852", + "targetAmount": "10000000000000000000000000" }, { "timestamp": "8640000", - "ethAmount": "19531265669023496273651", - "tokenAmount": "10000000000000000000000000" + "sourceAmount": "19531265669023496273651", + "targetAmount": "10000000000000000000000000" } ], - "initialPriceEthAmount": "10000000000000000000000000", - "initialPriceTokenAmount": "10000000000000000000000000" + "initialPriceSourceAmount": "10000000000000000000000000", + "initialPriceTargetAmount": "10000000000000000000000000" } ] }