Skip to content

Commit

Permalink
changed the expiry date of the deployed contract
Browse files Browse the repository at this point in the history
  • Loading branch information
aparnakr committed Jan 7, 2020
1 parent 330520b commit dd29fb5
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
Binary file modified images/createOptions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions test/add-remove-liquidate-burn.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ contract('OptionsContract', accounts => {
'9',
-'15',
'USDC',
'1577836800',
'1577836800',
'1589932800',
'1589932800',
{ from: creatorAddress, gas: '4000000' }
);

Expand Down
4 changes: 2 additions & 2 deletions test/exercise-add-remove-liquidate-exersice.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ contract('OptionsContract', accounts => {
const vault2Collateral = '10000000';
const vault2PutsOutstanding = '100000';

const windowSize = 1577836800;
const windowSize = 1589932800;

before('set up contracts', async () => {
// 1. Deploy mock contracts
Expand Down Expand Up @@ -83,7 +83,7 @@ contract('OptionsContract', accounts => {
'9',
-'15',
'USDC',
'1577836800',
'1589932800',
windowSize,
{ from: creatorAddress, gas: '4000000' }
);
Expand Down
6 changes: 3 additions & 3 deletions test/exercise.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ contract('OptionsContract', accounts => {
'9',
-'15',
'USDC',
'1577836800',
'1577836800',
'1589932800',
'1589932800',
{ from: creatorAddress, gas: '4000000' }
);

Expand Down Expand Up @@ -194,7 +194,7 @@ contract('OptionsContract', accounts => {
it('first person should be able to collect their share of collateral', async () => {
const vaultIndex = '0';

await time.increaseTo(1577836802);
await time.increaseTo(1589932800);

const initialETH = await balance.current(creatorAddress);

Expand Down
4 changes: 2 additions & 2 deletions test/liquidate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ contract('OptionsContract', accounts => {
const vault2Collateral = '10000000';
const vault2PutsOutstanding = '100000';

const windowSize = 1577836800;
const windowSize = 1589932800;

before('set up contracts', async () => {
// 1. Deploy mock contracts
Expand Down Expand Up @@ -93,7 +93,7 @@ contract('OptionsContract', accounts => {
'9',
-'15',
'USDC',
'1577836800',
'1589932800',
windowSize,
{ from: creatorAddress, gas: '4000000' }
);
Expand Down
4 changes: 2 additions & 2 deletions test/miltiple-exercise.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ contract('OptionsContract', accounts => {
const vault2Collateral = '10000000';
const vault2PutsOutstanding = '100000';

const windowSize = 1577836800;
const windowSize = 1589932800;

before('set up contracts', async () => {
// 1. Deploy mock contracts
Expand Down Expand Up @@ -80,7 +80,7 @@ contract('OptionsContract', accounts => {
'9',
-'15',
'USDC',
'1577836800',
'1589932800',
windowSize,
{ from: creatorAddress, gas: '4000000' }
);
Expand Down
8 changes: 4 additions & 4 deletions test/optionsContract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ contract('OptionsContract', accounts => {
'90',
-'18',
'ETH',
'1577836800',
'1577836800',
'1589932800',
'1589932800',
{ from: creatorAddress, gas: '4000000' }
);

Expand Down Expand Up @@ -112,8 +112,8 @@ contract('OptionsContract', accounts => {
'90',
-'18',
'USDC',
'1577836800',
'1577836800',
'1589932800',
'1589932800',
{ from: creatorAddress, gas: '4000000' }
);

Expand Down

0 comments on commit dd29fb5

Please sign in to comment.