Skip to content

Instantly share code, notes, and snippets.

View enricomors's full-sized avatar

Enrico Morselli enricomors

  • Bologna, ITALY
View GitHub Profile
async function sendPayment(franchisors: [string], newFranchisor: string, artist: string, bootlegger: string, price: number) {
franchisors.push(bootlegger)
franchisors.push(artist)
const dividedPrice = price/franchisors.length
for (let i = 0; i < franchisors.length; i++) {
const franchisor = franchisors[i]