Skip to content

Instantly share code, notes, and snippets.

@mr-fool
Created March 2, 2019 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mr-fool/2232f85e73bd51b4b0966142afd735af to your computer and use it in GitHub Desktop.
Save mr-fool/2232f85e73bd51b4b0966142afd735af to your computer and use it in GitHub Desktop.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\hetzer\Documents\GitHub\Lottery> node deploy.js
Attempting to deploy from account 0x1833797D31e3aA4fDc6BCED352B0cD8256a514a2
[ { constant: true,
inputs: [],
name: 'manager',
outputs: [ [Object] ],
payable: false,
stateMutability: 'view',
type: 'function',
signature: '0x481c6a75' },
{ constant: false,
inputs: [],
name: 'pickWinner',
outputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'function',
signature: '0x5d495aea' },
{ constant: true,
inputs: [],
name: 'getPlayers',
outputs: [ [Object] ],
payable: false,
stateMutability: 'view',
type: 'function',
signature: '0x8b5b9ccc' },
{ constant: false,
inputs: [],
name: 'enter',
outputs: [],
payable: true,
stateMutability: 'payable',
type: 'function',
signature: '0xe97dcb62' },
{ constant: true,
inputs: [ [Object] ],
name: 'players',
outputs: [ [Object] ],
payable: false,
stateMutability: 'view',
type: 'function',
signature: '0xf71d96cb' },
{ inputs: [],
payable: false,
stateMutability: 'nonpayable',
type: 'constructor',
constant: undefined,
signature: 'constructor' } ]
Contract deployed to 0x8895B2ed3EF4F4f66d048A3F215aC0DeA9Eb6777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment