ШН
Size: a a a
ШН
AA
Ã
AA
A
JD
IK
IK
IK
IK
DM
SB
import contract_artifacts from '../build/contract.json'
var YourContract = contract(contract_artifacts)
yournamefunction : function() {
var ctr
YourContract.deployed().then(function (instance) {
ctr = instance;
return ctr.YourContractFunction({from: account})
}).then(function (tx) {
console.log('tx:');
console.log(tx);
msg = 'Transaction complete';
}).catch(function (e) {
console.log(e);
msg = 'Ошибка при отправке, смотри консоль';
})
}
SB
ЮС
N
N
m
A