This repository contains the C# contracts for the BNBParty project.
To install the contracts, you can use the following command:
dotnet add package BNBParty.contracts.csharp
using BNBParty.contracts.csharp.BNBPartyFactory.ContractDefinition;
public class PartyService
{
public EventLog<StartPartyEventDTOBase> GetStartPartyEvent(Web3 web3, string contractAddress, JArray logs)
{
return web3.Eth.GetEvent<StartPartyEventDTOBase>(contractAddress).DecodeAllEventsForEvent(logs)[0];
}
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT