Last active
August 31, 2025 08:11
-
-
Save GerardoSalinas/a9eafd1aaca986bac8cd438326762009 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "inputs": [ | |
| { "internalType": "address", "name": "artist_address", "type": "address" } | |
| ], | |
| "name": "getArtist", | |
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "getConfig", | |
| "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "uint256", "name": "song_id", "type": "uint256" } | |
| ], | |
| "name": "getPricePerPlay", | |
| "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "uint256", "name": "song_id", "type": "uint256" } | |
| ], | |
| "name": "getSong", | |
| "outputs": [ | |
| { "internalType": "address", "name": "", "type": "address" }, | |
| { "internalType": "uint256", "name": "", "type": "uint256" }, | |
| { "internalType": "uint256", "name": "", "type": "uint256" }, | |
| { "internalType": "uint256", "name": "", "type": "uint256" } | |
| ], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "uint256", "name": "song_id", "type": "uint256" } | |
| ], | |
| "name": "getSongPlays", | |
| "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "getTotalSongs", | |
| "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "getUserAddress", | |
| "outputs": [{ "internalType": "address", "name": "", "type": "address" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "initialize", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "address", "name": "artist_address", "type": "address" } | |
| ], | |
| "name": "isArtist", | |
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "isInitialized", | |
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "uint256", "name": "song_id", "type": "uint256" } | |
| ], | |
| "name": "playSong", | |
| "outputs": [], | |
| "stateMutability": "payable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [], | |
| "name": "registerArtist", | |
| "outputs": [], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "uint256", "name": "song_id", "type": "uint256" } | |
| ], | |
| "name": "songExists", | |
| "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | |
| "stateMutability": "view", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "address", "name": "artist_address", "type": "address" } | |
| ], | |
| "name": "transferFunds", | |
| "outputs": [], | |
| "stateMutability": "payable", | |
| "type": "function" | |
| }, | |
| { | |
| "inputs": [ | |
| { "internalType": "uint256", "name": "price_per_play", "type": "uint256" } | |
| ], | |
| "name": "uploadSong", | |
| "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | |
| "stateMutability": "nonpayable", | |
| "type": "function" | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RPC_URL=https://sepolia-rollup.arbitrum.io/rpc | |
| STYLUS_CONTRACT_ADDRESS=0x9C9a5e82A973c6976123fd5b29376f9A27DA0633 | |
| NETWORK_ID=421614 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment