Blockchain explorer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
434 B

'use strict';
module.exports = (sequelize, DataTypes) => {
const Vout = sequelize.define('Vout', {
n: DataTypes.MEDIUMINT.UNSIGNED,
value: DataTypes.DECIMAL(16, 8),
}, {
timestamps: false,
});
Vout.associate = function (models) {
models.Vout.belongsToMany(models.Address, { through: 'AddressVout' });
models.Vout.belongsToMany(models.Transaction, { through: 'TransactionVouts' });
};
return Vout;
};