@neo-one/smart-contract-compiler
Version:
NEO•ONE TypeScript smart contract compiler.
22 lines (20 loc) • 857 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.add = void 0;
const BuiltinInterface_1 = require("../../BuiltinInterface");
const BuiltinValueObject_1 = require("../../BuiltinValueObject");
const senderAddress_1 = require("./senderAddress");
class DeployValue extends BuiltinValueObject_1.BuiltinValueObject {
constructor() {
super(...arguments);
this.type = 'DeployConstructor';
}
}
class DeployConstructorInterface extends BuiltinInterface_1.BuiltinInterface {
}
exports.add = (builtins) => {
builtins.addContractValue('Deploy', new DeployValue());
builtins.addContractInterface('DeployConstructor', new DeployConstructorInterface());
builtins.addContractMember('DeployConstructor', 'senderAddress', new senderAddress_1.DeploySenderAddress());
};
//# sourceMappingURL=index.js.map