@eliseev_s/tolk-tlb-transpiler
Version:
Transpile Tolk structs to TLB definitions and generate TypeScript wrappers for TON blockchain smart contracts
22 lines • 749 B
JavaScript
;
// ============================================================================
// Type Mappings and Constants
// ============================================================================
Object.defineProperty(exports, "__esModule", { value: true });
exports.TYPE_MAPPINGS = void 0;
exports.TYPE_MAPPINGS = {
// Special types
bool: 'Bool',
coins: 'Grams',
address: 'MsgAddress',
// Cell and slice types
cell: '^Cell',
slice: 'Cell',
builder: 'Cell',
// Dictionary type (dict = Maybe ^Cell)
// TODO: change to map<k,v> with tlb key and value types after Tolk supports it
dict: '(Maybe ^Cell)',
// Special types
RemainingBitsAndRefs: 'Cell',
};
//# sourceMappingURL=constants.js.map